[96716] trunk/dports/print/transfig/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 17 14:57:29 PDT 2012


Revision: 96716
          https://trac.macports.org/changeset/96716
Author:   ryandesign at macports.org
Date:     2012-08-17 14:57:29 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
transfig: whitespace and formatting adjustments; add modeline

Modified Paths:
--------------
    trunk/dports/print/transfig/Portfile

Modified: trunk/dports/print/transfig/Portfile
===================================================================
--- trunk/dports/print/transfig/Portfile	2012-08-17 21:56:34 UTC (rev 96715)
+++ trunk/dports/print/transfig/Portfile	2012-08-17 21:57:29 UTC (rev 96716)
@@ -1,59 +1,69 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem			1.0
+PortSystem          1.0
 
-name				transfig
-version				3.2.5d
-revision                        1
+name                transfig
+version             3.2.5d
+revision            1
+categories          print graphics
+platforms           darwin
+license             Permissive
+maintainers         nomaintainer
 
-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 \
-					languages: (E)EPIC macros, LaTeX picture environment, PIC, \
-					PiCTeX, PostScript, and TeXtyl.
-platforms			darwin
-categories			print graphics
-license				Permissive
-maintainers			nomaintainer
-homepage			http://xfig.org/
-master_sites		sourceforge:mcj
-distname			${name}.${version}
-checksums			md5     f9eac7f265668ecbfda6aaf7581989ad \
-					sha1    90ff277cc9b3fa0d0313052fcf5e3ffad8652abc \
-					rmd160  6d6aff522bd9e886029bf317e7b9dcd495a5c0ef
-depends_lib			port:libpng \
-					port:xpm
-depends_run			port:netpbm
-use_xmkmf			yes
-patchfiles			patch-fig2dev-dev-Imakefile \
-					patch-fig2dev-Imakefile \
-					patch-transfig-Imakefile
+description         Tools to convert Xfig's .fig files
 
-# https://trac.macports.org/ticket/31504 
-if {${configure.compiler} == "clang"} {  
-    configure.compiler llvm-gcc-4.2  
-} 
+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 \
+                    languages: (E)EPIC macros, LaTeX picture environment, PIC, \
+                    PiCTeX, PostScript, and TeXtyl.
 
+homepage            http://xfig.org/
+master_sites        sourceforge:mcj
+distname            ${name}.${version}
+
+checksums           md5     f9eac7f265668ecbfda6aaf7581989ad \
+                    sha1    90ff277cc9b3fa0d0313052fcf5e3ffad8652abc \
+                    rmd160  6d6aff522bd9e886029bf317e7b9dcd495a5c0ef
+
+depends_lib         port:libpng \
+                    port:xpm
+
+depends_run         port:netpbm
+
+patchfiles          patch-fig2dev-dev-Imakefile \
+                    patch-fig2dev-Imakefile \
+                    patch-transfig-Imakefile
+
+# https://trac.macports.org/ticket/31504
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 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
+    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
+
+use_xmkmf           yes
+
+destroot.target     install install.man
+
 post-destroot {
-	set docdir ${destroot}${prefix}/share/doc/${name}
-	xinstall -d ${docdir}
-	xinstall -m 644 -W ${worksrcpath} \
-		CHANGES \
-		NOTES \
-		README \
-		${docdir}
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        CHANGES \
+        NOTES \
+        README \
+        ${docdir}
 }
 
-livecheck.type	regex
-livecheck.regex	{>Xfig/Transfig (.*) Download</a>}
+livecheck.type      regex
+livecheck.regex     {>Xfig/Transfig (.*) Download</a>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/e2bfe98e/attachment.html>


More information about the macports-changes mailing list