aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mirmon
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2013-08-21 20:55:12 +0800
committerjadawin <jadawin@FreeBSD.org>2013-08-21 20:55:12 +0800
commit31a82a765651774d0b17bdc2bb3b39ec99ed439d (patch)
tree24ca7f8b6eed38f70a512b754767db605608f439 /misc/mirmon
parentb625dd4ab94c9cb63325a2063f61b8da47d850c2 (diff)
downloadfreebsd-ports-gnome-31a82a765651774d0b17bdc2bb3b39ec99ed439d.tar.gz
freebsd-ports-gnome-31a82a765651774d0b17bdc2bb3b39ec99ed439d.tar.zst
freebsd-ports-gnome-31a82a765651774d0b17bdc2bb3b39ec99ed439d.zip
- Update to 2.9
- Fix header - Convert to new perl framework - Convert to new options framework
Diffstat (limited to 'misc/mirmon')
-rw-r--r--misc/mirmon/Makefile13
-rw-r--r--misc/mirmon/distinfo4
2 files changed, 10 insertions, 7 deletions
diff --git a/misc/mirmon/Makefile b/misc/mirmon/Makefile
index d219818bd343..a2695f46154d 100644
--- a/misc/mirmon/Makefile
+++ b/misc/mirmon/Makefile
@@ -1,8 +1,8 @@
-# Created by: ijliao
+# Created by: ijliao
# $FreeBSD$
PORTNAME= mirmon
-PORTVERSION= 2.8
+PORTVERSION= 2.9
CATEGORIES= misc
MASTER_SITES= http://www.staff.science.uu.nl/~penni101/mirmon/
@@ -10,7 +10,8 @@ MAINTAINER= jadawin@FreeBSD.org
COMMENT= Monitor the status of mirrors
NO_BUILD= yes
-USE_PERL5_RUN= yes
+USES= perl5
+USE_PERL5= run
SUB_FILES= pkg-message
SUB_LIST= PREFIX=${PREFIX}
@@ -18,7 +19,9 @@ SUB_LIST= PREFIX=${PREFIX}
PLIST_FILES= bin/mirmon bin/probe
MAN1= mirmon.1
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
@@ -38,7 +41,7 @@ do-install:
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
${INSTALL_MAN} ${WRKSRC}/mirmon.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/mirmon.html ${DOCSDIR}
.endif
diff --git a/misc/mirmon/distinfo b/misc/mirmon/distinfo
index 83ed7e5cd17f..0c602ae1e29a 100644
--- a/misc/mirmon/distinfo
+++ b/misc/mirmon/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mirmon-2.8.tar.gz) = a84d9ceb520e207ece690112e39cb70347428af3adfb9e0354943de4b05fe85f
-SIZE (mirmon-2.8.tar.gz) = 72061
+SHA256 (mirmon-2.9.tar.gz) = 1ec36f0198b4dce078f4910a5822204b9c99b420115ba8b860177dab14eb9bf7
+SIZE (mirmon-2.9.tar.gz) = 71680