aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-conf
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2006-01-21 17:37:14 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2006-01-21 17:37:14 +0000
commit01c588a6357d8452a3e0af157e9c1250c067db2f (patch)
treefb26bf418ea8791ab4d308a7931c623124611c3c /mail/qmail-conf
parentf484c99df79f169bf954fc4b0ed83e59279a596a (diff)
downloadports-01c588a6357d8452a3e0af157e9c1250c067db2f.tar.gz
ports-01c588a6357d8452a3e0af157e9c1250c067db2f.zip
Notes
Diffstat (limited to 'mail/qmail-conf')
-rw-r--r--mail/qmail-conf/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
index 14ddb969b307..93bf63a5c39c 100644
--- a/mail/qmail-conf/Makefile
+++ b/mail/qmail-conf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qmail-conf
PORTVERSION= 0.60
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.din.or.jp/~ushijima/qmail-conf/ \
http://cr.yp.to/djbdns/
@@ -18,14 +18,14 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= roam@FreeBSD.org
COMMENT= Configure various qmail services to run under daemontools
+WANT_QMAIL= yes
+
ALL_TARGET= it
INSTALL_TARGET= setup check
NO_PACKAGE= "borrows code from djbdns, thus falls under the same restrictions as dns/djbdns"
-# Note: this MUST be the same as the directory qmail is installed in!
-QMAIL_DIR?= /var/qmail
-PREFIX?= ${QMAIL_DIR}
+PREFIX?= ${QMAIL_PREFIX}
NO_MTREE= yes
@@ -33,11 +33,13 @@ DJBDNS_VER= 1.05
DJBDNS_NAME= djbdns-${DJBDNS_VER}
DJBDNS_DIST= ${DJBDNS_NAME}${EXTRACT_SUFX}
+.include <bsd.port.pre.mk>
+
post-extract:
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DJBDNS_DIST} ${EXTRACT_AFTER_ARGS})
post-patch:
- @${ECHO_CMD} "${QMAIL_DIR}" > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${LOCALBASE}" > ${WRKSRC}/conf-ucspi-tcp
@@ -45,4 +47,4 @@ post-patch:
pre-build:
@(cd ${WRKSRC} && ${MAKE} djbdns=${DJBDNS_NAME} -f Makefile.ini)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>