svn commit: r319788 - head/mail/spamstats
Yen-Ming Lee
leeym at FreeBSD.org
Mon Jun 3 15:15:52 UTC 2013
Author: leeym
Date: Mon Jun 3 15:15:51 2013
New Revision: 319788
URL: http://svnweb.freebsd.org/changeset/ports/319788
Log:
- Trim Makefile header
- Remove unnecessary depend on PERL_LEVEL < 5.12
PR: 178896
Submitted by: az@
Modified:
head/mail/spamstats/Makefile
Modified: head/mail/spamstats/Makefile
==============================================================================
--- head/mail/spamstats/Makefile Mon Jun 3 14:59:35 2013 (r319787)
+++ head/mail/spamstats/Makefile Mon Jun 3 15:15:51 2013 (r319788)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: spamstats
-# Date created: 14 March 2003
-# Whom: Yen-Ming Lee <leeym at FreeBSD.org>
-#
+# Created by: Yen-Ming Lee <leeym at 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>
More information about the svn-ports-all
mailing list