aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nrg/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-18 20:10:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-18 20:10:43 +0000
commita7fa7eaa32ec408001bf5c503fd7f282c958d688 (patch)
treecbc360d11524480c19921d579cbc06496a50db42 /net-mgmt/nrg/Makefile
parent39f2024b7cd5cc1185e6c0313279fbc0cc40e460 (diff)
Notes
Diffstat (limited to 'net-mgmt/nrg/Makefile')
-rw-r--r--net-mgmt/nrg/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/net-mgmt/nrg/Makefile b/net-mgmt/nrg/Makefile
index e05096746c50..a55e2174da87 100644
--- a/net-mgmt/nrg/Makefile
+++ b/net-mgmt/nrg/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= nrg
-PORTVERSION= 0.99.22
-PORTREVISION= 1
+PORTVERSION= 0.99.25
CATEGORIES= net-mgmt sysutils
-MASTER_SITES= ftp://nrg.hep.wisc.edu/pub/src/nrg/old-versions/ \
+MASTER_SITES= ftp://nrg.hep.wisc.edu/pub/src/nrg/ \
http://www.ranner.jawa.at/stuff/
MAINTAINER= mranner@inode.at
@@ -69,11 +68,17 @@ post-patch:
@${REINPLACE_CMD} -e "s,@prefix@,${PREFIX},g" \
-e "s,NOW \"%a %b %d %H:%M %Z %Y\",NOW '%a %b %d %H:%M %Z %Y',g" \
${WRKSRC}/templates/*.in
+ @${CP} ${TEMPLATES}/config.guess ${WRKSRC}/config/
+ @${CP} ${TEMPLATES}/config.sub ${WRKSRC}/config/
pre-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' <${.CURDIR}/pkg-message >${PKGMESSAGE}
post-install:
+ ${INSTALL_DATA} ${WRKSRC}/examples/Makefile.ops ${PREFIX}/nrg/Makefile-dist
+ ${INSTALL_DATA} ${WRKSRC}/examples/Default.conf ${PREFIX}/nrg/Default.conf-dist
+ ${INSTALL_DATA} ${WRKSRC}/examples/NRG.mconf ${PREFIX}/nrg/NRG.mconf-dist
+ ${INSTALL_DATA} ${WRKSRC}/examples/Site.mconf ${PREFIX}/nrg/Site.mconf-dist
@${INSTALL_SCRIPT} ${FILESDIR}/run-nrg.sh ${PREFIX}/nrg/
@${CAT} ${PKGMESSAGE}