diff options
author | pat <pat@FreeBSD.org> | 2002-05-24 09:46:01 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-05-24 09:46:01 +0800 |
commit | 0a037b0f3e7d29a78d5d60363be51f3fb231e915 (patch) | |
tree | 7ad1cbc54fada3fee08177a0eff97d777dca81fc /mail | |
parent | f8cb60d3a6e48590348a04e573c3689db7d4d867 (diff) | |
download | freebsd-ports-graphics-0a037b0f3e7d29a78d5d60363be51f3fb231e915.tar.gz freebsd-ports-graphics-0a037b0f3e7d29a78d5d60363be51f3fb231e915.tar.zst freebsd-ports-graphics-0a037b0f3e7d29a78d5d60363be51f3fb231e915.zip |
Fix display of pkg-message when installing as package
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/nocc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile index 0a7426ce1e1..afe6e374334 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> |