summaryrefslogtreecommitdiff
path: root/mail/qmail-conf/Makefile
blob: eb797c16e6fc94b0aef05bf815a526475363a041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.9 2002/01/21 18:51:30 zuntum Exp $
#

DISTNAME=	qmail-conf-0.60
CATEGORIES=	mail
MASTER_SITES=	http://www.din.or.jp/~ushijima/qmail-conf/		\
		http://cr.yp.to/djbdns/					\
		ftp://cr.yp.to/djbdns/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} djbdns-1.05${EXTRACT_SUFX}

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://www.din.or.jp/~ushijima/qmail-conf/
COMMENT=	collection of tools for setting up qmail services

DEPENDS+=	qmail>=1.03nb1:../../mail/qmail
DEPENDS+=	checkpassword-[0-9]*:../../sysutils/checkpassword

ALL_TARGET=	#
INSTALL_TARGET= setup check

.include "../../mk/bsd.prefs.mk"

NO_MTREE=	YES
LOCALBASE=	/

post-patch:
	${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
	${ECHO} ${CC} ${STRIPFLAG} > ${WRKSRC}/conf-ld
	${ECHO} ${LOCALBASE} > ${WRKSRC}/conf-ucspi-tcp
	${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail

pre-build:
	cd ${WRKSRC} && ${MAKE} -f Makefile.ini djbdns="../djbdns-1.05"

.include "../../mk/bsd.pkg.mk"