aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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