# $Id: Portfile 82342 2011-08-12 21:17:02Z jmr@macports.org $

PortSystem 1.0

name		linuxdoc
version		1.1
categories	textproc
maintainers	nomaintainer
description	Linuxdoc SGML DTD
platforms	darwin

long_description ${description}

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}
	eval xinstall -m 644 [glob ${workpath}/*.*] ${destroot}${prefix}/${instdir}
}

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