aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot-devel/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-11-14 06:45:36 +0800
committerkris <kris@FreeBSD.org>2002-11-14 06:45:36 +0800
commit9de37846d34d8dba4c0f6cd09ac69e9251f0c7c1 (patch)
tree7ab3054385803d8a99f3b52db53776d900dc206c /mail/dovecot-devel/Makefile
parent0a137d3fc9e78711d363e26fe519b98d63619dbc (diff)
downloadfreebsd-ports-gnome-9de37846d34d8dba4c0f6cd09ac69e9251f0c7c1.tar.gz
freebsd-ports-gnome-9de37846d34d8dba4c0f6cd09ac69e9251f0c7c1.tar.zst
freebsd-ports-gnome-9de37846d34d8dba4c0f6cd09ac69e9251f0c7c1.zip
Use standard PORTDOCS in PLIST_SUB instead of rolling our own, and
fix a syntax error in post-install target
Diffstat (limited to 'mail/dovecot-devel/Makefile')
-rw-r--r--mail/dovecot-devel/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/mail/dovecot-devel/Makefile b/mail/dovecot-devel/Makefile
index 121123c8b12f..6087982b2b12 100644
--- a/mail/dovecot-devel/Makefile
+++ b/mail/dovecot-devel/Makefile
@@ -17,12 +17,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-shadow --enable-ipv6 \
--localstatedir=/var/dovecot
-.if !defined(NOPORTDOCS)
-PLIST_SUB+= DOCS=""
-.else
-PLIST_SUB+= DOCS="@comment "
-.endif
-
pre-build:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/dovecot-example.conf
@@ -37,7 +31,7 @@ post-install:
@${MKDIR} /var/dovecot/login
@${CHOWN} imapd:imapd /var/dovecot
@if [ ! -f ${PREFIX}/etc/rc.d/dovecot-imapd.sh ]; then \
- ${ECHO} "Installing dovecot-imapd.sh startup file.";
+ ${ECHO} "Installing dovecot-imapd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dovecot-imapd.sh \
${PREFIX}/etc/rc.d/dovecot-imapd.sh; \
fi