# $Id: Portfile,v 1.5 2005/11/28 10:21:08 mww Exp $

PortSystem 1.0
name		linuxdoc
version		1.1
categories	textproc
maintainers	mij@opendarwin.org
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

configure	{}
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}

