[64921] trunk/dports/graphics/librsvg
nox at macports.org
nox at macports.org
Wed Mar 17 13:38:27 PDT 2010
Revision: 64921
http://trac.macports.org/changeset/64921
Author: nox at macports.org
Date: 2010-03-17 13:38:27 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
Remove muniversal from librsvg and fix its dependencies
Modified Paths:
--------------
trunk/dports/graphics/librsvg/Portfile
Removed Paths:
-------------
trunk/dports/graphics/librsvg/files/patch_ltmain.sh
Modified: trunk/dports/graphics/librsvg/Portfile
===================================================================
--- trunk/dports/graphics/librsvg/Portfile 2010-03-17 20:38:12 UTC (rev 64920)
+++ trunk/dports/graphics/librsvg/Portfile 2010-03-17 20:38:27 UTC (rev 64921)
@@ -2,11 +2,12 @@
# $Id$
PortSystem 1.0
-PortGroup muniversal 1.0
+PortGroup archcheck 1.0
name librsvg
version 2.26.0
-revision 1
+revision 2
+license GPL-2 LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics gnome
platforms darwin
@@ -24,21 +25,45 @@
sha1 61044be4bcd5945f5711f788e1aa303a80b69e32 \
rmd160 9e8197519e4e48f736e6bb65d2993478b0f64451
-depends_lib port:libcroco \
- port:libgsf \
- port:libart_lgpl \
- port:libxml2
+depends_build port:pkgconfig
+
+depends_lib \
+ port:libart_lgpl \
+ path:lib/pkgconfig/cairo.pc:cairo \
+ port:libcroco \
+ port:fontconfig \
+ port:freetype \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:gtk2 \
+ port:libgsf \
+ port:libxml2 \
+ path:lib/pkgconfig/pango.pc:pango
+
depends_run port:python26
-configure.args --enable-pixbuf-loader \
- --with-svgz \
- --disable-mozilla-plugin
+archcheck.files \
+ lib/libart_lgpl_2.dylib \
+ lib/libcairo.dylib \
+ lib/libcroco-0.6.dylib \
+ lib/libfontconfig.dylib \
+ lib/libfreetype.dylib \
+ lib/libglib-2.0.dylib \
+ lib/libgsf-1.dylib \
+ lib/libpango-1.0.dylib \
+ lib/libxml2.dylib
+configure.args --disable-mozilla-plugin
+
post-destroot {
set python.branch 2.6
set python.bin ${frameworks_dir}/Python.framework/Versions/${python.branch}/bin/python${python.branch}
reinplace "s|^#!/usr/bin/env python|#!${python.bin}|g" \
${destroot}${prefix}/bin/rsvg
+
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB NEWS README \
+ ${destroot}${docdir}
}
post-activate {
Deleted: trunk/dports/graphics/librsvg/files/patch_ltmain.sh
===================================================================
--- trunk/dports/graphics/librsvg/files/patch_ltmain.sh 2010-03-17 20:38:12 UTC (rev 64920)
+++ trunk/dports/graphics/librsvg/files/patch_ltmain.sh 2010-03-17 20:38:27 UTC (rev 64921)
@@ -1,11 +0,0 @@
---- ltmain.sh.org Sun Jul 27 17:44:49 2003
-+++ ltmain.sh Sun Jul 27 17:45:27 2003
-@@ -1777,7 +1777,7 @@
-
- if test "$installed" = no; then
- notinst_deplibs="$notinst_deplibs $lib"
-- need_relink=yes
-+ need_relink=no
- fi
-
- if test -n "$old_archive_from_expsyms_cmds"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100317/29e69fbd/attachment-0001.html>
More information about the macports-changes
mailing list