aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gnarwl
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
committeradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
commit4eda3a9e794c7b1834eede06f4e71fe345c791d6 (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /mail/gnarwl
parent0eff41e7b9a36ea4031df2f12affda98bd0b9e61 (diff)
downloadfreebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.gz
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.zst
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.zip
In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple PORTEXAMPLES for good measure.
Diffstat (limited to 'mail/gnarwl')
-rw-r--r--mail/gnarwl/Makefile2
-rw-r--r--mail/gnarwl/pkg-plist20
2 files changed, 12 insertions, 10 deletions
diff --git a/mail/gnarwl/Makefile b/mail/gnarwl/Makefile
index a04ae0684f6b..7372a23a9b50 100644
--- a/mail/gnarwl/Makefile
+++ b/mail/gnarwl/Makefile
@@ -18,4 +18,6 @@ USE_OPENLDAP= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/mail/gnarwl/pkg-plist b/mail/gnarwl/pkg-plist
index fbd0cf0e36db..0eff4db06cb8 100644
--- a/mail/gnarwl/pkg-plist
+++ b/mail/gnarwl/pkg-plist
@@ -3,15 +3,15 @@ etc/gnarwl.cfg.sample
man/man8/damnit.8.gz
man/man8/gnarwl.8.gz
sbin/damnit
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/FAQ.gz
-%%DOCSDIR%%/HISTORY.gz
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/ISPEnv.schema
-%%DOCSDIR%%/ISPEnv2.schema
-%%DOCSDIR%%/LICENSE
-%%DOCSDIR%%/README
-%%DOCSDIR%%/example.ldif
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.gz
+%%PORTDOCS%%%%DOCSDIR%%/HISTORY.gz
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/ISPEnv.schema
+%%PORTDOCS%%%%DOCSDIR%%/ISPEnv2.schema
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/example.ldif
var/lib/gnarwl/.forward
var/lib/gnarwl/badheaders.db.sample
var/lib/gnarwl/blacklist.db.sample
@@ -19,7 +19,7 @@ var/lib/gnarwl/badheaders.txt.sample
var/lib/gnarwl/blacklist.txt.sample
var/lib/gnarwl/header.txt.sample
var/lib/gnarwl/footer.txt.sample
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm var/lib/gnarwl/bin
@dirrm var/lib/gnarwl/block
@dirrm var/lib/gnarwl