aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/NeTraMet/Makefile7
-rw-r--r--net-mgmt/NeTraMet/pkg-plist15
-rw-r--r--net/NeTraMet/Makefile7
-rw-r--r--net/NeTraMet/pkg-plist15
4 files changed, 26 insertions, 18 deletions
diff --git a/net-mgmt/NeTraMet/Makefile b/net-mgmt/NeTraMet/Makefile
index 63a807cd0bd0..da451a41ce27 100644
--- a/net-mgmt/NeTraMet/Makefile
+++ b/net-mgmt/NeTraMet/Makefile
@@ -7,13 +7,14 @@
PORTNAME= NeTraMet
PORTVERSION= 4.4
+PORTREVISION= 1
CATEGORIES= net
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
+EXTRACT_ONLY= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Implementation of the Internet Accounting Architecture
@@ -39,9 +40,11 @@ post-patch:
@${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${NETRAMET_DOCS}
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/NeTraMet/pkg-plist b/net-mgmt/NeTraMet/pkg-plist
index 4286b535fb89..31aa1952267f 100644
--- a/net-mgmt/NeTraMet/pkg-plist
+++ b/net-mgmt/NeTraMet/pkg-plist
@@ -1,3 +1,4 @@
+bin/LfapMet
bin/NeMaC
bin/NeTraMet
bin/NetFlowMet
@@ -43,14 +44,14 @@ bin/srl
%%DATADIR%%/mibs/mib.auckland
%%DATADIR%%/mibs/mib.txt
%%DATADIR%%/mibs/rtm-text.txt
-%%DOCSDIR%%/fdutil.pdf
-%%DOCSDIR%%/nifty.pdf
-%%DOCSDIR%%/nm_rc.pdf
-%%DOCSDIR%%/ntmref.pdf
-%%DOCSDIR%%/srlguide.pdf
-%%DOCSDIR%%/usguide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/fdutil.pdf
+%%PORTDOCS%%%%DOCSDIR%%/nifty.pdf
+%%PORTDOCS%%%%DOCSDIR%%/nm_rc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/ntmref.pdf
+%%PORTDOCS%%%%DOCSDIR%%/srlguide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/usguide.pdf
@dirrm %%DATADIR%%/mibs
@dirrm %%DATADIR%%/examples/non-srl
@dirrm %%DATADIR%%/examples
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/net/NeTraMet/Makefile b/net/NeTraMet/Makefile
index 63a807cd0bd0..da451a41ce27 100644
--- a/net/NeTraMet/Makefile
+++ b/net/NeTraMet/Makefile
@@ -7,13 +7,14 @@
PORTNAME= NeTraMet
PORTVERSION= 4.4
+PORTREVISION= 1
CATEGORIES= net
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
+EXTRACT_ONLY= NeTraMet${PORTVERSION:S/.//}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Implementation of the Internet Accounting Architecture
@@ -39,9 +40,11 @@ post-patch:
@${REINPLACE_CMD} -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${NETRAMET_DOCS}
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${DOCSDIR}
.endfor
+.endif
.include <bsd.port.mk>
diff --git a/net/NeTraMet/pkg-plist b/net/NeTraMet/pkg-plist
index 4286b535fb89..31aa1952267f 100644
--- a/net/NeTraMet/pkg-plist
+++ b/net/NeTraMet/pkg-plist
@@ -1,3 +1,4 @@
+bin/LfapMet
bin/NeMaC
bin/NeTraMet
bin/NetFlowMet
@@ -43,14 +44,14 @@ bin/srl
%%DATADIR%%/mibs/mib.auckland
%%DATADIR%%/mibs/mib.txt
%%DATADIR%%/mibs/rtm-text.txt
-%%DOCSDIR%%/fdutil.pdf
-%%DOCSDIR%%/nifty.pdf
-%%DOCSDIR%%/nm_rc.pdf
-%%DOCSDIR%%/ntmref.pdf
-%%DOCSDIR%%/srlguide.pdf
-%%DOCSDIR%%/usguide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/fdutil.pdf
+%%PORTDOCS%%%%DOCSDIR%%/nifty.pdf
+%%PORTDOCS%%%%DOCSDIR%%/nm_rc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/ntmref.pdf
+%%PORTDOCS%%%%DOCSDIR%%/srlguide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/usguide.pdf
@dirrm %%DATADIR%%/mibs
@dirrm %%DATADIR%%/examples/non-srl
@dirrm %%DATADIR%%/examples
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%