openbsd-ports/net/dnsmasq/Makefile

38 lines
889 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2011/01/10 22:08:26 ajacoutot Exp $
COMMENT= caching DNS forwarder and DHCP server
DISTNAME= dnsmasq-2.55
CATEGORIES= net
2008-02-14 16:36:27 -05:00
MAINTAINER= Rui Reis <rui@openbsd.org>
2005-09-05 16:21:01 -04:00
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
# GPLv2/GPLv3
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/
2009-03-08 17:04:16 -04:00
MAKE_ENV= CC="${CC}"
2010-10-18 14:36:45 -04:00
USE_GROFF = Yes
NO_REGRESS= Yes
pre-build:
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 \
${WRKSRC}/src/config.h \
${WRKSRC}/dnsmasq.conf.example
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
${INSTALL_MAN} ${WRKSRC}/man/dnsmasq.8 ${PREFIX}/man/man8
.include <bsd.port.mk>