diff options
author | John Marino <marino@FreeBSD.org> | 2014-08-23 01:37:27 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-08-23 01:37:27 +0000 |
commit | c290f284ed8b39c0ddbaf026700d089e09b397f3 (patch) | |
tree | fe2bc3ffae183e97e7e8acad2d0929f6d194c384 | |
parent | 39adf271dec3ae3200c80299a3e25e0d1e8887fc (diff) | |
download | ports-c290f284ed8b39c0ddbaf026700d089e09b397f3.tar.gz ports-c290f284ed8b39c0ddbaf026700d089e09b397f3.zip |
Notes
-rw-r--r-- | www/siteframe/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/siteframe/Makefile b/www/siteframe/Makefile index f575b0c6d568..b03ad9bb3229 100644 --- a/www/siteframe/Makefile +++ b/www/siteframe/Makefile @@ -19,7 +19,7 @@ USE_MYSQL= yes # where to install NO_BUILD= yes -NO_WRKSUBDIR= yes +WRKSRC= ${WRKDIR}/__site .ifndef SITEFRAMEDIR .ifdef APACHE_DATADIR SITEFRAMEDIR= ${APACHE_DATADIR}/siteframe @@ -32,12 +32,12 @@ SUB_FILES= pkg-message SUB_LIST= DIR=${SITEFRAMEDIR} PLIST_SUB= WWWOWN="${WWWOWN}" -do-extract: - @${MKDIR} ${WRKDIR}/${PORTNAME} - @ cd ${WRKDIR}/${PORTNAME}; ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS} +post-extract: + @${MKDIR} ${WRKSRC} + @(cd ${WRKDIR} && ${MV} [CLRa-z]* _htaccess ${WRKSRC}) do-install: - ${MKDIR} ${STAGEDIR}${SITEFRAMEDIR}/ - ${CP} -R ${WRKDIR}/${PORTNAME}/* ${STAGEDIR}${SITEFRAMEDIR}/ + ${MKDIR} ${STAGEDIR}${SITEFRAMEDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${SITEFRAMEDIR}) .include <bsd.port.mk> |