aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2013-06-03 23:15:51 +0800
committerleeym <leeym@FreeBSD.org>2013-06-03 23:15:51 +0800
commit63b1db55ca3706ade8b9f1b0013efb1412fc730d (patch)
tree6e6fc3ca3d05d71206a152de50859d15bf8459b8 /mail/spamstats
parent25285edf101236fc3881f1fe8f2432cf35243a74 (diff)
downloadfreebsd-ports-gnome-63b1db55ca3706ade8b9f1b0013efb1412fc730d.tar.gz
freebsd-ports-gnome-63b1db55ca3706ade8b9f1b0013efb1412fc730d.tar.zst
freebsd-ports-gnome-63b1db55ca3706ade8b9f1b0013efb1412fc730d.zip
- Trim Makefile header
- Remove unnecessary depend on PERL_LEVEL < 5.12 PR: 178896 Submitted by: az@
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>