mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
db507233f4
PR: ports/70448 Submitted by: maintainer
33 lines
876 B
Makefile
33 lines
876 B
Makefile
# New ports collection makefile for: dnsmasq
|
|
# Date created: 1 June 2003
|
|
# Whom: Steven Honson <steven@honson.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dnsmasq
|
|
PORTVERSION= 2.13
|
|
CATEGORIES= dns
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
|
|
|
MAINTAINER= steven@honson.org
|
|
COMMENT= Lightweight, easy to configure DNS forwarder and DHCP server
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MAN8= dnsmasq.8
|
|
PLIST_FILES= sbin/dnsmasq etc/dnsmasq.conf.example etc/rc.d/dnsmasq.sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CC = gcc|CC?=cc|g ; \
|
|
s|^CFLAGS = -O2|CFLAGS+=-O2|g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc/dnsmasq.conf.example
|
|
${INSTALL_SCRIPT} ${FILESDIR}/dnsmasq.sh ${PREFIX}/etc/rc.d/dnsmasq.sh
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|