aboutsummaryrefslogtreecommitdiff
path: root/mail/raysfilter/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-10-27 22:29:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-10-27 22:29:46 +0000
commit338eecf23761d8a27351a0657ead88ab54a8f9da (patch)
tree2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /mail/raysfilter/Makefile
parent2078f2a7ae31de5a4474e59c2d813276c225277f (diff)
downloadports-338eecf23761d8a27351a0657ead88ab54a8f9da.tar.gz
ports-338eecf23761d8a27351a0657ead88ab54a8f9da.zip
- use STAGEDIR
- use OPTIONS_DEFINE
Notes
Notes: svn path=/head/; revision=331810
Diffstat (limited to 'mail/raysfilter/Makefile')
-rw-r--r--mail/raysfilter/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/mail/raysfilter/Makefile b/mail/raysfilter/Makefile
index e918c0d18ed3..3bef48d939de 100644
--- a/mail/raysfilter/Makefile
+++ b/mail/raysfilter/Makefile
@@ -10,8 +10,6 @@ DISTNAME= rays-filter-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A configurable filter for Sendmail Milter
-NO_STAGE= yes
-
CTARGETS+= rays-filter
CFLAGS+= -Wall ${PTHREAD_CFLAGS:S=""==}
LIBS+= ${PTHREAD_LIBS}
@@ -46,20 +44,20 @@ do-build: ${CTARGETS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rays-filter \
- ${PREFIX}/libexec/rays-filter
+ ${STAGEDIR}${PREFIX}/libexec/rays-filter
${INSTALL_SCRIPT} ${WRKSRC}/mail-filter \
- ${PREFIX}/etc/rc.d/raysfilter.sh.sample
+ ${STAGEDIR}${PREFIX}/etc/rc.d/raysfilter.sh.sample
.for i in ${BINFILES}
- ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
.endfor
- ${MKDIR} ${PREFIX}/etc/mail-filter
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail-filter
.for i in ${ETCFILES}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/etc/mail-filter/${i}-dist
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/etc/mail-filter/${i}-dist
.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