aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-11-17 04:11:28 +0800
committerdinoex <dinoex@FreeBSD.org>2013-11-17 04:11:28 +0800
commit641fab7572c984a229de89453cf6db110a1a4e63 (patch)
treeb0f89af5d71b00c838e18d587994db7e7f1bbf07 /mail
parented973a11ab1bf5151815db8a84d003a07390c19f (diff)
downloadfreebsd-ports-gnome-641fab7572c984a229de89453cf6db110a1a4e63.tar.gz
freebsd-ports-gnome-641fab7572c984a229de89453cf6db110a1a4e63.tar.zst
freebsd-ports-gnome-641fab7572c984a229de89453cf6db110a1a4e63.zip
- use STAGEDIR
Diffstat (limited to 'mail')
-rw-r--r--mail/dk-milter/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile
index 2469abc0d1d6..3b19d06a2443 100644
--- a/mail/dk-milter/Makefile
+++ b/mail/dk-milter/Makefile
@@ -9,8 +9,6 @@ MASTER_SITES= SF/${PORTNAME}/DomainKeys%20Milter/${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Domainkeys milter for Sendmail
-NO_STAGE= yes
-
USE_RC_SUBR= milter-dk
USE_OPENSSL= yes
@@ -104,20 +102,20 @@ pre-configure:
post-install:
.if !defined(WITH_DEBUG)
- -${STRIP_CMD} ${PREFIX}/libexec/dk-filter
+ -${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/dk-filter
.endif
${INSTALL_SCRIPT} ${WRKSRC}/dk-filter/gentxt.csh \
- ${PREFIX}/sbin/gentxt-dk
+ ${STAGEDIR}${PREFIX}/sbin/gentxt-dk
.for i in ${MAN8}
- @${RM} -f ${MANPREFIX}/man/cat8/${i} ${MANPREFIX}/man/cat8/${i}.gz
- ${INSTALL_MAN} ${WRKSRC}/*/${i} ${MANPREFIX}/man/man8/
+ @${RM} -f ${STAGEDIR}${MANPREFIX}/man/cat8/${i} \
+ ${STAGEDIR}${MANPREFIX}/man/cat8/${i}.gz
+ ${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${MANPREFIX}/man/man8/
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCSFILES}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>