# $Id$

PortSystem 1.0
name		idnits
version		2.12.13
categories	textproc
platforms	darwin
maintainers	nomaintainer
license		GPL-2+
supported_archs	noarch

description	Looks for problems in internet draft formatting
long_description	\
	'idnits' looks for violations of Section 2.1 and 2.2 of the \
	requirements listed on http://www.ietf.org/ID-Checklist.html \
	and some of http://www.ietf.org/ietf/1id-guidelines.html
homepage	http://tools.ietf.org/tools/idnits/
master_sites	${homepage}
extract.suffix	.tgz

checksums	rmd160  7b70e51026ec2d4acdfdc0c8cd57ebb6dba64621 \
		sha256  d705b2deee50827deb7323dfd8789a3785651ddc3c070188440a2f921d93435a

use_configure	no

build		{}

destroot	{
	xinstall -m 755 ${worksrcpath}/idnits \
		${destroot}${prefix}/bin/
	
	set docdir ${prefix}/share/doc/${subport}
	xinstall -d ${destroot}${docdir}
	xinstall -m 644 -W ${worksrcpath} \
		about changelog control copyright todo \
		${destroot}${docdir}
}

livecheck.type	regex
livecheck.url	${homepage}distinfo
livecheck.regex	${name}-(\[0-9.\]+)${extract.suffix}