aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nocc
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-24 09:46:01 +0800
committerpat <pat@FreeBSD.org>2002-05-24 09:46:01 +0800
commit0a037b0f3e7d29a78d5d60363be51f3fb231e915 (patch)
tree7ad1cbc54fada3fee08177a0eff97d777dca81fc /mail/nocc
parentf8cb60d3a6e48590348a04e573c3689db7d4d867 (diff)
downloadfreebsd-ports-gnome-0a037b0f3e7d29a78d5d60363be51f3fb231e915.tar.gz
freebsd-ports-gnome-0a037b0f3e7d29a78d5d60363be51f3fb231e915.tar.zst
freebsd-ports-gnome-0a037b0f3e7d29a78d5d60363be51f3fb231e915.zip
Fix display of pkg-message when installing as package
Submitted by: maintainer
Diffstat (limited to 'mail/nocc')
-rw-r--r--mail/nocc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile
index 0a7426ce1e16..afe6e374334e 100644
--- a/mail/nocc/Makefile
+++ b/mail/nocc/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= sysadmin@alexdupre.com
RUN_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4
+PKGMESSAGE= ${WRKDIR}/pkg-message
NO_BUILD= yes
pre-everything:
@@ -26,6 +27,10 @@ pre-everything:
@${ECHO} "press CTRL+C now and rebuild it before installing Nocc."
@${ECHO} ""
+pre-patch:
+ @${SED} 's|%%PREFIX%%|${PREFIX}|g' \
+ ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+
do-install:
${MKDIR} ${PREFIX}/www/nocc
${CP} -Rp ${WRKSRC}/html ${WRKSRC}/lang ${WRKSRC}/themes \
@@ -43,6 +48,6 @@ do-install:
.endif
post-install:
- @${SED} 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>