aboutsummaryrefslogtreecommitdiff
path: root/mail/nocc
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
parent5872d186270b240a46d4f5e476a2d581d22cf30a (diff)
downloadports-12c0bee722e12362f23a765faf9dafdbb77d2dea.tar.gz
ports-12c0bee722e12362f23a765faf9dafdbb77d2dea.zip
Notes
Diffstat (limited to 'mail/nocc')
-rw-r--r--mail/nocc/Makefile9
-rw-r--r--mail/nocc/distinfo1
-rw-r--r--mail/nocc/pkg-plist16
3 files changed, 15 insertions, 11 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>
diff --git a/mail/nocc/distinfo b/mail/nocc/distinfo
index 32ec7ca0a075..9f5901fc8186 100644
--- a/mail/nocc/distinfo
+++ b/mail/nocc/distinfo
@@ -1 +1,2 @@
MD5 (nocc-0.9.5.tar.gz) = b48e45282fb8d3a63322499ea867e33a
+SIZE (nocc-0.9.5.tar.gz) = 110880
diff --git a/mail/nocc/pkg-plist b/mail/nocc/pkg-plist
index 9c9e338769a6..92d5f0811183 100644
--- a/mail/nocc/pkg-plist
+++ b/mail/nocc/pkg-plist
@@ -106,13 +106,13 @@ www/nocc/themes/standard/img/new.gif
www/nocc/themes/standard/img/right_arrow.gif
www/nocc/themes/standard/img/spacer.gif
www/nocc/themes/standard/img/up.gif
-%%PORTDOCS%%share/doc/nocc/CREDITS
-%%PORTDOCS%%share/doc/nocc/FAQ
-%%PORTDOCS%%share/doc/nocc/INSTALL
-%%PORTDOCS%%share/doc/nocc/KNOWN_BUGS
-%%PORTDOCS%%share/doc/nocc/NEWS
-%%PORTDOCS%%share/doc/nocc/README
-%%PORTDOCS%%share/doc/nocc/TODO
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/KNOWN_BUGS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
@dirrm www/nocc/themes/standard/img
@dirrm www/nocc/themes/standard
@dirrm www/nocc/themes/newlook/img
@@ -123,4 +123,4 @@ www/nocc/themes/standard/img/up.gif
@dirrm www/nocc/lang
@dirrm www/nocc/html
@dirrm www/nocc
-%%PORTDOCS%%@dirrm share/doc/nocc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%