diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-25 02:41:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-25 02:41:37 +0000 |
commit | 40d95282f5763dcebfa17eebd55e93bc1dc166c8 (patch) | |
tree | a0ee2e47a1240f875c1593e5d73a002ce9ae918f | |
parent | c48ccf08eeb2d046f54ecbab36291cbc0dc6df79 (diff) | |
download | ports-40d95282f5763dcebfa17eebd55e93bc1dc166c8.tar.gz ports-40d95282f5763dcebfa17eebd55e93bc1dc166c8.zip |
Stageify, and switch to SUB_FILES to show pkg-message.
Notes
Notes:
svn path=/head/; revision=355103
-rw-r--r-- | devel/phpbt/Makefile | 14 | ||||
-rw-r--r-- | devel/phpbt/files/pkg-message.in (renamed from devel/phpbt/pkg-message) | 0 |
2 files changed, 5 insertions, 9 deletions
diff --git a/devel/phpbt/Makefile b/devel/phpbt/Makefile index bc52ebccab20..7a4f836af5a5 100644 --- a/devel/phpbt/Makefile +++ b/devel/phpbt/Makefile @@ -18,16 +18,12 @@ USE_PHP= ctype pcre posix session tokenizer xml zlib NO_BUILD= YES PHPBT= www/data-dist/phpbt PLIST_SUB= PHPBT=${PHPBT} +SUB_FILES= pkg-message +SUB_LIST+= PHPBT=${PHPBT} -NO_STAGE= yes do-install: - -${MKDIR} ${PREFIX}/${PHPBT} - @(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${PHPBT}) - @${CHOWN} -R www:www ${PREFIX}/${PHPBT} - -post-install: - @${CAT} ${PKGMESSAGE} | \ - ${SED} -e 's|%%PREFIX%%|${PREFIX}|' | \ - ${SED} -e 's|%%PHPBT%%|${PHPBT}|' + -${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT} + @(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT}) + @${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/${PHPBT} .include <bsd.port.mk> diff --git a/devel/phpbt/pkg-message b/devel/phpbt/files/pkg-message.in index 7819ff2636eb..7819ff2636eb 100644 --- a/devel/phpbt/pkg-message +++ b/devel/phpbt/files/pkg-message.in |