diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-16 09:52:52 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-16 09:52:52 +0000 |
commit | 86a78bab1eb961957c85baae541467c01e5c1b61 (patch) | |
tree | 8070a0aaa22ed25efb601f150c33222f4fe46c8e /mail/dcc-dccd | |
parent | d3329826738167a58345a2cd9b15698c510674fa (diff) | |
download | ports-86a78bab1eb961957c85baae541467c01e5c1b61.tar.gz ports-86a78bab1eb961957c85baae541467c01e5c1b61.zip |
Notes
Diffstat (limited to 'mail/dcc-dccd')
-rw-r--r-- | mail/dcc-dccd/Makefile | 8 | ||||
-rw-r--r-- | mail/dcc-dccd/pkg-plist | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/dcc-dccd/Makefile b/mail/dcc-dccd/Makefile index 71133cf0fcaa..b7290958cbcd 100644 --- a/mail/dcc-dccd/Makefile +++ b/mail/dcc-dccd/Makefile @@ -7,6 +7,7 @@ PORTNAME= dcc-dccd PORTVERSION= 1.2.28 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/ \ http://www.wa.apana.org.au/~dean/sources/ \ @@ -24,6 +25,13 @@ MAN8= cdcc.8 dcc.8 dccd.8 \ dccm.8 dccproc.8 dccsight.8 \ dccifd.8 dbclean.8 dblist.8 +.if exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a) +PLIST_SUB+= WITH_SENDMAIL="" +.else +CONFIGURE_ARGS+= --disable-dccm --disable-dccifd +PLIST_SUB+= WITH_SENDMAIL="@comment" +.endif + post-patch: ${FIND} ${WRKSRC} -type f -exec \ ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \; diff --git a/mail/dcc-dccd/pkg-plist b/mail/dcc-dccd/pkg-plist index 81fc7d1250c9..ca0ebfe4f1c7 100644 --- a/mail/dcc-dccd/pkg-plist +++ b/mail/dcc-dccd/pkg-plist @@ -5,9 +5,9 @@ dcc/libexec/fetch-testmsg-whitelist dcc/libexec/updatedcc dcc/libexec/dbclean dcc/libexec/dccd -dcc/libexec/dccm +%%WITH_SENDMAIL%%dcc/libexec/dccm dcc/libexec/dblist -dcc/libexec/dccifd +%%WITH_SENDMAIL%%dcc/libexec/dccifd dcc/libexec/dccsight dcc/libexec/wlist dcc/libexec/cron-dccd |