aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-03-01 00:19:35 +0800
committermiwi <miwi@FreeBSD.org>2014-03-01 00:19:35 +0800
commitc652162fe703b66115db2af8083a636a845d5814 (patch)
tree6f399d1aea2f16ed1834ba1e64eb00c0618b431f /www
parent18ce7403dcf9355ef7d468c773d9a08e678b0a1f (diff)
downloadfreebsd-ports-gnome-c652162fe703b66115db2af8083a636a845d5814.tar.gz
freebsd-ports-gnome-c652162fe703b66115db2af8083a636a845d5814.tar.zst
freebsd-ports-gnome-c652162fe703b66115db2af8083a636a845d5814.zip
- Stage support
Diffstat (limited to 'www')
-rw-r--r--www/mysar/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/mysar/Makefile b/www/mysar/Makefile
index e7081a9757e7..547b577a46dc 100644
--- a/www/mysar/Makefile
+++ b/www/mysar/Makefile
@@ -30,7 +30,6 @@ SUB_FILES= pkg-message
SUB_LIST= MYSARDIR=${MYSARDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
-NO_STAGE= yes
post-extract:
${CHMOD} +x ${WRKSRC}/config/*
@@ -55,13 +54,11 @@ post-patch:
do-install:
${MV} ${WRKSRC} ${WRKROOT}
- ${MKDIR} ${MYSARDIR}
- ${CP} -R `find ${WRKROOT} -mindepth 1 -maxdepth 1 ! -name mysar-binary-importer` ${MYSARDIR}
- ${INSTALL_PROGRAM} ${WRKROOT}/mysar-binary-importer/src/mysar ${MYSARDIR}/bin
- ${INSTALL_DATA} ${WRKROOT}/mysar-binary-importer/mysar.conf ${MYSARDIR}/etc
- ${CHOWN} -R ${WWWOWN} ${MYSARDIR}/www-templates
- ${CHOWN} -R ${WWWOWN} ${MYSARDIR}/smarty-tmp
-
- ${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${MYSARDIR}
+ ${CP} -R `find ${WRKROOT} -mindepth 1 -maxdepth 1 ! -name mysar-binary-importer` ${STAGEDIR}${MYSARDIR}
+ ${INSTALL_PROGRAM} ${WRKROOT}/mysar-binary-importer/src/mysar ${STAGEDIR}${MYSARDIR}/bin
+ ${INSTALL_DATA} ${WRKROOT}/mysar-binary-importer/mysar.conf ${STAGEDIR}${MYSARDIR}/etc
+ ${CHOWN} -R ${WWWOWN} ${STAGEDIR}${MYSARDIR}/www-templates
+ ${CHOWN} -R ${WWWOWN} ${STAGEDIR}${MYSARDIR}/smarty-tmp
.include <bsd.port.mk>