aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-01-14 14:01:56 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-01-14 14:01:56 +0000
commit094da82d8ffedea4461157e25b9fce31b8c64dc3 (patch)
tree795c38bf09480c416b5611221c957db5f588236a /mail/squirrelmail
parent1ebb4fb941518958fbf483a16869023b6ad1114b (diff)
downloadports-094da82d8ffedea4461157e25b9fce31b8c64dc3.tar.gz
ports-094da82d8ffedea4461157e25b9fce31b8c64dc3.zip
Notes
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>