aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/NeTraMet/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-08-30 20:52:39 +0800
committerolgeni <olgeni@FreeBSD.org>2003-08-30 20:52:39 +0800
commit0458f8bef0d095a79d66ca4c78e56175ea6848cf (patch)
tree54bd085ee7b16991bdd7ec3657368857683fcd76 /net-mgmt/NeTraMet/Makefile
parente85ef5cac9ee73ec47f6168de4ba256d27d8b36a (diff)
downloadfreebsd-ports-gnome-0458f8bef0d095a79d66ca4c78e56175ea6848cf.tar.gz
freebsd-ports-gnome-0458f8bef0d095a79d66ca4c78e56175ea6848cf.tar.zst
freebsd-ports-gnome-0458f8bef0d095a79d66ca4c78e56175ea6848cf.zip
Upgrade to version 4.4, add PDF documentation.
Diffstat (limited to 'net-mgmt/NeTraMet/Makefile')
-rw-r--r--net-mgmt/NeTraMet/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/net-mgmt/NeTraMet/Makefile b/net-mgmt/NeTraMet/Makefile
index 7c84b366362d..63a807cd0bd0 100644
--- a/net-mgmt/NeTraMet/Makefile
+++ b/net-mgmt/NeTraMet/Makefile
@@ -6,14 +6,21 @@
#
PORTNAME= NeTraMet
-PORTVERSION= 4.3
+PORTVERSION= 4.4
CATEGORIES= net
-MASTER_SITES= ftp://ftp.gla.ac.uk/pub/software/NeTraMet/
-DISTNAME= NeTraMet${PORTVERSION:S/.//}
+MASTER_SITES= ftp://ftp.auckland.ac.nz/pub/iawg/NeTraMet/ \
+ http://www2.auckland.ac.nz/net/Accounting/
+DISTFILES+= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX} \
+ ${NETRAMET_DOCS}
+EXTRACT_ONLY= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX}
+DIST_SUBDIR= netramet
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Implementation of the Internet Accounting Architecture
+NETRAMET_DOCS= usguide.pdf srlguide.pdf ntmref.pdf nm_rc.pdf \
+ nifty.pdf fdutil.pdf
+
WRKSRC= ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}
USE_REINPLACE= yes
@@ -31,4 +38,10 @@ PLIST_SUB= MOTIF="@comment "
post-patch:
@${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${NETRAMET_DOCS}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
+.endfor
+
.include <bsd.port.mk>