aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-25 02:41:37 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-25 02:41:37 +0000
commit40d95282f5763dcebfa17eebd55e93bc1dc166c8 (patch)
treea0ee2e47a1240f875c1593e5d73a002ce9ae918f
parentc48ccf08eeb2d046f54ecbab36291cbc0dc6df79 (diff)
downloadports-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/Makefile14
-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