diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-06-20 18:29:55 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-06-20 18:29:55 +0800 |
commit | 4ab6ce73b80c9e321aa022fc67566f7289d3542c (patch) | |
tree | d49202e63c5929f0a1b2fdf96caef0909c1ef1aa /mail/postfixadmin | |
parent | 1d7b0aad873e5071ad3a27a4fd882e1cf5dbcb00 (diff) | |
download | freebsd-ports-gnome-4ab6ce73b80c9e321aa022fc67566f7289d3542c.tar.gz freebsd-ports-gnome-4ab6ce73b80c9e321aa022fc67566f7289d3542c.tar.zst freebsd-ports-gnome-4ab6ce73b80c9e321aa022fc67566f7289d3542c.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>
Diffstat (limited to 'mail/postfixadmin')
-rw-r--r-- | mail/postfixadmin/Makefile | 8 |
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: |