[77556] trunk/dports/graphics/pict2pdf

jmr at macports.org jmr at macports.org
Sun Apr 3 13:08:03 PDT 2011


Revision: 77556
          http://trac.macports.org/changeset/77556
Author:   jmr at macports.org
Date:     2011-04-03 13:07:59 -0700 (Sun, 03 Apr 2011)
Log Message:
-----------
pict2pdf: use the right compiler and arch flags, set 32-bit supported_archs (#23592), add homepage and license

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

Added Paths:
-----------
    trunk/dports/graphics/pict2pdf/files/
    trunk/dports/graphics/pict2pdf/files/Makefile.diff

Modified: trunk/dports/graphics/pict2pdf/Portfile
===================================================================
--- trunk/dports/graphics/pict2pdf/Portfile	2011-04-03 18:22:29 UTC (rev 77555)
+++ trunk/dports/graphics/pict2pdf/Portfile	2011-04-03 20:07:59 UTC (rev 77556)
@@ -4,6 +4,7 @@
 name		pict2pdf
 version		1.1
 categories	graphics
+license		MIT
 maintainers	bme.ogi.edu:prahl
 description	Vector-to-vector conversion of PICT files to PDF
 long_description	\
@@ -11,11 +12,15 @@
 	format. The conversion retains any vector information in \
 	the PICT image.  
 platforms	darwin
+supported_archs i386 ppc
+homepage	http://pict2pdf.sourceforge.net/
 master_sites	sourceforge
 checksums       md5 c37627f7483509887f70d07d3f798208
+patchfiles      Makefile.diff
 use_configure   no
-build.args      PREFIX=${prefix}
+build.env       PREFIX="${prefix}" CC="${configure.cc}" LD="${configure.cc}" \
+                CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
+                LDFLAGS="${configure.ld_archflags}"
 destroot	{ xinstall -m 755 ${worksrcpath}/pict2pdf ${destroot}${prefix}/bin
 		  xinstall -m 644 ${worksrcpath}/pict2pdf.1 \
 		    ${destroot}${prefix}/share/man/man1 }
-

Added: trunk/dports/graphics/pict2pdf/files/Makefile.diff
===================================================================
--- trunk/dports/graphics/pict2pdf/files/Makefile.diff	                        (rev 0)
+++ trunk/dports/graphics/pict2pdf/files/Makefile.diff	2011-04-03 20:07:59 UTC (rev 77556)
@@ -0,0 +1,18 @@
+--- Makefile.orig	2002-11-03 10:42:31.000000000 +1100
++++ Makefile	2011-04-04 05:54:46.000000000 +1000
+@@ -1,10 +1,10 @@
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+ VERSION = 1.1
+ 
+-CC = cc
+-CFLAGS = -g -Wall 
+-LD = cc
+-LDFLAGS = -framework ApplicationServices
++CC ?= cc
++CFLAGS += -g -Wall 
++LD ?= cc
++LDFLAGS += -framework ApplicationServices
+ RM = /bin/rm -f
+ SRC = Makefile pict2pdf.c
+ DOC = README 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110403/abab7174/attachment-0001.html>


More information about the macports-changes mailing list