blob: c865ad518667ea263d335897574c3b2d7d172588 (
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
30
31
32
33
34
35
|
# New ports collection makefile for: vizone
# Date created: 13 Aug 2007
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vizone
PORTVERSION= 0.1
CATEGORIES= dns
MASTER_SITES= http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Updates the serialnumber in one or more zonefiles
USE_PERL5_RUN= yes
NO_BUILD= yes
PORTEXAMPLES= example.tld
PLIST_FILES= bin/vizone bin/updserial
post-patch:
@${REINPLACE_CMD} -e '1s|.*|#!${PERL}|' ${WRKSRC}/updserial
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/updserial ${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.tld ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|