[61417] trunk/dports/graphics/jbigkit/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 10 16:31:59 PST 2009


Revision: 61417
          http://trac.macports.org/changeset/61417
Author:   ryandesign at macports.org
Date:     2009-12-10 16:31:57 -0800 (Thu, 10 Dec 2009)
Log Message:
-----------
jbigkit: whitespace/formatting changes only

Modified Paths:
--------------
    trunk/dports/graphics/jbigkit/Portfile

Modified: trunk/dports/graphics/jbigkit/Portfile
===================================================================
--- trunk/dports/graphics/jbigkit/Portfile	2009-12-10 23:54:21 UTC (rev 61416)
+++ trunk/dports/graphics/jbigkit/Portfile	2009-12-11 00:31:57 UTC (rev 61417)
@@ -1,64 +1,66 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem			1.0
+PortSystem              1.0
 
-name				jbigkit
-version				2.0
-categories			graphics
-maintainers			nomaintainer
-description			Data compression algorithm for bi-level high-res images
-long_description \
-	JBIG-KIT provides a portable library of compression and decompression \
-	functions with a documented interface that you can very easily include \
-	into your image or document processing software. In addition, JBIG-KIT \
-	provides ready-to-use compression and decompression programs with a \
-	simple command line interface (similar to the converters found in netpbm).
+name                    jbigkit
+version                 2.0
+categories              graphics
+platforms               darwin
+maintainers             nomaintainer
 
-platforms			darwin
+description             Data compression algorithm for bi-level high-res images
 
-homepage			http://www.cl.cam.ac.uk/~mgk25/${name}
-master_sites			http://www.cl.cam.ac.uk/~mgk25/download/
+long_description        JBIG-KIT provides a portable library of compression \
+                        and decompression functions with a documented \
+                        interface that you can very easily include into your \
+                        image or document processing software. In addition, \
+                        JBIG-KIT provides ready-to-use compression and \
+                        decompression programs with a simple command line \
+                        interface (similar to the converters found in netpbm).
 
-checksums			md5 3dd87f605abb1a97a22dc79d8b3e8f6c \
-                    sha1 cfb7d3121f02a74bfb229217858a0d149b6589ef \
-                    rmd160 4b1b8358203c2bd86e034703d666c1453c60e572
+homepage                http://www.cl.cam.ac.uk/~mgk25/${name}
+master_sites            http://www.cl.cam.ac.uk/~mgk25/download/
 
-worksrcdir			${name}
+checksums               md5     3dd87f605abb1a97a22dc79d8b3e8f6c \
+                        sha1    cfb7d3121f02a74bfb229217858a0d149b6589ef \
+                        rmd160  4b1b8358203c2bd86e034703d666c1453c60e572
 
-patchfiles			patch-Makefile
+worksrcdir              ${name}
 
+patchfiles              patch-Makefile
+
 configure {
     reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
     reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
 }
 
-test.run		yes
-test.target		test
+test.run                yes
+test.target             test
 
 destroot {
     xinstall -m 755 -d \
         ${destroot}${prefix}/share/doc/${name} \
         ${destroot}${prefix}/share/examples
-	xinstall -m 755 -W ${worksrcpath}/pbmtools jbgtopbm pbmtojbg \
-		${destroot}${prefix}/bin
-	xinstall -m 644 -W ${worksrcpath}/pbmtools jbgtopbm.1 pbmtojbg.1 \
-		${destroot}${prefix}/share/man/man1
-	xinstall -m 644 -W ${worksrcpath}/libjbig jbig.h jbig_ar.h \
-		${destroot}${prefix}/include
-	xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.a \
-		${destroot}${prefix}/lib
-	xinstall -m 644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING INSTALL TODO \
-		${destroot}${prefix}/share/doc/${name}
-	copy ${worksrcpath}/examples \
-		${destroot}${prefix}/share/examples/${name}
+    xinstall -m 755 -W ${worksrcpath}/pbmtools jbgtopbm pbmtojbg \
+        ${destroot}${prefix}/bin
+    xinstall -m 644 -W ${worksrcpath}/pbmtools jbgtopbm.1 pbmtojbg.1 \
+        ${destroot}${prefix}/share/man/man1
+    xinstall -m 644 -W ${worksrcpath}/libjbig jbig.h jbig_ar.h \
+        ${destroot}${prefix}/include
+    xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.a \
+        ${destroot}${prefix}/lib
+    xinstall -m 644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING INSTALL TODO \
+        ${destroot}${prefix}/share/doc/${name}
+    copy ${worksrcpath}/examples \
+        ${destroot}${prefix}/share/examples/${name}
 }
 
-set name_version     ${version}
-set install_version  [join [lrange [split ${version} .] 0 0] .]
+set name_version        ${version}
+set install_version     [join [lrange [split ${version} .] 0 0] .]
 
 platform darwin {
-	patchfiles-append	patch-libjbig_Makefile_darwin
+    patchfiles-append   patch-libjbig_Makefile_darwin
 
     post-patch {
         reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" \
@@ -69,14 +71,14 @@
             ${worksrcpath}/libjbig/Makefile
     }
 
-	post-destroot {
-		xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.${name_version}.dylib \
-			${destroot}${prefix}/lib
-		ln -s libjbig.${name_version}.dylib ${destroot}${prefix}/lib/libjbig.${install_version}.dylib
-		ln -s libjbig.${name_version}.dylib ${destroot}${prefix}/lib/libjbig.dylib
-	}
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath}/libjbig libjbig.${name_version}.dylib \
+            ${destroot}${prefix}/lib
+        ln -s libjbig.${name_version}.dylib ${destroot}${prefix}/lib/libjbig.${install_version}.dylib
+        ln -s libjbig.${name_version}.dylib ${destroot}${prefix}/lib/libjbig.dylib
+    }
 }
 
-livecheck.type  regex
-livecheck.url   ${master_sites}
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.type          regex
+livecheck.url           ${master_sites}
+livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091210/8c9ceaf8/attachment.html>


More information about the macports-changes mailing list