aboutsummaryrefslogtreecommitdiff
path: root/mail/postfixadmin
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-20 10:29:55 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-20 10:29:55 +0000
commitc5ae1870520f8d93d9f5c8c6f26769e5c0cd912e (patch)
tree6c13ede23222b495891ff9e6f339ea3aef83f3f7 /mail/postfixadmin
parent40a3dd251c3798b5f904d51d8f0d0cec80e9fcea (diff)
downloadports-c5ae1870520f8d93d9f5c8c6f26769e5c0cd912e.tar.gz
ports-c5ae1870520f8d93d9f5c8c6f26769e5c0cd912e.zip
- One can have postfix admin running on a host and postfix itself on an other,
so RUN_DEPEND on postfix optionally (default to off to return to pre-OPTIONS state) - bump PORTREVISION again for depends change :( Requested by: Darren Pilgrim <darren.pilgrim@bitfreak.org>
Notes
Notes: svn path=/head/; revision=165845
Diffstat (limited to 'mail/postfixadmin')
-rw-r--r--mail/postfixadmin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index b8a2e46c0d6e..d0c3eb0baf12 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= postfixadmin
PORTVERSION= 2.1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail www
MASTER_SITES= http://high5.net/postfixadmin/ \
http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/
@@ -22,13 +22,13 @@ SUB_FILES+= pkg-message
OPTIONS= MYSQL "Use MySQL to store config data" on
OPTIONS+= PGSQL "Use PostgresQL to store config data" off
+OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix" off
.include <bsd.port.pre.mk>
USE_APACHE= 1.3+
WANT_PHP_PEAR= yes
USE_PHP= pcre session
-RUN_DEPENDS+= postfix>=2[0-9]*:${PORTSDIR}/mail/postfix
.ifndef(WITHOUT_MYSQL)
USE_PHP+= mysql
@@ -42,6 +42,10 @@ USE_PHP+= pgsql
IGNORE= needs at least one database backend
.endif
+.ifdef(WITH_POSTFIX_LOCAL)
+RUN_DEPENDS+= postfix>=2[0-9]*:${PORTSDIR}/mail/postfix
+.endif
+
.include "${PORTSDIR}/Mk/bsd.php.mk"
post-patch: