[35888] trunk/dports/print/pdflib

mcalhoun at macports.org mcalhoun at macports.org
Wed Apr 9 04:51:44 PDT 2008


Revision: 35888
          http://trac.macosforge.org/projects/macports/changeset/35888
Author:   mcalhoun at macports.org
Date:     2008-04-09 04:51:40 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
pdflib:
Version bump.
Replaced python variant with python24 variant.
Added python25 variant.
Added ruby variant.

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

Added Paths:
-----------
    trunk/dports/print/pdflib/files/patch-perl_Makefile.diff

Removed Paths:
-------------
    trunk/dports/print/pdflib/files/patch-libs_tiff_tiff.h.diff

Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile	2008-04-09 11:15:43 UTC (rev 35887)
+++ trunk/dports/print/pdflib/Portfile	2008-04-09 11:51:40 UTC (rev 35888)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			pdflib
-version			7.0.2
+version			7.0.3
 categories		print
 platforms		darwin
 maintainers		nomaintainer
@@ -15,11 +15,13 @@
 homepage		http://www.pdflib.com/products/pdflib-family/pdflib-lite/
 master_sites		http://www.pdflib.com/binaries/PDFlib/[string map {"." ""} ${version}]/
 distname		PDFlib-Lite-${version}
-checksums		sha1 23dd54e13cc19281ef3a50fa6ed2f616a5e7a949
+checksums		md5 97bcdd73206bae30b322f49d2c0d852b \
+			sha1 f63950303de23b9c13e9fdf5d6aa6ecae1ddc542 \
+			rmd160 90f91e2ff08e0280dce63801899162411889f0b7
 patchfiles		patch-config-mkcommon.inc.in patch-libs__pdcore__pc_util.h \
-			patch-libs_tiff_tiff.h.diff 
+			patch-perl_Makefile.diff
 
-configure.args	--without-java --without-perl --without-py --without-tcl
+configure.args	--without-java --without-perl --without-py --without-tcl --without-ruby
 
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/
@@ -37,21 +39,40 @@
 	configure.args-append	--with-perl=${prefix}/bin/perl
 }
 
-variant python {
-	depends_lib				path:${prefix}/bin/python:python24
+variant python24 {
+	set pyversion           2.4
+	depends_lib-append			port:python[strsed ${pyversion} {g/[.]//}]
 	configure.args-delete	--without-py
-	configure.args-append	--with-py=${prefix}
+	configure.args-append	--with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
 }
 
+variant python25 {
+	set pyversion           2.5
+	depends_lib-append			port:python[strsed ${pyversion} {g/[.]//}]
+	configure.args-delete	--without-py
+	configure.args-append	--with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
+}
+
 variant tcl {
-	depends_lib				path:${prefix}/bin/tclsh:tcl
+	depends_lib-append			path:${prefix}/bin/tclsh:tcl
 	configure.args-delete	--without-tcl
 	configure.args-append	--with-tcl=${prefix}/bin/tclsh
 }
 
+variant ruby {
+	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}
+	}
+}
+
 platform darwin 8 {
 	configure.cc	"/usr/bin/gcc-4.0 -DPDF_TARGET_API_MAC_CLASSIC"
 	configure.cpp	"/usr/bin/cpp-4.0 -DPDF_TARGET_API_MAC_CLASSIC"
 	configure.cxx	"/usr/bin/g++-4.0 -DPDF_TARGET_API_MAC_CLASSIC"
 }
 
+livecheck.check     regex
+livecheck.regex     "PDFlib Lite \(\[\\d\\.\]+\)"

Deleted: trunk/dports/print/pdflib/files/patch-libs_tiff_tiff.h.diff
===================================================================
--- trunk/dports/print/pdflib/files/patch-libs_tiff_tiff.h.diff	2008-04-09 11:15:43 UTC (rev 35887)
+++ trunk/dports/print/pdflib/files/patch-libs_tiff_tiff.h.diff	2008-04-09 11:51:40 UTC (rev 35888)
@@ -1,13 +0,0 @@
---- libs/tiff/tiff.h.orig	2007-08-13 19:52:43.000000000 +0900
-+++ libs/tiff/tiff.h	2007-11-05 04:51:58.000000000 +0900
-@@ -79,8 +79,10 @@
-     typedef	unsigned int uint32;	/* sizeof (uint32) must == 4 */
-     #else
-     typedef	long int32;
-+    #ifndef _UINT32
-     typedef	unsigned long uint32;	/* sizeof (uint32) must == 4 */
-     #endif
-+    #endif
- #endif
- 
- /* For TIFFReassignTagToIgnore */

Added: trunk/dports/print/pdflib/files/patch-perl_Makefile.diff
===================================================================
--- trunk/dports/print/pdflib/files/patch-perl_Makefile.diff	                        (rev 0)
+++ trunk/dports/print/pdflib/files/patch-perl_Makefile.diff	2008-04-09 11:51:40 UTC (rev 35888)
@@ -0,0 +1,10 @@
+--- bind/pdflib/perl/Makefile.orig	2008-03-25 08:20:02.000000000 -0600
++++ bind/pdflib/perl/Makefile	2008-04-09 05:45:35.000000000 -0600
+@@ -55,6 +55,7 @@
+ 	../../../progs/pdi/pdfcheck -i ../java/starter.ref -o -
+ 
+ install:: $(LIBNAME)
++	$(MKDIR) $(LANG_LIBDIR)
+ 	$(LIBTOOL) --mode=install \
+ 		$(INSTALL_DATA) $(LIBNAME) $(LANG_LIBDIR)
+ 	$(INSTALL_DATA) pdflib_pl.pm $(LANG_LIBDIR)

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


More information about the macports-changes mailing list