2001-01-09 10:25:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2001/01/09 15:25:25 camield Exp $
|
2000-07-13 04:56:19 -04:00
|
|
|
|
2001-01-09 10:25:25 -05:00
|
|
|
DISTNAME= djbdns-1.03
|
2000-07-13 04:56:19 -04:00
|
|
|
HOMEPAGE= http://cr.yp.to/djbdns.html
|
|
|
|
CATEGORIES= net
|
2000-09-25 03:40:09 -04:00
|
|
|
MAINTAINER= Camiel Dobbelaar <cd@sentia.nl>
|
2000-07-13 04:56:19 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://cr.yp.to/djbdns/ \
|
|
|
|
ftp://ftp.id.wustl.edu/pub/qmail/
|
|
|
|
|
2001-01-09 10:25:25 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2000-07-13 04:56:19 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
ALL_TARGET= default
|
|
|
|
INSTALL_TARGET= setup check
|
|
|
|
|
2000-09-18 03:40:26 -04:00
|
|
|
RUN_DEPENDS= supervise::sysutils/daemontools \
|
|
|
|
tcpclient::net/ucspi-tcp
|
2000-07-13 04:56:19 -04:00
|
|
|
|
2001-01-09 10:25:25 -05:00
|
|
|
FLAVORS= man
|
|
|
|
FLAVOR?=
|
2000-12-23 12:57:47 -05:00
|
|
|
|
2000-07-13 04:56:19 -04:00
|
|
|
pre-build:
|
|
|
|
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
|
|
@echo ${PREFIX} > ${WRKSRC}/conf-home
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@echo ${PREFIX} > ${WRKSRC}/conf-home
|
|
|
|
|
2001-01-09 10:25:25 -05:00
|
|
|
|
|
|
|
# Start of -man specific overrides
|
|
|
|
.if ${FLAVOR:L:Mman}
|
|
|
|
|
|
|
|
MASTER_SITES0= ftp://ftp.innominate.org/gpa/djb/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-man${EXTRACT_SUFX}:0
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= No
|
|
|
|
|
|
|
|
MAN5LIST= qualification
|
|
|
|
MAN1LIST= dnsfilter dnsipq dnsname dnsqr dnstxt dnsip \
|
|
|
|
dnsmx dnsq dnstrace dnstracesort
|
|
|
|
MAN8LIST= axfr-get dnscache pickdns rbldns tinydns axfrdns \
|
|
|
|
pickdns-conf rbldns-conf tinydns-conf walldns-conf \
|
|
|
|
dnscache-conf pickdns-data rbldns-data tinydns-data \
|
|
|
|
walldns
|
|
|
|
|
2000-12-23 12:57:47 -05:00
|
|
|
post-install:
|
|
|
|
.for mtype in 1 5 8
|
|
|
|
. for file in ${MAN${mtype}LIST}
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}-man/${file}.${mtype} \
|
|
|
|
${PREFIX}/man/man${mtype}
|
|
|
|
. endfor
|
|
|
|
.endfor
|
|
|
|
|
2001-01-09 10:25:25 -05:00
|
|
|
.endif
|
|
|
|
# End of -man specific overrides
|
|
|
|
|
2000-07-13 04:56:19 -04:00
|
|
|
.include <bsd.port.mk>
|