Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 16:25:07 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348488 - head/net-mgmt/braa
Message-ID:  <201403171625.s2HGP780038076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar 17 16:25:07 2014
New Revision: 348488
URL: http://svnweb.freebsd.org/changeset/ports/348488
QAT: https://qat.redports.org/buildarchive/r348488/

Log:
  - Support staging
  - USES -> gmake
  - Define DOCS option

Modified:
  head/net-mgmt/braa/Makefile

Modified: head/net-mgmt/braa/Makefile
==============================================================================
--- head/net-mgmt/braa/Makefile	Mon Mar 17 16:02:56 2014	(r348487)
+++ head/net-mgmt/braa/Makefile	Mon Mar 17 16:25:07 2014	(r348488)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403171625.s2HGP780038076>