blob: f5573d77d0ee3cdc38063f5773c8e57ed9e183b5 (
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
36
37
38
|
PORTNAME= djbdns
PORTVERSION= 1.05
CATEGORIES= dns
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/ \
http://smarden.org/pape/djb/manpages/:manpages
PKGNAMESUFFIX= -tools
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME}-man-20031023.tar.gz:manpages
MAINTAINER= ports@FreeBSD.org
COMMENT= Resolver tools from djbdns package
CONFLICTS= djbdns
PROGRAMS= dnsip dnsipq dnsname dnstxt dnsmx dnsfilter \
random-ip dnsqr dnsq dnstrace
SCRIPTS= dnstracesort
MANPAGES= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
dnsq.1 dnsqr.1 dnstrace.1 dnstracesort.1 dnstxt.1
ALL_TARGET= it
do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKSRC} && \
${INSTALL_PROGRAM} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin && \
${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKDIR}/djbdns-man && \
${INSTALL_MAN} ${MANPAGES} ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
|