# $Id$ PortSystem 1.0 name oregano version 0.69.0 revision 1 categories gnome science maintainers nomaintainer description A graphical software application for schematic capture and simulation of electrical circuits. long_description ${description} platforms darwin # # official homepage and master_sites seem to be dead # #homepage http://oregano.gforge.lug.fi.uba.ar/index.php #master_sites http://gforge.lug.fi.uba.ar/frs/download.php/86/ homepage http://en.wikipedia.org/wiki/Oregano_(software) master_sites gentoo checksums md5 f98abc5c79cc733b49cd07995afc9c1e \ sha1 1fd3a7396a596a2f9016dbc682c7d37771148205 \ rmd160 ea71522aca807b82f8ce50d598014e518fdd08e7 depends_build port:pkgconfig \ port:scons depends_lib port:libgnomeui \ port:libgnomecanvas \ port:gtksourceview patchfiles patch-SConstruct.diff post-patch { reinplace "s|@MP_PREFIX@|${prefix}|" ${worksrcpath}/SConstruct } use_configure no build.cmd scons build.target PREFIX=${prefix} destroot.cmd scons # Make sure DESTDIR's value has a slash at the end... destroot.destdir DESTDIR=${destroot}/ destroot.target install PREFIX=${prefix} RunUpdateMimeDatabase=no post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/help/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README TODO \ ${destroot}${prefix}/share/doc/${name} eval copy [glob ${worksrcpath}/help/*] \ ${destroot}${prefix}/share/help/${name} } livecheck.type regex livecheck.url http://mirror.facebook.net/gentoo/distfiles/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"