diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-24 01:46:01 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-24 01:46:01 +0000 |
commit | 4fa49367de37f023624d1813a963cb9e1d5c06f1 (patch) | |
tree | 4d48995679b6e50706aec025b709a63e8d34fb7c /mail/nocc | |
parent | 5d481d76fce0eed52065a08124dcf83abd486a71 (diff) | |
download | ports-4fa49367de37f023624d1813a963cb9e1d5c06f1.tar.gz ports-4fa49367de37f023624d1813a963cb9e1d5c06f1.zip |
Notes
Diffstat (limited to 'mail/nocc')
-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 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> |