[49011] trunk/dports/print/pdflib/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Apr 1 15:24:11 PDT 2009
Revision: 49011
http://trac.macports.org/changeset/49011
Author: mcalhoun at macports.org
Date: 2009-04-01 15:24:10 -0700 (Wed, 01 Apr 2009)
Log Message:
-----------
pdflib: Add modeline and whitespace changes.
Modified Paths:
--------------
trunk/dports/print/pdflib/Portfile
Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile 2009-04-01 22:00:48 UTC (rev 49010)
+++ trunk/dports/print/pdflib/Portfile 2009-04-01 22:24:10 UTC (rev 49011)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -10,18 +11,23 @@
maintainers nomaintainer
use_parallel_build yes
description PDFlib Lite (Source Code) is a subset of PDFlib
-long_description ${description}, a library of C routines that allow to programmatically\
- generate PDF, the Adobe's Portable Document File format. \
+long_description \
+ ${description}, a library of C routines that allow to programmatically\
+ generate PDF, the Adobe's Portable Document File format. \
homepage http://www.pdflib.com/products/pdflib-family/pdflib-lite/
-master_sites http://www.pdflib.com/binaries/PDFlib/[string map {"." ""} ${version}]/
+master_sites http://www.pdflib.com/binaries/PDFlib/[string map {"." ""} ${version}]/
distname PDFlib-Lite-${version}
-checksums md5 97bcdd73206bae30b322f49d2c0d852b \
- sha1 f63950303de23b9c13e9fdf5d6aa6ecae1ddc542 \
- rmd160 90f91e2ff08e0280dce63801899162411889f0b7
-patchfiles patch-config-mkcommon.inc.diff patch-libs__pdcore__pc_util.diff \
- patch-perl_Makefile.diff
+checksums \
+ md5 97bcdd73206bae30b322f49d2c0d852b \
+ sha1 f63950303de23b9c13e9fdf5d6aa6ecae1ddc542 \
+ rmd160 90f91e2ff08e0280dce63801899162411889f0b7
+
+patchfiles \
+ patch-config-mkcommon.inc.diff patch-libs__pdcore__pc_util.diff \
+ patch-perl_Makefile.diff
+
test.run yes
configure.args --without-java --without-perl --without-py --without-tcl --without-ruby
@@ -29,7 +35,7 @@
post-patch {
reinplace "s/PYTHONLIBDIR=`cat << EOF | python/PYTHONLIBDIR=`cat << EOF | \$PYTHONBIN/g" \
- ${worksrcpath}/configure
+ ${worksrcpath}/configure
}
post-destroot {
@@ -54,7 +60,7 @@
configure.args-delete --without-py
configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
-
+
post-destroot {
# Python requires .so extension
ln -s pdflib_py.dylib ${destroot}${frameworks_dir}/Python.framework/Versions/2.4/lib/python2.4/pdflib_py.so
@@ -72,7 +78,7 @@
configure.args-delete --without-py
configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
-
+
post-destroot {
# Python requires .so extension
ln -s pdflib_py.dylib ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5/pdflib_py.so
@@ -106,9 +112,9 @@
variant ruby description {Enable Ruby language binding} {
depends_lib-append port:ruby
pre-configure {
- set rubyIncl [file dirname [glob ${prefix}/lib/ruby/*/*/ruby.h]]
- configure.args-delete --without-ruby
- configure.args-append --with-ruby=${prefix} --with-rubyincl=${rubyIncl}
+ set rubyIncl [file dirname [glob ${prefix}/lib/ruby/*/*/ruby.h]]
+ configure.args-delete --without-ruby
+ configure.args-append --with-ruby=${prefix} --with-rubyincl=${rubyIncl}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090401/b648036f/attachment.html>
More information about the macports-changes
mailing list