aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-14 10:48:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-14 10:48:57 +0800
commit845b73b2e1388861fe4f8e54aa81cd613d55059c (patch)
tree6be3c227c3580ef005f6bf12ad782729171ce19a
parent18ba4b66d3f23f03ff9295939c7f54e78dfe13e2 (diff)
downloadfreebsd-ports-gnome-845b73b2e1388861fe4f8e54aa81cd613d55059c.tar.gz
freebsd-ports-gnome-845b73b2e1388861fe4f8e54aa81cd613d55059c.tar.zst
freebsd-ports-gnome-845b73b2e1388861fe4f8e54aa81cd613d55059c.zip
- Fix stripping, remove unneeded condition (STRIP already takes WITH_DEBUG into account)
- Switch to options helpers
-rw-r--r--mail/dk-milter/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile
index 6ca1d1690831..daf9f693ec5d 100644
--- a/mail/dk-milter/Makefile
+++ b/mail/dk-milter/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dk-milter
PORTVERSION= 1.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/DomainKeys%20Milter/${PORTVERSION}
@@ -101,9 +101,9 @@ pre-configure:
${SITE} > ${WCONF}/site.config.m4
post-install:
-.if !defined(WITH_DEBUG)
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/dk-filter
-.endif
+ ${CHMOD} u+w ${STAGEDIR}${PREFIX}/libexec/dk-filter
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/dk-filter
+ ${CHMOD} u-w ${STAGEDIR}${PREFIX}/libexec/dk-filter
${INSTALL_SCRIPT} ${WRKSRC}/dk-filter/gentxt.csh \
${STAGEDIR}${PREFIX}/sbin/gentxt-dk
.for i in dk-filter.8
@@ -111,11 +111,11 @@ post-install:
${STAGEDIR}${PREFIX}/man/cat8/${i}.gz
${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${PREFIX}/man/man8/
.endfor
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
.include <bsd.port.post.mk>