diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-01-12 16:23:47 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-01-12 16:23:47 +0000 |
commit | dde49994076b8e3442893b2f7c22dee391246cb1 (patch) | |
tree | cbc38aa095095a2db3c534c8ae5d44715d7beaad /mail/postfix-current/Makefile | |
parent | 7f1fdfcab473c5763c5d88931488ed631718f24a (diff) |
Notes
Diffstat (limited to 'mail/postfix-current/Makefile')
-rw-r--r-- | mail/postfix-current/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 4ab8c29b7530..e419611d6474 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -6,7 +6,7 @@ # PORTNAME= postfix -DISTVERSION= 2.3-20051229 +DISTVERSION= 2.3-20060103 PORTEPOCH= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \ @@ -27,6 +27,7 @@ NO_LATEST_LINK= yes USE_SUBMAKE= yes USE_REINPLACE= yes USE_PERL5_BUILD=yes +USE_RC_SUBR= postfix.sh OPTIONS= PCRE "Perl Compatible Regular Expressions" on \ SASL "Cyrus SASLv1 (Simple Auth. and Sec. Layer)" off \ @@ -83,6 +84,9 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ .include <bsd.port.pre.mk> +# Default requirement for postfix rcNG +_REQUIRE= DAEMON + .if defined(WITH_PCRE) LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include @@ -203,12 +207,14 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib/db43/ -ldb USE_MYSQL=YES POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib/mysql -lmysqlclient -lz -lcrypt -lm +_REQUIRE+= mysql .endif .if defined(WITH_PGSQL) USE_PGSQL=YES POSTFIX_CCARGS+= -DHAS_PGSQL -I${LOCALBASE}/include -I${LOCALBASE}/pgsql/include POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/pgsql/lib -lpq -lcrypt +_REQUIRE+= postgresql .endif .if defined(WITH_OPENLDAP) @@ -218,6 +224,7 @@ WANT_OPENLDAP_VER=${WITH_OPENLDAP_VER} .endif POSTFIX_CCARGS+= -DHAS_LDAP -I${LOCALBASE}/include POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber +_REQUIRE+= slapd .endif .if defined(WITH_CDB) @@ -228,6 +235,7 @@ POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lcdb .if defined(WITH_NIS) POSTFIX_CCARGS+= -DHAS_NIS +_REQUIRE+= ypserv .endif .if defined(WITH_TEST) @@ -245,6 +253,8 @@ READMEDIR=no READMEDIR=${PREFIX}/share/doc/postfix .endif +SUB_LIST+= REQUIRE="${_REQUIRE}" + pre-patch: . if defined(POSTFIX_OPTIONS) @${ECHO_MSG} |