diff options
author | olgeni <olgeni@FreeBSD.org> | 2003-11-08 21:39:11 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2003-11-08 21:39:11 +0800 |
commit | e08ab0aa05085a8c461df22f4846626dffc2464a (patch) | |
tree | 80d594cb2ea1e5c29d7544855b007e9b10bdabab /net | |
parent | 78f2d63f76e1c9c7b360c452cda658bf1206bb73 (diff) | |
download | freebsd-ports-gnome-e08ab0aa05085a8c461df22f4846626dffc2464a.tar.gz freebsd-ports-gnome-e08ab0aa05085a8c461df22f4846626dffc2464a.tar.zst freebsd-ports-gnome-e08ab0aa05085a8c461df22f4846626dffc2464a.zip |
Add missing file to pkg-plist, support PORTDOCS and fix a portlint error.
Submitted by: igla@batterybackups.net
Diffstat (limited to 'net')
-rw-r--r-- | net/NeTraMet/Makefile | 7 | ||||
-rw-r--r-- | net/NeTraMet/pkg-plist | 15 |
2 files changed, 13 insertions, 9 deletions
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%% |