aboutsummaryrefslogtreecommitdiffstats
path: root/dns
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 /dns
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 'dns')
-rw-r--r--dns/ez-ipupdate/Makefile2
-rw-r--r--dns/ez-ipupdate/pkg-plist22
2 files changed, 13 insertions, 11 deletions
diff --git a/dns/ez-ipupdate/Makefile b/dns/ez-ipupdate/Makefile
index 51392cc9150d..37b5c5bc82ff 100644
--- a/dns/ez-ipupdate/Makefile
+++ b/dns/ez-ipupdate/Makefile
@@ -15,6 +15,8 @@ COMMENT= Update your host name on any dynamic DNS service
USE_RC_SUBR= ez-ipupdate
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= EXAMPLES
+
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} example-*.conf ${STAGEDIR}${EXAMPLESDIR})
diff --git a/dns/ez-ipupdate/pkg-plist b/dns/ez-ipupdate/pkg-plist
index 128e34c24a8a..825c4d728672 100644
--- a/dns/ez-ipupdate/pkg-plist
+++ b/dns/ez-ipupdate/pkg-plist
@@ -1,13 +1,13 @@
bin/ez-ipupdate
etc/ez-ipupdate.conf.sample
-%%EXAMPLESDIR%%/example-dhs.conf
-%%EXAMPLESDIR%%/example-dyndns.conf
-%%EXAMPLESDIR%%/example-dyns.conf
-%%EXAMPLESDIR%%/example-easydns.conf
-%%EXAMPLESDIR%%/example-gnudip.conf
-%%EXAMPLESDIR%%/example-heipv6tb.conf
-%%EXAMPLESDIR%%/example-justlinux.conf
-%%EXAMPLESDIR%%/example-ods.conf
-%%EXAMPLESDIR%%/example-pgpow.conf
-%%EXAMPLESDIR%%/example-tzo.conf
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-dhs.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-dyndns.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-dyns.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-easydns.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-gnudip.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-heipv6tb.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-justlinux.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-ods.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-pgpow.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-tzo.conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%