PortSystem 1.0

name		linuxdoc
version		1.1
categories	textproc
license		none
maintainers	nomaintainer
description	Linuxdoc SGML DTD
platforms	darwin
supported_archs	noarch

long_description ${description}

homepage	http://tldp.org/
master_sites	http://fallout.campusview.indiana.edu/ports/distfiles/ \
		http://dist.bsdlab.org/ \
		freebsd

checksums	md5 7b322f63448a8fd093132d74d3e545b6

set isocat	${prefix}/share/sgml/iso8879/catalog

depends_run	bin:mkcatalog:mkcatalog bin:$isocat:iso8879

use_configure	no
build		{}

set instdir	share/sgml/linuxdoc

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/${instdir}
	xinstall -m 644 ${workpath}/catalog ${destroot}${prefix}/${instdir}
	xinstall -m 644 {*}[glob ${workpath}/*.*] ${destroot}${prefix}/${instdir}
}

destroot.args	prefix=${destroot}${prefix}