forked from pfsense/FreeBSD-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (26 loc) · 899 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Jose Alonso Cardenas Marquez <[email protected]>
PORTNAME= phpwebftp
PORTVERSION= 3.3b
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/phpWebFTP/phpWebFTP%203.3
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= [email protected]
COMMENT= Set of PHP-scripts to manage FTP over the web
LICENSE= GPLv2
USES= cpe php zip
NO_BUILD= yes
NO_ARCH= yes
USE_PHP= ftp
WRKSRC= ${WRKDIR}/${PORTNAME}
PHPWEBFTPDIR?= ${WWWDIR_REL}
PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
post-patch:
@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R {} \;
@${RM} ${WRKSRC}/img/Thumbs.db
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.sample
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR})
.include <bsd.port.mk>