diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-18 00:25:07 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-18 00:25:07 +0800 |
commit | 80b87f56a1970599d79f07568899b03ac8b47b9a (patch) | |
tree | f7851c4ae39ea07d6c27d5713754f99b58ecc111 /net-mgmt | |
parent | e623e1e4dfc17d45be0f3a3b8e698bcccde75365 (diff) | |
download | freebsd-ports-gnome-80b87f56a1970599d79f07568899b03ac8b47b9a.tar.gz freebsd-ports-gnome-80b87f56a1970599d79f07568899b03ac8b47b9a.tar.zst freebsd-ports-gnome-80b87f56a1970599d79f07568899b03ac8b47b9a.zip |
- Support staging
- USES -> gmake
- Define DOCS option
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/braa/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/net-mgmt/braa/Makefile b/net-mgmt/braa/Makefile index 09472b2f90be..56eefb52f954 100644 --- a/net-mgmt/braa/Makefile +++ b/net-mgmt/braa/Makefile @@ -11,13 +11,15 @@ COMMENT= Tool for making SNMP queries LIB_DEPENDS= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp -USE_GMAKE= yes +USES= gmake + LDFLAGS+= -lcompat PORTDOCS= README PLIST_FILES= bin/braa -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: .for file in Makefile @${REINPLACE_CMD} -e \ @@ -27,12 +29,8 @@ post-patch: .endfor do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |