1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/dns/dnsdoctor/Makefile
Sergei Kolobov 9328497815 Add dns/dnsdoctor:
DNSdoctor is intended to help solving misconfigurations or inconsistencies
of DNS zone files.
Features

    * Powerful configuration file
    * Does not depend on policies
    * Fine grained test selection (by test, by categories, by zones)
    * Full IPv6 support (connectivity and AAAA records)
    * Supports several input/output interfaces such as CLI, GUI, CGI
    * Dedicated mode for use inside shell scripts
    * Batch mode available (ideal when dealing with several domains)
    * Multi-threaded application in order to cut down checking time
    * Extensible: new tests, new interfaces, new reports, ...
    * Exception and cache mechanisms to simplify test writting

WWW: http://www.dnsdoctor.org/

PR:		ports/71819
Submitted by:	Janos Mohacsi <janos.mohacsi@niif.hu>
2004-11-06 23:35:30 +00:00

57 lines
1.2 KiB
Makefile

# New ports collection makefile for: dnsdoctor
# Date created: 2004-09-10
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= dnsdoctor
PORTVERSION= 1.0.0
CATEGORIES= dns ipv6 ruby
MASTER_SITES= http://www.dnsdoctor.org/download/src/
MASTER_SITE_SUBDIR= ${PORTNAME}/src
EXTRACT_SUFX= .tgz
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Perform consistency checks on DNS zones
.if defined(WITH_X11)
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
.endif
USE_RUBY= yes
RUBY_VER= 1.8
USE_RUBY_FEATURES= ruby18
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= dnsdoctor.1
DOCS= INSTALL README HISTORY doc/*.html doc/*.png
DNSDOCTOR_TARGET= configure common cli
.if defined(WITH_DNSDOCTOR_CGI)
DNSDOCTOR_TARGET+= cgi
PLIST_SUB+= DNSDOCTOR_CGI=""
.else
PLIST_SUB+= DNSDOCTOR_CGI="@comment "
pre-everything::
@${ECHO_MSG} "Use WITH_DNSDOCTOR_CGI=yes to install with CGI support"
.endif
do-install:
@cd ${INSTALL_WRKSRC} && \
${RUBY} ./installer.rb ${DNSDOCTOR_TARGET} \
-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
-DWWWDIR="${PREFIX}/www/${PORTNAME}"
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>