aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2012-11-05 21:51:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2012-11-05 21:51:04 +0000
commitece0321d16068ed2ea6c5221b3cfbeeb4d26ab65 (patch)
tree007452e8794da8b0c6077c18702f034350291af3 /mail
parentd65b8903d94e0bf9f223470563b5083368ab4ad4 (diff)
downloadports-ece0321d16068ed2ea6c5221b3cfbeeb4d26ab65.tar.gz
ports-ece0321d16068ed2ea6c5221b3cfbeeb4d26ab65.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail/bsd.squirrelmail.mk30
1 files changed, 12 insertions, 18 deletions
diff --git a/mail/squirrelmail/bsd.squirrelmail.mk b/mail/squirrelmail/bsd.squirrelmail.mk
index bb52fa8e8aad..4a3051dcc26c 100644
--- a/mail/squirrelmail/bsd.squirrelmail.mk
+++ b/mail/squirrelmail/bsd.squirrelmail.mk
@@ -26,30 +26,24 @@ RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail
.endif
NO_BUILD= yes
-NO_WRKSUBDIR= yes
+NO_WRKSUBDIR= yes
USE_PHP?= yes
-WANT_PHP_WEB= yes
+WANT_PHP_WEB= yes
-SQUIRREL_PLUGIN_NAME?= ${PORTNAME}
+IGNORE_WITH_PHP=5 # known incompatibilities with php-5.4, use 5.3 for now
+DEFAULT_PHP_VER=53
-.ifdef SQUIRRELDIR
-PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
-SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR}
-.else
-.ifndef WITHOUT_WWWDIR
-SQUIRRELDIR= ${PREFIX}/www/squirrelmail
-PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
-SUB_LIST+= SQUIRRELDIR=www/squirrelmail
-.else
-SQUIRRELDIR= ${PREFIX}/squirrelmail
-PLIST_SUB+= SQUIRRELDIR=squirrelmail
-SUB_LIST+= SQUIRRELDIR=squirrelmail
-.endif
-.endif
+SQUIRREL_PLUGIN_NAME?= ${PORTNAME}
PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
+SUB_LIST+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
+
+# As with mail/squirreldir, if you were using WITHOUT_WWWDIR=yes,
+# set SQUIRRELDIR=${PREFIX}/squirrelmail
+SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
+PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
+SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR}
.if exists(${FILESDIR}/pkg-message.in)
-SUB_LIST+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
SUB_FILES= pkg-message
.endif