aboutsummaryrefslogtreecommitdiff
path: root/misc/mirmon
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-03-17 13:16:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-03-17 13:16:35 +0000
commit03225fb543df856eb45ece0ed48910bb4237157a (patch)
treeff1a97f6ee32e62f788a2848b3d885f9ea3674e3 /misc/mirmon
parent352727f3e4197e8dbd09d5752e98cc75b7eba531 (diff)
downloadports-03225fb543df856eb45ece0ed48910bb4237157a.tar.gz
ports-03225fb543df856eb45ece0ed48910bb4237157a.zip
- Update to 2.3
Approved by: maintainer (jadawin)
Notes
Notes: svn path=/head/; revision=251179
Diffstat (limited to 'misc/mirmon')
-rw-r--r--misc/mirmon/Makefile16
-rw-r--r--misc/mirmon/distinfo6
2 files changed, 12 insertions, 10 deletions
diff --git a/misc/mirmon/Makefile b/misc/mirmon/Makefile
index d978c44d67d7..83ebfdc700de 100644
--- a/misc/mirmon/Makefile
+++ b/misc/mirmon/Makefile
@@ -7,10 +7,9 @@
#
PORTNAME= mirmon
-PORTVERSION= 1.38
+PORTVERSION= 2.3
CATEGORIES= misc
-MASTER_SITES= http://jadawin.tuxaco.net/freebsd/ \
- http://www.cs.uu.nl/people/henkp/mirmon/src/
+MASTER_SITES= http://people.cs.uu.nl/henkp/mirmon/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Monitor the status of mirrors
@@ -21,7 +20,8 @@ USE_PERL5_RUN= yes
SUB_FILES= pkg-message
SUB_LIST= PREFIX=${PREFIX}
-PLIST_FILES= bin/mirmon
+PLIST_FILES= bin/mirmon bin/probe
+MAN1= mirmon.1
.if !defined(NOPORTDOCS)
PORTDOCS= *
@@ -29,18 +29,20 @@ PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e "s,/etc,${LOCALBASE}/etc," \
- -e "s,/sw/bin/perl,/usr/bin/env perl," \
- -e "s,/sw,${LOCALBASE}," \
- ${WRKSRC}/mirmon ${WRKSRC}/mirmon.html
+ ${WRKSRC}/mirmon ${WRKSRC}/mirmon.html ${WRKSRC}/probe
+ @${REINPLACE_CMD} -e "s,/usr/bin/wget,${LOCALBASE}/bin/wget," \
+ -e "s,/usr/bin/rsync,${LOCALBASE}/bin/rsync," ${WRKSRC}/probe
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mirmon ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/probe ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/countries.list ${WRKSRC}/icons ${DATADIR}
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+ ${INSTALL_MAN} ${WRKSRC}/mirmon.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/mirmon.html ${DOCSDIR}
diff --git a/misc/mirmon/distinfo b/misc/mirmon/distinfo
index 4160cb620a1b..7b7a626fd205 100644
--- a/misc/mirmon/distinfo
+++ b/misc/mirmon/distinfo
@@ -1,3 +1,3 @@
-MD5 (mirmon-1.38.tar.gz) = 71ca84082700d251fc7b15d1544a1ab1
-SHA256 (mirmon-1.38.tar.gz) = 5defb2c0890d3461a2b8dd8cc3efc4c63c0814c043cb227a69b4a457a38b0ce3
-SIZE (mirmon-1.38.tar.gz) = 33021
+MD5 (mirmon-2.3.tar.gz) = 672163cfc984be1f00133e2bc53a2ab3
+SHA256 (mirmon-2.3.tar.gz) = ef7374e8b3f75f51f88710bf2065856607beca015fe5fac0d0c411e292074f18
+SIZE (mirmon-2.3.tar.gz) = 67859