aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2011-01-31 00:19:26 +0000
committerSahil Tandon <sahil@FreeBSD.org>2011-01-31 00:19:26 +0000
commit328bc8e458ad029b88c47d4d49d1cc1d18cd3cb4 (patch)
treedac6dce71b86c2b73c32802a206a64577b3f2c82 /mail
parent19d1d7e20d3d0ba0244ffba4a03c22b7b1d6f60e (diff)
downloadports-328bc8e458ad029b88c47d4d49d1cc1d18cd3cb4.tar.gz
ports-328bc8e458ad029b88c47d4d49d1cc1d18cd3cb4.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/spamass-milter/Makefile31
-rw-r--r--mail/spamass-milter/distinfo1
2 files changed, 6 insertions, 26 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile
index 12ef9b06b0ba..02284f7a1f85 100644
--- a/mail/spamass-milter/Makefile
+++ b/mail/spamass-milter/Makefile
@@ -12,11 +12,13 @@ CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= spamass-milt
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= michael@fun-box.ru
COMMENT= Sendmail Milter (mail filter) plugin for SpamAssassin
BUILD_DEPENDS= spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+LICENSE= GPLv2
MAKE_JOBS_SAFE= yes
@@ -56,33 +58,10 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
-.if !defined(WITH_SENDMAIL_BASE) && !defined(WITH_SENDMAIL_PORT)
-WITH_SENDMAIL_BASE=yes
-.endif
-
-.if defined(WITH_SENDMAIL_BASE)
-.if exists(/usr/lib/libmilter.a)
-MILTERBASE= /usr
-.else
-IGNORE= base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
-.endif
-.endif
-
-.if defined(WITH_SENDMAIL_PORT)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
-MILTERBASE?= ${LOCALBASE}
-.endif
-
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
.endif
-MILTERINC= ${MILTERBASE}/include
-MILTERLIB= ${MILTERBASE}/lib
-
-CPPFLAGS+= -I${MILTERINC}
-LDFLAGS+= -L${MILTERLIB}
-
USE_RC_SUBR= spamass-milter
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -113,4 +92,6 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
+.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
+
.include <bsd.port.post.mk>
diff --git a/mail/spamass-milter/distinfo b/mail/spamass-milter/distinfo
index 255b64c2dab7..aa19fd9e4221 100644
--- a/mail/spamass-milter/distinfo
+++ b/mail/spamass-milter/distinfo
@@ -1,3 +1,2 @@
-MD5 (spamass-milter-0.3.1.tar.gz) = ca6bf6a9c88db74a6bfea41f499c0ba6
SHA256 (spamass-milter-0.3.1.tar.gz) = 4222b21d098f292b4899a84caf56458c876c6774fd14132fbd4c31f6190b27e5
SIZE (spamass-milter-0.3.1.tar.gz) = 141144