2009-08-31 18:01:01 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2009/08/31 18:01:01 rui Exp $
|
2005-05-23 18:46:58 +00:00
|
|
|
|
2007-09-15 22:36:51 +00:00
|
|
|
COMMENT= caching DNS forwarder and DHCP server
|
2005-05-23 18:46:58 +00:00
|
|
|
|
2009-06-14 17:07:25 +00:00
|
|
|
DISTNAME= dnsmasq-2.49
|
2009-08-31 18:01:01 +00:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2005-05-23 18:46:58 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2008-02-14 21:36:27 +00:00
|
|
|
MAINTAINER= Rui Reis <rui@openbsd.org>
|
2005-05-23 18:46:58 +00:00
|
|
|
|
2005-09-05 20:21:01 +00:00
|
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
2005-05-23 18:46:58 +00:00
|
|
|
|
2008-06-05 19:38:39 +00:00
|
|
|
# GPLv2/GPLv3
|
2005-05-23 18:46:58 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
|
2005-09-05 20:21:01 +00:00
|
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
2005-05-23 18:46:58 +00:00
|
|
|
|
2009-03-08 21:04:16 +00:00
|
|
|
MAKE_ENV= CC="${CC}"
|
|
|
|
|
2005-05-23 18:46:58 +00:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-build:
|
2009-06-14 17:07:25 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 \
|
|
|
|
${WRKSRC}/src/config.h \
|
|
|
|
${WRKSRC}/dnsmasq.conf.example
|
2005-05-23 18:46:58 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
|
2007-09-26 19:51:33 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
|
2006-07-19 09:15:48 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
|
2005-05-23 18:46:58 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|