diff options
author | miwi <miwi@FreeBSD.org> | 2014-03-09 22:36:48 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-03-09 22:36:48 +0800 |
commit | 9bf90466af240454b6b02d1a7568cb0592a48963 (patch) | |
tree | 87ba77ffa7ef4316eef4fc8c6436dfb43a8fdd22 | |
parent | f11763a6640b3ecbaf8c5464d0e3e53096f2e684 (diff) | |
download | freebsd-ports-gnome-9bf90466af240454b6b02d1a7568cb0592a48963.tar.gz freebsd-ports-gnome-9bf90466af240454b6b02d1a7568cb0592a48963.tar.zst freebsd-ports-gnome-9bf90466af240454b6b02d1a7568cb0592a48963.zip |
- Stage support
-rw-r--r-- | devel/websvn/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/websvn/Makefile b/devel/websvn/Makefile index 3bf6a953c99f..2073b936741c 100644 --- a/devel/websvn/Makefile +++ b/devel/websvn/Makefile @@ -18,19 +18,17 @@ SUB_FILES= pkg-message SUB_LIST+= WEBSVNDIR="${WEBSVNDIR}" PLIST_SUB+= WEBSVNDIR="${WEBSVNDIR}" -NO_STAGE= yes do-install: - ${MKDIR} ${PREFIX}/${WEBSVNDIR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${WEBSVNDIR} (cd ${WRKSRC} \ - && ${COPYTREE_SHARE} \* ${PREFIX}/${WEBSVNDIR}) - ${CHOWN} -R www:www ${PREFIX}/${WEBSVNDIR} - ${FIND} ${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 '{}' + + && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${WEBSVNDIR}) + ${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/${WEBSVNDIR} + ${FIND} ${STAGEDIR}${PREFIX}/${WEBSVNDIR} -type f -exec ${CHMOD} 644 '{}' + post-install: - @${CAT} ${PKGMESSAGE} - @[ -f ${PREFIX}/${WEBSVNDIR}/include/config.php ] \ + @[ -f ${STAGEDIR}${PREFIX}/${WEBSVNDIR}/include/config.php ] \ || ${INSTALL_DATA} \ - ${PREFIX}/${WEBSVNDIR}/include/distconfig.php \ - ${PREFIX}/${WEBSVNDIR}/include/config.php + ${STAGEDIR}${PREFIX}/${WEBSVNDIR}/include/distconfig.php \ + ${STAGEDIR}${PREFIX}/${WEBSVNDIR}/include/config.php .include <bsd.port.mk> |