[36163] trunk/dports/textproc/pdftk/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Apr 19 22:16:47 PDT 2008


Revision: 36163
          http://trac.macosforge.org/projects/macports/changeset/36163
Author:   ryandesign at macports.org
Date:     2008-04-19 22:16:46 -0700 (Sat, 19 Apr 2008)

Log Message:
-----------
pdftk: whitespace changes only (tabs to spaces)

Modified Paths:
--------------
    trunk/dports/textproc/pdftk/Portfile

Modified: trunk/dports/textproc/pdftk/Portfile
===================================================================
--- trunk/dports/textproc/pdftk/Portfile	2008-04-20 05:15:32 UTC (rev 36162)
+++ trunk/dports/textproc/pdftk/Portfile	2008-04-20 05:16:46 UTC (rev 36163)
@@ -1,101 +1,101 @@
 # $Id$
 
-PortSystem          1.0
+PortSystem              1.0
 
-name                pdftk
-version             1.41
-revision            1
-categories          textproc graphics pdf
-maintainers         ryandesign
-platforms           darwin
-homepage            http://www.pdfhacks.com/pdftk/
-master_sites        ${homepage}
-use_bzip2           yes
-worksrcdir          ${distname}/${name}
-use_configure       no
-universal_variant   no
+name                    pdftk
+version                 1.41
+revision                1
+categories              textproc graphics pdf
+maintainers             ryandesign
+platforms               darwin
+homepage                http://www.pdfhacks.com/pdftk/
+master_sites            ${homepage}
+use_bzip2               yes
+worksrcdir              ${distname}/${name}
+use_configure           no
+universal_variant       no
 
 description \
-	pdftk - PDF Toolkit, for various operations on PDF files
+    pdftk - PDF Toolkit, for various operations on PDF files
 
 long_description \
-	pdftk is a simple tool for doing everyday things with PDF documents: \
-	Merge PDF Documents \
-	Split PDF Pages into a New Document \
-	Decrypt Input as Necessary (Password Required) \
-	Encrypt Output as Desired \
-	Fill PDF Forms with FDF Data and/or Flatten Forms \
-	Apply a Background Watermark \
-	Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels \
-	Update PDF Metadata \
-	Attach Files to PDF Pages or the PDF Document \
-	Unpack PDF Attachments \
-	Burst a PDF Document into Single Pages \
-	Uncompress and Re-Compress Page Streams \
-	Repair Corrupted PDF (Where Possible)
+    pdftk is a simple tool for doing everyday things with PDF documents: \
+    Merge PDF Documents \
+    Split PDF Pages into a New Document \
+    Decrypt Input as Necessary (Password Required) \
+    Encrypt Output as Desired \
+    Fill PDF Forms with FDF Data and/or Flatten Forms \
+    Apply a Background Watermark \
+    Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels \
+    Update PDF Metadata \
+    Attach Files to PDF Pages or the PDF Document \
+    Unpack PDF Attachments \
+    Burst a PDF Document into Single Pages \
+    Uncompress and Re-Compress Page Streams \
+    Repair Corrupted PDF (Where Possible)
 
 checksums \
-	md5 7214230b937dc996d209c05b7b7b3518 \
-	sha1 e5eb83dd96dbda68072efe8f2637aad59f50dffc
+    md5 7214230b937dc996d209c05b7b7b3518 \
+    sha1 e5eb83dd96dbda68072efe8f2637aad59f50dffc
 
 depends_lib \
-	port:libiconv
+    port:libiconv
 
 set toolpath ${prefix}/bin/
 set versuff ""
 
 pre-fetch {
-	if {![file exists ${toolpath}gcj${versuff}]} {
-		return -code error "
+    if {![file exists ${toolpath}gcj${versuff}]} {
+        return -code error "
 
 Cannot build ${name} because ${toolpath}gcj${versuff}
 is missing, possibly because of this gcc bug:
 
 http://trac.macports.org/projects/macports/ticket/13553
 "
-	}
+    }
 }
 
 pre-build {
-	reinplace "s|^\\(CPPFLAGS=\\)|\\1 ${configure.cppflags}|" ${worksrcpath}/Makefile.MacOSX
-	reinplace "s|^\\(CXXFLAGS=\\)|\\1 ${configure.cxxflags} ${configure.ldflags}|" ${worksrcpath}/Makefile.MacOSX
-	build.args-append   TOOLPATH=${toolpath} VERSUFF=${versuff}
+    reinplace "s|^\\(CPPFLAGS=\\)|\\1 ${configure.cppflags}|" ${worksrcpath}/Makefile.MacOSX
+    reinplace "s|^\\(CXXFLAGS=\\)|\\1 ${configure.cxxflags} ${configure.ldflags}|" ${worksrcpath}/Makefile.MacOSX
+    build.args-append   TOOLPATH=${toolpath} VERSUFF=${versuff}
 }
 
 build.args \
-	-f Makefile.MacOSX
+    -f Makefile.MacOSX
 
 destroot {
-	xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
-	xinstall -m 755 -W ${worksrcpath} pdftk ${destroot}/${prefix}/bin
-	xinstall -m 644 -W ${worksrcpath}/.. pdftk.1.html pdftk.1.txt \
-		${destroot}/${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/../debian pdftk.1 \
-		${destroot}/${prefix}/share/man/man1
+    xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
+    xinstall -m 755 -W ${worksrcpath} pdftk ${destroot}/${prefix}/bin
+    xinstall -m 644 -W ${worksrcpath}/.. pdftk.1.html pdftk.1.txt \
+        ${destroot}/${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath}/../debian pdftk.1 \
+        ${destroot}/${prefix}/share/man/man1
 }
 
 variant with_gcc34 conflicts with_gcj34 with_gcc41 with_gcc42 i386 description {Build using gcc34 (PowerPC only)} {
-	depends_lib-append  port:gcc34
-	set versuff         -dp-3.4
+    depends_lib-append  port:gcc34
+    set versuff         -dp-3.4
 }
 
 variant with_gcj34 conflicts with_gcc34 with_gcc41 with_gcc42 i386 description {Build using gcj34 (PowerPC only)} {
-	depends_lib-append  port:gcj34
-	set toolpath        ${prefix}/gcj34-3.4.6/bin/
+    depends_lib-append  port:gcj34
+    set toolpath        ${prefix}/gcj34-3.4.6/bin/
 }
 
 variant with_gcc41 conflicts with_gcc34 with_gcj34 with_gcc42 i386 description {Build using gcc41 (PowerPC only)} {
-	depends_lib-append  port:gcc41
-	set versuff         -mp-4.1
+    depends_lib-append  port:gcc41
+    set versuff         -mp-4.1
 }
 
 variant with_gcc42 conflicts with_gcc34 with_gcj34 with_gcc41 description {Build using gcc42 (default)} {
-	depends_lib-append  port:gcc42
-	set versuff         -mp-4.2
+    depends_lib-append  port:gcc42
+    set versuff         -mp-4.2
 }
 
 platform i386 {}
 
 if { ![variant_isset with_gcc34] && ![variant_isset with_gcj34] && ![variant_isset with_gcc41] && ![variant_isset with_gcc42] } {
-	default_variants    +with_gcc42
+    default_variants    +with_gcc42
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080419/cdc87431/attachment-0001.html


More information about the macports-changes mailing list