# $Id: Portfile,v 1.1 2004/09/17 00:20:17 mww Exp $

PortSystem 1.0

name			sglib
version			1.0.0
categories		devel
platforms		darwin
maintainers		mww@opendarwin.org
description		useful macros for manipulating common data structures
long_description	sglib is a library defining useful macros manipulating \
					common data structures.

homepage		http://xref-tech.com/sglib/main.html
master_sites	http://xref-tech.com/sglib/
extract.suffix	.tgz
checksums		md5 1067e1533f85fbd144892ee45dbc19cd

use_configure	no

build			{}

destroot	{
	xinstall -m 644 ${worksrcpath}/sglib.h ${destroot}${prefix}/include/
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/samples \
		${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} doc/GenerateDoc doc/index.html \
		doc/index.html.sss doc/sssi README \
		${destroot}${prefix}/share/doc/${name}
}
