diff options
author | hubertf <hubertf> | 2002-08-26 15:54:28 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-08-26 15:54:28 +0000 |
commit | 4e7e50c816f1a8ef8f9f9f6cb54bfd75332cd0af (patch) | |
tree | a72e75e60cb65991978c3db8bb65a62caf468c18 /mail/spamassassin/Makefile | |
parent | ab0f5c1e29986ca0d1fbe2f4db1b57d7a13cbf67 (diff) | |
download | pkgsrc-4e7e50c816f1a8ef8f9f9f6cb54bfd75332cd0af.tar.gz |
Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin.
Diffstat (limited to 'mail/spamassassin/Makefile')
-rw-r--r-- | mail/spamassassin/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile new file mode 100644 index 00000000000..0631b809dd2 --- /dev/null +++ b/mail/spamassassin/Makefile @@ -0,0 +1,42 @@ +# $NetBSD: Makefile,v 1.3 2002/08/26 15:55:58 hubertf Exp $ + +DISTNAME= Mail-SpamAssassin-2.31 +PKGNAME= p5-${DISTNAME} +PKGREVISION= 3 +SVR4_PKGNAME= p5msa +CATEGORIES= mail +#MASTER_SITES= http://spamassassin.taint.org/released/ +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.spamassassin.org/ +COMMENT= mail filter to identify spam + +DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS +DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes + +USE_BUILDLINK_ONLY= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist + +post-patch: + @(cd ${WRKSRC}; \ + for f in README Makefile.PL lib/Mail/SpamAssassin/Conf.pm ; do \ + ${SED} -e "s,/usr/share,${PREFIX}/share," \ + -e "s,/etc/mail,${PKG_SYSCONFBASE},g" $$f > $$f.fixed && \ + ${MV} $$f.fixed $$f; \ + done) + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +post-install: +.for d in spamassassin spamassassin/sql spamassassin/spamd + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/$d +.endfor +.for f in README procmailrc.example sample-nonspam.txt sample-spam.txt \ + sql/README sql/spamassassin.sql spamd/README.spamd + ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/spamassassin/$f +.endfor + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |