2007-08-13 21:37:31 +00:00
|
|
|
# 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
|
2008-03-27 19:27:34 +00:00
|
|
|
MASTER_SITES= CRITICAL
|
2007-08-13 21:37:31 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2007-08-15 11:40:37 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-08-13 21:37:31 +00:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example.tld ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|