2014-09-28 13:34:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2014/09/28 17:34:01 brad Exp $
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2012-04-30 02:02:51 -04:00
|
|
|
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
|
|
|
|
|
2014-09-28 13:34:01 -04:00
|
|
|
DISTNAME= dnsmasq-2.72
|
2005-05-23 14:46:58 -04:00
|
|
|
CATEGORIES= net
|
2014-05-01 09:07:17 -04:00
|
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
2012-08-18 17:34:33 -04:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2005-05-23 14:46:58 -04:00
|
|
|
|
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
|
|
|
|
2013-11-02 20:48:45 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
|
2011-09-07 06:34:26 -04:00
|
|
|
# GPLv2+
|
2005-05-23 14:46:58 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2011-09-07 06:34:26 -04:00
|
|
|
|
|
|
|
WANTLIB= c
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2009-03-08 17:04:16 -04:00
|
|
|
MAKE_ENV= CC="${CC}"
|
2011-09-07 06:34:26 -04:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall -W"
|
2013-12-23 16:13:39 -05:00
|
|
|
FAKE_FLAGS= MANDIR="${PREFIX}/man"
|
2009-03-08 17:04:16 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
pre-build:
|
2013-12-23 16:13:39 -05:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 ${WRKSRC}/src/config.h \
|
|
|
|
${WRKSRC}/dnsmasq.conf.example
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2013-12-23 16:13:39 -05:00
|
|
|
post-install:
|
2007-09-26 15:51:33 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|