aboutsummaryrefslogtreecommitdiff
path: root/mail/spamstats
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2013-06-03 15:15:51 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2013-06-03 15:15:51 +0000
commitf4537885a2ee54ca03a44d7a7499dd14021afe1e (patch)
tree6e6fc3ca3d05d71206a152de50859d15bf8459b8 /mail/spamstats
parentf08995548a868b8066c3f2e44f62a3c388fe33e4 (diff)
downloadports-f4537885a2ee54ca03a44d7a7499dd14021afe1e.tar.gz
ports-f4537885a2ee54ca03a44d7a7499dd14021afe1e.zip
- Trim Makefile header
- Remove unnecessary depend on PERL_LEVEL < 5.12 PR: 178896 Submitted by: az@
Notes
Notes: svn path=/head/; revision=319788
Diffstat (limited to 'mail/spamstats')
-rw-r--r--mail/spamstats/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index a8c0a8c3f1cf..8a0546119ee5 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: spamstats
-# Date created: 14 March 2003
-# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
-#
+# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= spamstats
PORTVERSION= 0.6c
@@ -27,19 +23,15 @@ PLIST_FILES= bin/spamstats.pl
post-patch:
@${PERL} -pi.bak -e 's,/mail.log,/maillog,g' ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}${PORTVERSION}.pl ${PREFIX}/bin/${PORTNAME}.pl
-.ifndef (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500903
-RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>