aboutsummaryrefslogtreecommitdiffstats
path: root/dns/zonenotify/Makefile
blob: 9ac6796be9d9bd752a6962c2358a4d837336e6c4 (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:   zonenotify
# Date created:     19 August 2005
# Whom:         Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   zonenotify
PORTVERSION=    0.1
CATEGORIES= dns
MASTER_SITES=   http://morettoni.net/bsd/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A dns notify sender written in C

MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/zonenotify
WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
        ${WRKSRC}/Makefile

do-build:
    ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/zonenotify.c

.include <bsd.port.mk>