openbsd-ports/net/dnsmasq/Makefile

36 lines
852 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.30 2013/03/11 11:35:46 espie Exp $
NOT_FOR_ARCHS= ${GCC2_ARCHS}
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
2012-12-19 14:56:03 -05:00
DISTNAME= dnsmasq-2.65
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
2012-08-18 17:34:33 -04:00
EXTRACT_SUFX= .tar.xz
2005-09-05 16:21:01 -04:00
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
2011-09-07 06:34:26 -04:00
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
2011-09-07 06:34:26 -04:00
WANTLIB= c
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"
2009-03-08 17:04:16 -04:00
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
pre-build:
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 \
${WRKSRC}/src/config.h \
${WRKSRC}/dnsmasq.conf.example
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
.include <bsd.port.mk>