aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsmasq/Makefile
blob: df3b37bddb094ce16b1ed52ee12ee1e4b1c7bf6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    dnsmasq
# Date created:             1 June 2003
# Whom:                 Steven Honson <shonson@isoproplex.net>
#
# $FreeBSD$
#

PORTNAME=   dnsmasq
PORTVERSION=    1.18
CATEGORIES= dns
MASTER_SITES=   http://www.thekelleys.org.uk/dnsmasq/

MAINTAINER= shonson@isoproplex.net
COMMENT=    A caching DNS forwarder

USE_REINPLACE=  yes

MAN8=   dnsmasq.8

post-patch:
    @${REINPLACE_CMD} -e \
    's|^CC = gcc|CC?=cc|g ; \
    s|^CFLAGS = -O2|CFLAGS+=-O2|g' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8

.include <bsd.port.mk>