2789d4246b
PR: 32563 Submitted by: Matthew West <mwest@uct.ac.za>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# New ports collection makefile for: p5-Mail-SpamAssassin
|
|
# Date created: Nov 26 2001
|
|
# Whom: Anthony Kim
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Mail-SpamAssassin
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Mail
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Audit.pm:${PORTSDIR}/mail/p5-Mail-Audit
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
MAN3= Mail::SpamAssassin.3 Mail::SpamAssassin::PerMsgStatus.3
|
|
MAN1PREFIX= ${PREFIX}
|
|
MAN1= spamd.1 spamassassin.1 spamc.1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample-nonspam.txt ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample-spam.txt ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/spamassassin.cf ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/spamassassin.prefs ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/spamd/README ${DOCSDIR}/spamd.README
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|