aboutsummaryrefslogtreecommitdiff
path: root/mail/nocc/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-01-29 09:43:09 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-01-29 09:43:09 +0000
commit12c0bee722e12362f23a765faf9dafdbb77d2dea (patch)
tree7e6177757ee5286f074978204c3d6ed9032a0025 /mail/nocc/Makefile
parent5872d186270b240a46d4f5e476a2d581d22cf30a (diff)
downloadports-12c0bee722e12362f23a765faf9dafdbb77d2dea.tar.gz
ports-12c0bee722e12362f23a765faf9dafdbb77d2dea.zip
Notes
Diffstat (limited to 'mail/nocc/Makefile')
-rw-r--r--mail/nocc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile
index fe66db63c585..7bc939bffc99 100644
--- a/mail/nocc/Makefile
+++ b/mail/nocc/Makefile
@@ -14,11 +14,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= A web-based e-mail system which access POP3 and IMAP mail servers
-RUN_DEPENDS= ${LOCALBASE}/bin/php-config:${PORTSDIR}/www/mod_php4
+WANT_PHP_WEB= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
NO_BUILD= yes
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
+
pre-everything::
@${ECHO} ""
@${ECHO} "You have to configure PHP with IMAP support in order"
@@ -30,7 +33,7 @@ pre-everything::
pre-patch:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' \
- ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ ${PKGDIR}/pkg-message > ${PKGMESSAGE}
do-install:
${MKDIR} ${PREFIX}/www/nocc
@@ -51,4 +54,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>