aboutsummaryrefslogtreecommitdiffstats
path: root/dns/vizone/Makefile
blob: 15dad66660c31b9c5dacea2411c4405a87f3cd83 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   vizone
PORTVERSION=    0.1
CATEGORIES= dns
MASTER_SITES=   CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Updates the serial number in one or more zonefiles

USES=       shebangfix perl5
USE_PERL5=  run
NO_BUILD=   yes

SHEBANG_FILES=  updserial

PORTEXAMPLES=   example.tld
PLIST_FILES=    bin/vizone bin/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>