Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 09:13:35 +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: r346287 - head/security/snort-rep
Message-ID:  <201402270913.s1R9DZtg048306@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 09:13:34 2014
New Revision: 346287
URL: http://svnweb.freebsd.org/changeset/ports/346287
QAT: https://qat.redports.org/buildarchive/r346287/

Log:
  - Support staging
  - Define EXAMPLES option

Modified:
  head/security/snort-rep/Makefile
  head/security/snort-rep/pkg-plist

Modified: head/security/snort-rep/Makefile
==============================================================================
--- head/security/snort-rep/Makefile	Thu Feb 27 09:10:24 2014	(r346286)
+++ head/security/snort-rep/Makefile	Thu Feb 27 09:13:34 2014	(r346287)
@@ -10,19 +10,18 @@ MASTER_SITES=	http://david.schweikert.ch
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A Snort reporting tool that can produce text or HTML from logs
 
-MAN1=		snort-rep.1
 USES=		shebangfix perl5
 SHEBANG_FILES=	snort-rep snort-rep-mail
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	EXAMPLES
+
 do-build:
 	cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${MAN1PREFIX}/man/man1
-	${MKDIR} ${PREFIX}/share/examples/snort-rep
-	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail \
-		${PREFIX}/share/examples/snort-rep
+	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/snort-rep.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/snort-rep-mail ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/security/snort-rep/pkg-plist
==============================================================================
--- head/security/snort-rep/pkg-plist	Thu Feb 27 09:10:24 2014	(r346286)
+++ head/security/snort-rep/pkg-plist	Thu Feb 27 09:13:34 2014	(r346287)
@@ -1,3 +1,4 @@
 bin/snort-rep
+man/man1/snort-rep.1.gz
 %%EXAMPLESDIR%%/snort-rep-mail
 @dirrm share/examples/snort-rep



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