freebsd-ports/mail/qmail-conf/Makefile
Bryan Drewery 4866ef67b9 - Take maintainership
- Unquote RESTRICTED and shorten
- Remove use of bsd.port.pre.mk
- Fix leftovers
- Convert tab to space in WWW
2013-03-17 17:28:40 +00:00

45 lines
1.1 KiB
Makefile

# Created by: roam@FreeBSD.org
# $FreeBSD$
PORTNAME= qmail-conf
PORTVERSION= 0.60
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.din.or.jp/~ushijima/qmail-conf/ \
http://cr.yp.to/djbdns/
DISTFILES= ${DISTNAME}.tar.gz \
${DJBDNS_DIST}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Configure various qmail services to run under daemontools
USES= qmail:vars
ALL_TARGET= it
INSTALL_TARGET= setup check
RESTRICTED= borrows code from djbdns, thus falls under the same restrictions as dns/djbdns
PREFIX?= ${QMAIL_PREFIX}
NO_MTREE= yes
DJBDNS_VER= 1.05
DJBDNS_NAME= djbdns-${DJBDNS_VER}
DJBDNS_DIST= ${DJBDNS_NAME}${EXTRACT_SUFX}
post-extract:
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DJBDNS_DIST} ${EXTRACT_AFTER_ARGS})
post-patch:
@${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
pre-build:
@(cd ${WRKSRC} && ${MAKE} djbdns=${DJBDNS_NAME} -f Makefile.ini)
.include <bsd.port.mk>