aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-27 21:32:57 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-27 21:32:57 +0800
commit2c137bcea4c6b516873aff08306109ee95dfc31c (patch)
treeb7e80b7c42051da0f7bf6403e492c37c4acbf34e /mail
parenta423ceed6db3709edcb50ca19836bc712d2c361e (diff)
downloadfreebsd-ports-gnome-2c137bcea4c6b516873aff08306109ee95dfc31c.tar.gz
freebsd-ports-gnome-2c137bcea4c6b516873aff08306109ee95dfc31c.tar.zst
freebsd-ports-gnome-2c137bcea4c6b516873aff08306109ee95dfc31c.zip
Support staging.
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-callback/Makefile10
-rw-r--r--mail/milter-callback/pkg-plist1
2 files changed, 5 insertions, 6 deletions
diff --git a/mail/milter-callback/Makefile b/mail/milter-callback/Makefile
index cc190ffcce1c..df3e68491d33 100644
--- a/mail/milter-callback/Makefile
+++ b/mail/milter-callback/Makefile
@@ -18,7 +18,6 @@ USE_RC_SUBR= milter-callback
USE_GCC= any
SUB_FILES= pkg-message
-MAN8= milter-callback.8
SRC_FILES= cache.c commonprocs.c cpit.c dealwithmxes.c detectlamespf.c \
makedecision.c mcspf.c milter-callback.c pgupdate.c \
@@ -28,7 +27,6 @@ CFLAGS+= -DFREEBSD -DHAVE_NS_TYPE -DWITH_SPF -I${LOCALBASE}/include \
-I${WRKSRC} -std=gnu99
LDFLAGS+= -lmilter -lthr -L${LOCALBASE}/lib -lspf2
-NO_STAGE= yes
do-build:
.for f in ${SRC_FILES}
${CC} ${CFLAGS} -c ${WRKSRC}/${f} -o ${WRKSRC}/${f:C/\.c/.o/}
@@ -45,12 +43,12 @@ post-patch:
${WRKSRC}/${PORTNAME}.conf
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec
- ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
- ${MKDIR} ${PREFIX}/etc/mail
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
- ${PREFIX}/etc/mail/${PORTNAME}.conf.sample
+ ${STAGEDIR}${PREFIX}/etc/mail/${PORTNAME}.conf.sample
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/mail/milter-callback/pkg-plist b/mail/milter-callback/pkg-plist
index 70b09930d5bd..410c9293ddfb 100644
--- a/mail/milter-callback/pkg-plist
+++ b/mail/milter-callback/pkg-plist
@@ -1,3 +1,4 @@
libexec/milter-callback
etc/mail/milter-callback.conf.sample
+man/man8/milter-callback.8.gz
@dirrmtry etc/mail