# $Id: Portfile,v 1.8 2005/11/28 10:19:49 mww Exp $

PortSystem 1.0
name		iso8879
version		1986
categories	textproc
maintainers	mij@opendarwin.org
description	Character entity sets from ISO 8879:1986 (SGML)
platforms	darwin

long_description $description

master_sites	freebsd

distname	isoENTS
extract.suffix	.zip
checksums	md5 c8a9561212c1a2ec6e48919640de9c67

use_zip		yes

depends_run	bin:mkcatalog:mkcatalog

configure	{}
build		{}

set instdir	share/sgml/iso8879

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/${instdir}
	xinstall -m 644 ${portpath}/${filesdir}/catalog ${destroot}${prefix}/${instdir}
	eval xinstall -m 644 [glob ${workpath}/ISO*] ${destroot}${prefix}/${instdir}
}

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

