freebsd-ports/ftp/phpwebftp/Makefile
Cheng-Lung Sung e7453ba897 - Update to 3.3
- Fixed problem described on secunia advisory SA19706, please see http://secunia.com/advisories/19706/
- Few modifications
- Note: phpwebftp-3.3b is the same than phpwebftp-3.3 available at sf.net

PR:		96702
Submitted by:	maintainer (Jose Alonso Cardenas Marquez)
2006-05-03 08:16:26 +00:00

36 lines
975 B
Makefile

# New ports collection makefile for: phpwebftp
# Date created: 2005-09-15
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= phpwebftp
PORTVERSION= 3.3
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpwebftp
DISTNAME= ${PORTNAME}33
MAINTAINER= acardenas@bsd.org.pe
COMMENT= A set of PHP-scripts to manage FTP over the web
USE_ZIP= yes
NO_BUILD= yes
USE_PHP= ftp
PHPWEBFTPDIR?= www/data-dist/${PORTNAME}
PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}
do-configure:
@${FIND} -d ${WRKSRC} -name CVS -type d -print0 | ${XARGS} -0 ${RM} -R
do-install:
${MKDIR} ${PREFIX}/${PHPWEBFTPDIR}
@cd ${WRKSRC} && \
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \
${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \
-exec ${INSTALL_DATA} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \;
@${CHGRP} -R ${WWWGRP} ${PREFIX}/${PHPWEBFTPDIR}
.include <bsd.port.mk>