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-mgmt/NeTraMet/Makefile | |
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-mgmt/NeTraMet/Makefile')
-rw-r--r-- | net-mgmt/NeTraMet/Makefile | 7 |
1 files changed, 5 insertions, 2 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> |