aboutsummaryrefslogtreecommitdiffstats
path: root/security/oinkmaster/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-06-27 02:47:37 +0800
committerpav <pav@FreeBSD.org>2004-06-27 02:47:37 +0800
commit1c0ba188259d95f6f5d59ffac0367dbbafe23d2b (patch)
treec25a9347b51e6ee1253c4f78abb239bb762a9d06 /security/oinkmaster/Makefile
parent5eba87f61db6d37726766df3164ac5ab6fd7f617 (diff)
downloadfreebsd-ports-gnome-1c0ba188259d95f6f5d59ffac0367dbbafe23d2b.tar.gz
freebsd-ports-gnome-1c0ba188259d95f6f5d59ffac0367dbbafe23d2b.tar.zst
freebsd-ports-gnome-1c0ba188259d95f6f5d59ffac0367dbbafe23d2b.zip
- Update to 1.0
PR: ports/68326 Submitted by: Toni Viemero <toni.viemero@iki.fi>
Diffstat (limited to 'security/oinkmaster/Makefile')
-rw-r--r--security/oinkmaster/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile
index 3a81439d4514..e9547ad18b1a 100644
--- a/security/oinkmaster/Makefile
+++ b/security/oinkmaster/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= oinkmaster
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= ftp://ftp.it.su.se/pub/users/andreas/oinkmaster/
@@ -21,9 +20,14 @@ USE_REINPLACE= yes
NO_BUILD= yes
USE_PERL5_RUN= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= needs at least perl 5.6.1
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g;\
- s,\./oinkmaster.conf,${PREFIX}/etc/oinkmaster.conf,g' \
+ @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \
${WRKSRC}/oinkmaster.pl
do-install:
@@ -34,4 +38,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>