c2a0852b28
ok merdely@
35 lines
847 B
Makefile
35 lines
847 B
Makefile
# $OpenBSD: Makefile,v 1.8 2007/09/26 19:51:33 rui Exp $
|
|
|
|
COMMENT= caching DNS forwarder and DHCP server
|
|
|
|
DISTNAME= dnsmasq-2.40
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= Rui Reis <rui@rui.cx>
|
|
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
|
|
# GPLv2
|
|
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}/man/dnsmasq.8 ${WRKSRC}/src/config.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|