34 lines
790 B
Makefile
34 lines
790 B
Makefile
# $OpenBSD: Makefile,v 1.3 2005/10/21 16:20:23 naddy Exp $
|
|
|
|
COMMENT= "caching DNS forwarder and DHCP server"
|
|
|
|
DISTNAME= dnsmasq-2.23
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= Jonathan Weiss <jw@innerewut.de>
|
|
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
|
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= 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>
|