summaryrefslogtreecommitdiff
path: root/dns/zonenotify/Makefile
blob: 9f9a16d9c1344f269766ac249676698289427ff6 (plain)
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
# Created by: Emanuel Haupt <ehaupt@critical.ch>

PORTNAME=	zonenotify
PORTVERSION=	0.1
PORTREVISION=	1
CATEGORIES=	dns
MASTER_SITES=	http://www.morettoni.net/bsd/ \
		LOCAL/ehaupt

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

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

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

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

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>