1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/ftp/phpwebftp/Makefile
Jose Alonso Cardenas Marquez b6b4a544cd Change maintainer address to my @FreeBSD.org email
Approved by:	garga (mentor)
2006-07-23 02:45:24 +00:00

38 lines
1.1 KiB
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
PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= acm@FreeBSD.org
COMMENT= A set of PHP-scripts to manage FTP over the web
USE_ZIP= yes
NO_BUILD= yes
USE_PHP= ftp
PHPWEBFTPDIR?= www/${PORTNAME}
PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_DIRE= ${INSTALL} -d -m 0755 -o ${WWWOWN} -g ${WWWGRP}
INSTALL_FILE= ${INSTALL} -m 0644 -o ${WWWOWN} -g ${WWWGRP}
post-extract:
@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R "{}" \;
do-install:
${INSTALL_DIRE} ${PREFIX}/${PHPWEBFTPDIR}
@cd ${WRKSRC} && \
${FIND} * -type d -exec ${INSTALL_DIRE} "${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \
${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \
-exec ${INSTALL_FILE} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \;
.include <bsd.port.mk>