a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20419 2006-11-03 02:16:26Z jberry@macports.org $
PortSystem 1.0
name gdsreader
version 0.3
categories graphics cad
maintainers nomaintainer@macports.org
description Calma (GDSii) reader/parser/print tool
long_description gdsreader is a Calma (GDSii) reader/parser/print \
tool. It is meant as a fast tool to get info about \
Calma files contents and to print it to PostScript \
and HPGL-2 formats.
homepage http://home.netcom.com/~serbanp
master_sites ${homepage}
distname GDSreader.${version}
checksums md5 9b3f495bdf984f554013a713076910e8
platforms darwin freebsd
patchfiles patch-GDSboundary.c \
patch-GDSpath.c \
patch-GDSmain.c
use_configure no
build.target ${name}
test.run yes
test.cmd ./gdsreader
test.pre_args -c layers.config -i test.gds -s Bandgap
test.post_args -p test.ps -H test.hpgl > test.stdout
destroot {
cd ${worksrcpath}
xinstall -d -m 0755 ${destroot}${prefix}/bin
xinstall -m 0755 gdsreader ${destroot}${prefix}/bin
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 ChangeLog README layers.config test.gds \
${destroot}${prefix}/share/doc/${name}
}