# $Id: Portfile 20373 2006-11-02 19:27:25Z blair@macports.org $ PortSystem 1.0 name transfig version 3.2.4 description Tools to convert Xfig's .fig files long_description TransFig is a set of tools for creating TeX documents with \ graphics which are portable, in the sense that they can be \ printed in a wide variety of environments. \ Drivers currently exist for the following graphics langauges: \ (E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, \ PostScript, and TeXtyl. platforms darwin categories print graphics maintainers pguyot@kallisys.net homepage http://xfig.org/ master_sites http://xfig.org/software/xfig/3.2.4/ \ ftp://www-epb.lbl.gov/xfig/ distname ${name}.${version} distfiles ${distname}${extract.suffix} checksums md5 742de0f7a3cae74d247bbd0c70dd9dd7 \ sha1 edfec1865dbfe9e7a06ae8be016f1a489b3d307d depends_lib lib:libpng:libpng depends_run bin:ppmtogif:netpbm use_xmkmf yes patchfiles patch-fig2dev-dev-gensvg.c \ patch-fig2dev-dev-Imakefile \ patch-fig2dev-Imakefile \ patch-fig2dev-fig2dev.h \ patch-transfig-Imakefile post-patch { reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/Imakefile reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/Imakefile reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/dev/Imakefile reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/dev/Imakefile reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/transfig/Imakefile reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/transfig/Imakefile } destroot.target install install.man