aboutsummaryrefslogtreecommitdiff
path: root/security/snort-rep
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-06 04:34:23 +0000
commitcb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e (patch)
treed206a205dd3870d245c26875f1da2aaa627aad64 /security/snort-rep
parent1f53b2d9aff3e353ff1b7dce02999440120dc899 (diff)
downloadports-cb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e.tar.gz
ports-cb7d5cc607bbcd6285b960eecd3a1daf1d7e9e1e.zip
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances, correct examples being controlled by the DOCS option.
Notes
Notes: svn path=/head/; revision=364152
Diffstat (limited to 'security/snort-rep')
-rw-r--r--security/snort-rep/Makefile2
-rw-r--r--security/snort-rep/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/security/snort-rep/Makefile b/security/snort-rep/Makefile
index 2f98cb1bc37c..50948bd35494 100644
--- a/security/snort-rep/Makefile
+++ b/security/snort-rep/Makefile
@@ -16,7 +16,7 @@ SHEBANG_FILES= snort-rep snort-rep-mail
OPTIONS_DEFINE= EXAMPLES
do-build:
- cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1
+ (cd ${BUILD_WRKSRC} ; pod2man --lax snort-rep > snort-rep.1)
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/snort-rep ${STAGEDIR}${PREFIX}/bin
diff --git a/security/snort-rep/pkg-plist b/security/snort-rep/pkg-plist
index e514c92ec061..19b148e54890 100644
--- a/security/snort-rep/pkg-plist
+++ b/security/snort-rep/pkg-plist
@@ -1,4 +1,4 @@
bin/snort-rep
man/man1/snort-rep.1.gz
-%%EXAMPLESDIR%%/snort-rep-mail
-@dirrm share/examples/snort-rep
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/snort-rep-mail
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%