2007-03-17 17:55:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/03/17 21:55:54 jolan Exp $
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
COMMENT= "caching DNS forwarder and DHCP server"
|
|
|
|
|
2007-03-17 17:55:54 -04:00
|
|
|
DISTNAME= dnsmasq-2.38
|
2005-05-23 14:46:58 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= Jonathan Weiss <jw@innerewut.de>
|
|
|
|
|
2005-09-05 16:21:01 -04:00
|
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
|
2005-09-05 16:21:01 -04:00
|
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2005-10-21 12:20:23 -04:00
|
|
|
USE_GMAKE= Yes
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@perl -pi -e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" \
|
2006-07-19 05:15:48 -04:00
|
|
|
${WRKSRC}/man/dnsmasq.8 ${WRKSRC}/src/config.h
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples
|
2006-07-19 05:15:48 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|