# $Id: Portfile 56184 2009-08-25 06:11:10Z ryandesign@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/

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}

