2011-01-10 17:08:26 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2011/01/10 22:08:26 ajacoutot Exp $
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= caching DNS forwarder and DHCP server
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2011-01-10 17:08:26 -05:00
|
|
|
DISTNAME= dnsmasq-2.55
|
2005-05-23 14:46:58 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2008-02-14 16:36:27 -05:00
|
|
|
MAINTAINER= Rui Reis <rui@openbsd.org>
|
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
|
|
|
|
2008-06-05 15:38:39 -04:00
|
|
|
# GPLv2/GPLv3
|
2005-05-23 14:46:58 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
|
2005-09-05 16:21:01 -04:00
|
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
2005-05-23 14:46:58 -04:00
|
|
|
|
2009-03-08 17:04:16 -04:00
|
|
|
MAKE_ENV= CC="${CC}"
|
|
|
|
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2005-05-23 14:46:58 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-build:
|
2011-01-10 17:08:26 -05:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 \
|
2009-06-14 13:07:25 -04:00
|
|
|
${WRKSRC}/src/config.h \
|
|
|
|
${WRKSRC}/dnsmasq.conf.example
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
|
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
|
2006-07-19 05:15:48 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
|
2005-05-23 14:46:58 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|