aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-01-14 22:01:56 +0800
committerale <ale@FreeBSD.org>2004-01-14 22:01:56 +0800
commit1b84164c56eebaa279ecd65066c582b078936976 (patch)
treee6d46600a1ccb92c57cd2db8cb5d29297b501732 /mail/squirrelmail
parent74887e2b9894a23d218e4278b3b76e03ad67e134 (diff)
downloadfreebsd-ports-gnome-1b84164c56eebaa279ecd65066c582b078936976.tar.gz
freebsd-ports-gnome-1b84164c56eebaa279ecd65066c582b078936976.tar.zst
freebsd-ports-gnome-1b84164c56eebaa279ecd65066c582b078936976.zip
Use bsd.php.mk.
PR: ports/61359 Submitted by: Xin LI Reviewed by: Simon Dick (maintainer) Approved by: nork (mentor/implicitly)
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index c7136f84e9c6..14b4e895b76c 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -17,11 +17,7 @@ COMMENT?= A webmail system which accesses mail over IMAP
CONFLICTS?= ja-squirrelmail-1.*
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
-.else
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
-.endif
+WANT_PHP_WEB= yes
USE_BZIP2= yes
@@ -42,6 +38,9 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} \
MASTERDIR= ${.CURDIR}
.endif
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/php4/bsd.php.mk"
+
pre-everything::
@${ECHO_CMD} "SquirrelMail is installed into ${SQUIRRELDIR}"
@${ECHO_CMD} "To use the old location ${PREFIX}/squirrelmail define"
@@ -106,4 +105,4 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>