aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ask
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-06 12:34:23 +0800
committeradamw <adamw@FreeBSD.org>2014-08-06 12:34:23 +0800
commita46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch)
treed206a205dd3870d245c26875f1da2aaa627aad64 /mail/ask
parent0a17597462ff11896ad3e619b25fc9df0263fcef (diff)
downloadfreebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.gz
freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.zst
freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.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 'mail/ask')
-rw-r--r--mail/ask/Makefile2
-rw-r--r--mail/ask/pkg-plist26
2 files changed, 14 insertions, 14 deletions
diff --git a/mail/ask/Makefile b/mail/ask/Makefile
index 2e28d109e9a3..2907dc41d134 100644
--- a/mail/ask/Makefile
+++ b/mail/ask/Makefile
@@ -17,7 +17,7 @@ BINS= askfilter asksetup utils/asksenders
SUB_FILES= pkg-message
PORTDOCS= *
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
post-extract:
@${REINPLACE_CMD} -E \
diff --git a/mail/ask/pkg-plist b/mail/ask/pkg-plist
index d6a19272ce5a..96bdc58a46f9 100644
--- a/mail/ask/pkg-plist
+++ b/mail/ask/pkg-plist
@@ -13,17 +13,17 @@ lib/ask/test.py
man/man1/askfilter.1.gz
man/man1/asksenders.1.gz
man/man1/asksetup.1.gz
-%%EXAMPLESDIR%%/ask.rc
-%%EXAMPLESDIR%%/confirm_da.txt
-%%EXAMPLESDIR%%/confirm_de.txt
-%%EXAMPLESDIR%%/confirm_en.txt
-%%EXAMPLESDIR%%/confirm_es.txt
-%%EXAMPLESDIR%%/confirm_fi.txt
-%%EXAMPLESDIR%%/confirm_fr.txt
-%%EXAMPLESDIR%%/confirm_it.txt
-%%EXAMPLESDIR%%/confirm_nl.txt
-%%EXAMPLESDIR%%/confirm_ptbr.txt
-%%EXAMPLESDIR%%/ignorelist.txt
-%%EXAMPLESDIR%%/whitelist.txt
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ask.rc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_da.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_de.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_en.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_es.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_fi.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_fr.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_it.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_nl.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/confirm_ptbr.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ignorelist.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/whitelist.txt
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm lib/ask