summaryrefslogtreecommitdiff
path: root/mail/spamassassin
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-13 14:43:30 +0000
committerjlam <jlam>2003-09-13 14:43:30 +0000
commit8826463ad66d83b05c0f0cd0e3ca6d054292db2c (patch)
tree562e2ce14c6bb06974535271b622c2a45fc78f24 /mail/spamassassin
parentb262680c35c4d9af2b973ee2e98700f012e67fca (diff)
downloadpkgsrc-8826463ad66d83b05c0f0cd0e3ca6d054292db2c.tar.gz
Reorder some lines to make the Makefile layout more standard and fix some
whitespace.
Diffstat (limited to 'mail/spamassassin')
-rw-r--r--mail/spamassassin/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 39623659226..0c4672551b8 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2003/09/13 14:29:30 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2003/09/13 14:43:30 jlam Exp $
DISTNAME= Mail-SpamAssassin-2.55
PKGNAME= spamassassin-2.55
@@ -12,7 +12,10 @@ MAINTAINER= heinz-sa@NetBSD.org
HOMEPAGE= http://www.spamassassin.org/
COMMENT= Mail filter to identify spam
+CONFLICTS= p5-Mail-SpamAssassin-[1-9]*
+
.include "../../mk/bsd.prefs.mk"
+
DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
@@ -22,27 +25,24 @@ DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File
.endif
.if defined(SPAMASSASSIN_USE_SSL) && ${SPAMASSASSIN_USE_SSL} == "YES"
+. include "../../security/openssl/buildlink2.mk"
DEPENDS+= p5-IO-Socket-SSL>=0.92:../../security/p5-IO-Socket-SSL
CONFIGURE_ARGS+= --enable-ssl
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
+BUILD_DEFS+= SPAMASSASSIN_USE_SSL
BUILDLINK_DEPENDS.perl= perl>=5.6.0
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
-
-BUILD_DEFS+= SPAMASSASSIN_USE_SSL
-
-CONFLICTS= p5-Mail-SpamAssassin-[1-9]*
-
-GNU_CONFIGURE= YES
PKG_SYSCONFSUBDIR= spamassassin
PLIST_ADD= ${WRKSRC}/.PLIST_ADD
PLIST_SRC= ${PKGDIR}/PLIST ${PLIST_ADD}
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist
+GNU_CONFIGURE= YES
PERL5_CONFIGURE= NO # need GNU_CONFIGURE "do-configure" target
MAKE_PARAMS= SYSCONFDIR="${PKG_SYSCONFDIR}"
MAKE_PARAMS+= LOCAL_RULES_DIR="${PKG_SYSCONFDIR}"
@@ -58,7 +58,7 @@ DOCDIRNOPREFIX= share/doc/spamassassin
DOCDIR= ${PREFIX}/${DOCDIRNOPREFIX}
RULESDIR= ${PREFIX}/share/spamassassin
-CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf
+CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf
CONF_FILES+= ${PREFIX}/share/spamassassin/user_prefs.template \
${PKG_SYSCONFDIR}/user_prefs.template
SUPPORT_FILES_PERMS+= ${EGDIR}/netbsd_lists.cf \
@@ -173,8 +173,6 @@ post-install:
.if defined(SPAMASSASSIN_USE_SSL) && ${SPAMASSASSIN_USE_SSL} == "YES"
@${INSTALL_PROGRAM} ${WRKSRC}/spamd/sslspamc ${PREFIX}/bin/
@${ECHO} "bin/sslspamc" >> ${PLIST_ADD}
-
-.include "../../security/openssl/buildlink2.mk"
.endif
.include "../../lang/perl5/module.mk"