aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
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%%