summaryrefslogtreecommitdiff
path: root/security
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
parent1f53b2d9aff3e353ff1b7dce02999440120dc899 (diff)
downloadfreebsd-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.
Diffstat (limited to 'security')
-rw-r--r--security/libgnomesu/Makefile4
-rw-r--r--security/libgnomesu/pkg-plist4
-rw-r--r--security/snort-rep/Makefile2
-rw-r--r--security/snort-rep/pkg-plist4
4 files changed, 7 insertions, 7 deletions
diff --git a/security/libgnomesu/Makefile b/security/libgnomesu/Makefile
index 55e4abd1887d..39e4593035fd 100644
--- a/security/libgnomesu/Makefile
+++ b/security/libgnomesu/Makefile
@@ -27,9 +27,9 @@ post-patch:
${WRKSRC}/src/Makefile.in
post-install:
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}
diff --git a/security/libgnomesu/pkg-plist b/security/libgnomesu/pkg-plist
index ce1f3e0d417e..6981e642a4c6 100644
--- a/security/libgnomesu/pkg-plist
+++ b/security/libgnomesu/pkg-plist
@@ -9,7 +9,7 @@ libexec/gnomesu-backend
libexec/gnomesu-pam-backend
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/libgnomesu.css
-%%EXAMPLESDIR%%/gnomesu-pam.sample
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gnomesu-pam.sample
share/application-registry/gnomesu-nautilus.applications
share/mime-info/gnomesu-nautilus.keys
share/locale/az/LC_MESSAGES/libgnomesu-1.0.mo
@@ -51,5 +51,5 @@ share/locale/zh_CN/LC_MESSAGES/libgnomesu-1.0.mo
share/locale/zh_TW/LC_MESSAGES/libgnomesu-1.0.mo
@dirrm include/libgnomesu-1.0/libgnomesu
@dirrm include/libgnomesu-1.0
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
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%%