[67952] trunk/dports/graphics

jmr at macports.org jmr at macports.org
Sat May 22 12:20:17 PDT 2010


Revision: 67952
          http://trac.macports.org/changeset/67952
Author:   jmr at macports.org
Date:     2010-05-22 12:20:14 -0700 (Sat, 22 May 2010)
Log Message:
-----------
New port: ipe, a drawing editor for PDF and EPS (#22401)

Added Paths:
-----------
    trunk/dports/graphics/ipe/
    trunk/dports/graphics/ipe/Portfile
    trunk/dports/graphics/ipe/files/
    trunk/dports/graphics/ipe/files/patch-common.mak.diff
    trunk/dports/graphics/ipe/files/patch-config.mak.diff
    trunk/dports/graphics/ipe/files/patch-ipe-lua-prefs.lua.diff

Added: trunk/dports/graphics/ipe/Portfile
===================================================================
--- trunk/dports/graphics/ipe/Portfile	                        (rev 0)
+++ trunk/dports/graphics/ipe/Portfile	2010-05-22 19:20:14 UTC (rev 67952)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem 1.0
+
+name                    ipe
+version                 7.0.8
+categories              graphics
+maintainers             jacobs-university.de:m.thon
+description             The Ipe extensible drawing editor
+long_description        \
+                        Ipe is a drawing editor for creating figures in PDF or \
+                        (encapsulated) Postscript format. It supports making small \
+                        figures for inclusion into LaTeX-documents as well as making \
+                        multi-page PDF presentations that can be shown on-line with \
+                        Acrobat Reader.
+homepage                http://tclab.kaist.ac.kr/ipe/
+platforms               darwin
+master_sites            sourceforge:ipe7
+distname                ${name}-${version}-src
+worksrcdir              ${name}-${version}/src
+checksums               md5 746e3c2ef08c16546c819aae6cca942a \
+                        sha1 a7e87bb11c243839447a38c95dd3b731f024fea5 \
+                        rmd160 ec836de89aa5b442ff1c3bbfe99af7014bdc923e
+depends_lib             port:qt4-mac \
+                        port:freetype \
+                        port:cairo \
+                        port:lua \
+                        port:zlib
+patchfiles              patch-common.mak.diff \
+                        patch-config.mak.diff \
+                        patch-ipe-lua-prefs.lua.diff
+use_configure           no
+build.args              IPEPREFIX=${prefix} MOC=moc-mac \
+                        PKG_CONFIG_PATH=${prefix}/libexec/qt4-mac/lib/pkgconfig
+destroot.args           INSTALL_ROOT=${destroot} IPEPREFIX=${prefix}
+use_parallel_build      no


Property changes on: trunk/dports/graphics/ipe/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/graphics/ipe/files/patch-common.mak.diff
===================================================================
--- trunk/dports/graphics/ipe/files/patch-common.mak.diff	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/patch-common.mak.diff	2010-05-22 19:20:14 UTC (rev 67952)
@@ -0,0 +1,20 @@
+--- common.mak.orig	2009-11-04 20:56:07.000000000 +0100
++++ common.mak	2009-11-06 18:34:53.000000000 +0100
+@@ -95,7 +95,7 @@
+   # -------------------- Unix --------------------
+   CXXFLAGS	+= -g -O2
+   ifdef MACOS
+-    DLL_LDFLAGS	+= -dynamiclib 
++    DLL_LDFLAGS	+= -dynamiclib -install_name $(IPEPREFIX)`echo $@ | sed 's/[..\/]*build//' | sed 's/ipelets/\/lib\/ipe\/7.0.8\/ipelets/'`
+   else	
+     DLL_LDFLAGS	+= -shared 
+   endif
+@@ -109,7 +109,7 @@
+ 
+ INSTALL_DIR = install -d
+ INSTALL_FILES = install -m 0644
+-INSTALL_PROGRAMS = install -s -m 0755
++INSTALL_PROGRAMS = install -m 0755
+ 
+ MAKE_BINDIR = mkdir -p $(BUILDDIR)/bin
+ 

Added: trunk/dports/graphics/ipe/files/patch-config.mak.diff
===================================================================
--- trunk/dports/graphics/ipe/files/patch-config.mak.diff	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/patch-config.mak.diff	2010-05-22 19:20:14 UTC (rev 67952)
@@ -0,0 +1,27 @@
+--- config.mak.orig	2009-11-04 20:56:07.000000000 +0100
++++ config.mak	2009-11-07 02:18:42.000000000 +0100
+@@ -17,11 +17,13 @@
+ FREETYPE_LIBS ?= $(shell pkg-config --libs freetype2)
+ CAIRO_CFLAGS  ?= $(shell pkg-config --cflags cairo)
+ CAIRO_LIBS    ?= $(shell pkg-config --libs cairo)
+-LUA_CFLAGS    ?= $(shell pkg-config --cflags lua5.1)
+-LUA_LIBS      ?= $(shell pkg-config --libs lua5.1)
++LUA_CFLAGS    ?= $(shell pkg-config --cflags lua)
++LUA_LIBS      ?= $(shell pkg-config --libs lua)
+ QT_CFLAGS     ?= $(shell pkg-config --cflags QtGui QtCore)
+ QT_LIBS	      ?= $(shell pkg-config --libs QtGui QtCore)
+-MOC	      ?= moc
++ifeq "$(MOC)" ""
++MOC	?= moc
++endif
+ #
+ # --------------------------------------------------------------------
+ #
+@@ -39,6 +41,7 @@
+ # Installing Ipe:
+ #
+ IPEVERS = 7.0.8
++INSTALL_DIR = $(DESTDIR)
+ #
+ # IPEPREFIX is the global prefix for the Ipe directory structure, which
+ # you can override individually for any of the specific directories.

Added: trunk/dports/graphics/ipe/files/patch-ipe-lua-prefs.lua.diff
===================================================================
--- trunk/dports/graphics/ipe/files/patch-ipe-lua-prefs.lua.diff	                        (rev 0)
+++ trunk/dports/graphics/ipe/files/patch-ipe-lua-prefs.lua.diff	2010-05-22 19:20:14 UTC (rev 67952)
@@ -0,0 +1,11 @@
+--- ipe/lua/prefs.lua.orig	2009-11-04 20:56:07.000000000 +0100
++++ ipe/lua/prefs.lua	2009-11-06 18:38:12.000000000 +0100
+@@ -78,7 +78,7 @@
+ 
+ -- How to start browser to show Ipe manual
+ -- prefs.browser = "sensible-browser %s &"
+-prefs.browser = "gnome-open %s"
++prefs.browser = "open %s"
+ 
+ -- Auto-exporting when document is being saved
+ -- if auto_export_only_if_exists is true, then the file will only
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100522/c7ffad90/attachment.html>


More information about the macports-changes mailing list