openbsd-ports/net/dnsmasq/Makefile
alek 65f7e65c03 Import dnsmasq 2.22
Dnsmasq is lightweight, easy to configure DNS forwarder and
DHCP server. It is designed to provide DNS and, optionally,
DHCP, to a small network. It can serve the names of local
machines which are not in the global DNS. The DHCP server
integrates with the DNS server and allows machines with
DHCP-allocated addresses to appear in the DNS with names
configured either in each host or in a central configuration
file. Dnsmasq supports static and dynamic DHCP leases and BOOTP
for network booting of diskless machines. 

From Jonathan Weiss <jw@innerewut.de>
2005-05-23 18:46:58 +00:00

33 lines
744 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2005/05/23 18:46:58 alek Exp $
COMMENT= "caching DNS forwarder and DHCP server"
DISTNAME= dnsmasq-2.22
CATEGORIES= net
MAINTAINER= Jonathan Weiss <jw@innerewut.de>
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
NO_REGRESS= Yes
pre-build:
@perl -pi -e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" \
${WRKSRC}/dnsmasq.8 ${WRKSRC}/src/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples
${INSTALL_MAN} ${WRKSRC}/dnsmasq.8 ${PREFIX}/man/man8
.include <bsd.port.mk>