Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 13:12:05 +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: r348225 - head/security/snortsnarf
Message-ID:  <201403141312.s2EDC5pu094662@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Mar 14 13:12:04 2014
New Revision: 348225
URL: http://svnweb.freebsd.org/changeset/ports/348225
QAT: https://qat.redports.org/buildarchive/r348225/

Log:
  - Support staging
  - Define DOCS option

Modified:
  head/security/snortsnarf/Makefile

Modified: head/security/snortsnarf/Makefile
==============================================================================
--- head/security/snortsnarf/Makefile	Fri Mar 14 13:07:27 2014	(r348224)
+++ head/security/snortsnarf/Makefile	Fri Mar 14 13:12:04 2014	(r348225)
@@ -17,21 +17,20 @@ USES=		perl5
 NO_BUILD=	yes
 USE_PERL5=	run
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${SED} -e 's|\./include|${PREFIX}/libdata/${PORTNAME}|' \
 		< ${WRKSRC}/snortsnarf.pl > ${WRKSRC}/snortsnarf
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf ${LOCALBASE}/bin
-	@${MKDIR} ${PREFIX}/libdata/snortsnarf
-	@(cd ${WRKSRC}/include \
-		&& ${COPYTREE_SHARE} . ${PREFIX}/libdata/${PORTNAME})
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/libdata/snortsnarf
+	(cd ${WRKSRC}/include \
+		&& ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/libdata/${PORTNAME})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in README Usage
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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