aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot2
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-15 01:49:26 +0800
committerwg <wg@FreeBSD.org>2013-10-15 01:49:26 +0800
commitaf170d4e32169d8a0dbeab1b37244b7b8a7f1817 (patch)
tree9d5956fa12a7ccc59ab5cfdf3cf3c13a238ab9d6 /mail/dovecot2
parent95a635c5f9dab066cecc16d115c32dc7f1f41b58 (diff)
downloadfreebsd-ports-gnome-af170d4e32169d8a0dbeab1b37244b7b8a7f1817.tar.gz
freebsd-ports-gnome-af170d4e32169d8a0dbeab1b37244b7b8a7f1817.tar.zst
freebsd-ports-gnome-af170d4e32169d8a0dbeab1b37244b7b8a7f1817.zip
mail/dovecot2: fix package without DOCS option
- Fix package without DOCS option PR: ports/182585
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/Makefile2
-rw-r--r--mail/dovecot2/pkg-plist5
2 files changed, 2 insertions, 5 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index 8346ba97780f..d884c283b88f 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -73,10 +73,8 @@ REINPLACE= s!%%PROTOCOLS%%!${PROTOCOLS}!g;\
.if ${PORT_OPTIONS:MDOCS}
DOCS= AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README
PORTDOCS= *
-PLIST_SUB+= PORT=""
.else
CONFIGURE_ARGS+= --without-docs
-PLIST_SUB+= PORT="@comment "
.endif
PORTEXAMPLES= *
diff --git a/mail/dovecot2/pkg-plist b/mail/dovecot2/pkg-plist
index 8a2567d5f67a..3a2d47959154 100644
--- a/mail/dovecot2/pkg-plist
+++ b/mail/dovecot2/pkg-plist
@@ -1,8 +1,7 @@
-@stopdaemon dovecot
bin/doveadm
bin/doveconf
bin/dsync
-%%PORT%%%%ETCDIR%%/README
+%%PORTDOCS%%%%ETCDIR%%/README
include/dovecot/abspath.h
include/dovecot/access-lookup.h
include/dovecot/anvil-client.h
@@ -616,4 +615,4 @@ share/aclocal/dovecot.m4
@dirrmtry lib/dovecot/auth
@dirrm lib/dovecot
@dirrm include/dovecot
-@dirrmtry %%ETCDIR%%
+%%PORTDOCS%%@dirrmtry %%ETCDIR%%