mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
b37a059dc7
- USES=gmake - Stagify - Use OPTIONS_SUB - Install whatever docs would be installed by the installer. Ruby 1.9 is encoding aware, and it can't open a non US-ASCII file if LANG is unset (or if LANG mismatches the encoding of the file.) maintainer timeout. PR: ports/183413 Submitted by: mat
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# Created by: Janos.Mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zonecheck
|
|
PORTVERSION= 3.0.5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= dns ipv6 ruby
|
|
MASTER_SITES= http://www.zonecheck.fr/download/ \
|
|
ftp://ftp.nic.fr/pub/mirror/zonecheck/src/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Perform consistency checks on DNS zones
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/GPL
|
|
|
|
RUN_DEPENDS= rubygem-dnsruby>=1.47:${PORTSDIR}/dns/rubygem-dnsruby
|
|
|
|
USES= gmake
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
DOCS= BUGS CREDITS HISTORY INSTALL README TODO
|
|
|
|
OPTIONS_DEFINE= CGI
|
|
OPTIONS_DEFAULT=
|
|
OPTIONS_SUB=
|
|
|
|
CGI_DESC= Install with CGI support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
ZONECHECK_TARGET= common cli
|
|
|
|
.if ${PORT_OPTIONS:MCGI}
|
|
ZONECHECK_TARGET+= cgi
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${INSTALL_WRKSRC} && \
|
|
${SETENV} LANG=en_US.UTF-8 ${RUBY} ./installer.rb ${ZONECHECK_TARGET} \
|
|
-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
|
|
-DWWWDIR="${PREFIX}/www/${PORTNAME}" -DCHROOT="${STAGEDIR}"
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|