From 90ceda6dbf9adb6cc2d6ad3e19c8604a3eb0d09f Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Thu, 3 Jul 2014 18:09:23 +0000 Subject: Stage. --- ftp/phpwebftp/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ftp/phpwebftp') diff --git a/ftp/phpwebftp/Makefile b/ftp/phpwebftp/Makefile index a53e5413dff4..9f78c16afbc9 100644 --- a/ftp/phpwebftp/Makefile +++ b/ftp/phpwebftp/Makefile @@ -20,14 +20,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME} INSTALL_DIRE= ${INSTALL} -d -m 0755 -o ${WWWOWN} -g ${WWWGRP} INSTALL_FILE= ${INSTALL} -m 0644 -o ${WWWOWN} -g ${WWWGRP} -NO_STAGE= yes 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}/{}" \; && \ + (cd ${WRKSRC} && \ + ${FIND} * -type d -exec ${INSTALL_DIRE} "${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \ ${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \ - -exec ${INSTALL_FILE} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \; + -exec ${INSTALL_FILE} "{}" "${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}/{}" \;) .include -- cgit v1.2.3