b37c95cf98
- crash at startup when an empty suffix is supplied to --conf-dir - Improve RFC-compliance when unable to supply addresses in DHCPv6 ok sthen@
35 lines
797 B
Makefile
35 lines
797 B
Makefile
# $OpenBSD: Makefile,v 1.40 2014/10/25 08:57:39 brad Exp $
|
|
|
|
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
|
|
|
|
DISTNAME= dnsmasq-2.72
|
|
REVISION= 0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MAKE_ENV= CC="${CC}"
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall -W"
|
|
FAKE_FLAGS= MANDIR="${PREFIX}/man"
|
|
|
|
NO_TEST= Yes
|
|
|
|
pre-build:
|
|
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 ${WRKSRC}/src/config.h \
|
|
${WRKSRC}/dnsmasq.conf.example
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
|
|
|
|
.include <bsd.port.mk>
|