diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
commit | a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch) | |
tree | d206a205dd3870d245c26875f1da2aaa627aad64 /dns/ez-ipupdate | |
parent | 0a17597462ff11896ad3e619b25fc9df0263fcef (diff) | |
download | freebsd-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/ez-ipupdate')
-rw-r--r-- | dns/ez-ipupdate/Makefile | 2 | ||||
-rw-r--r-- | dns/ez-ipupdate/pkg-plist | 22 |
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%% |