aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-01-29 17:43:09 +0800
committerale <ale@FreeBSD.org>2004-01-29 17:43:09 +0800
commitbeb1a47bd04eabb7a44a3bb9b39be91b4ce37510 (patch)
tree4a47c26740ae1504708defffa531c4b8e40ea8f2 /mail
parentad2aea7636123323a9921c441483f2c53e836654 (diff)
downloadfreebsd-ports-graphics-beb1a47bd04eabb7a44a3bb9b39be91b4ce37510.tar.gz
freebsd-ports-graphics-beb1a47bd04eabb7a44a3bb9b39be91b4ce37510.tar.zst
freebsd-ports-graphics-beb1a47bd04eabb7a44a3bb9b39be91b4ce37510.zip
- Use bsd.php.mk
- Make portlint happy Approved by: nork (mentor/implicitly)
Diffstat (limited to 'mail')
-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 fe66db63c58..7bc939bffc9 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 32ec7ca0a07..9f5901fc818 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 9c9e338769a..92d5f081118 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%%