diff options
Diffstat (limited to 'mail/qmail-conf')
-rw-r--r-- | mail/qmail-conf/Makefile | 14 |
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> |