From 30c7c02d0d1d68fab8e3ec0c584eb3282e3c8409 Mon Sep 17 00:00:00 2001 From: Philippe Audeoud Date: Wed, 21 Aug 2013 12:55:12 +0000 Subject: [PATCH] - Update to 2.9 - Fix header - Convert to new perl framework - Convert to new options framework --- misc/mirmon/Makefile | 13 ++++++++----- misc/mirmon/distinfo | 4 ++-- 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 + +.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