diff options
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> |