From c5ae1870520f8d93d9f5c8c6f26769e5c0cd912e Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 20 Jun 2006 10:29:55 +0000 Subject: - 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 --- mail/postfixadmin/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mail/postfixadmin') 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 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: -- cgit v1.2.3