aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-03-17 21:16:35 +0800
committerpav <pav@FreeBSD.org>2010-03-17 21:16:35 +0800
commita461085e00a78e35d6bc6d371771054723ae8f42 (patch)
treeb4da95a7702e2d672ff927046751d52d5efcdd42 /misc
parent436302e28939b23e24939dc9c1448ee2aed86c2c (diff)
downloadfreebsd-ports-gnome-a461085e00a78e35d6bc6d371771054723ae8f42.tar.gz
freebsd-ports-gnome-a461085e00a78e35d6bc6d371771054723ae8f42.tar.zst
freebsd-ports-gnome-a461085e00a78e35d6bc6d371771054723ae8f42.zip
- Update to 2.3
Approved by: maintainer (jadawin)
Diffstat (limited to 'misc')
-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