[50669] trunk/dports/graphics/inkscape-devel/Portfile
devans at macports.org
devans at macports.org
Wed May 6 06:46:58 PDT 2009
Revision: 50669
http://trac.macports.org/changeset/50669
Author: devans at macports.org
Date: 2009-05-06 06:46:57 -0700 (Wed, 06 May 2009)
Log Message:
-----------
inkscape-devel:
* update to svn 21290 to fix problem with debugging
* update dependencies
* add +no_x11 variant
* remove necessity for default variant
Modified Paths:
--------------
trunk/dports/graphics/inkscape-devel/Portfile
Modified: trunk/dports/graphics/inkscape-devel/Portfile
===================================================================
--- trunk/dports/graphics/inkscape-devel/Portfile 2009-05-06 13:33:12 UTC (rev 50668)
+++ trunk/dports/graphics/inkscape-devel/Portfile 2009-05-06 13:46:57 UTC (rev 50669)
@@ -4,7 +4,7 @@
PortSystem 1.0
name inkscape-devel
-set svn_rev 21286
+set svn_rev 21290
version 0.46.${svn_rev}
epoch 1
maintainers devans
@@ -30,19 +30,21 @@
svn.url http://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk ${worksrcdir}
svn.tag ${svn_rev}
-depends_build port:pkgconfig
+depends_build port:pkgconfig \
+ port:autoconf \
+ port:automake \
+ port:p5-xml-parser \
+ port:intltool \
+ port:gettext
depends_lib port:boehmgc \
port:poppler \
- port:py25-xml \
- port:py25-numpy \
- port:py25-lxml \
port:lcms \
port:libwpg \
port:ImageMagick \
port:gtkmm \
+ port:aspell-dict-en \
port:gtkspell2 \
- port:aspell \
port:gsl \
port:boost
@@ -65,21 +67,25 @@
configure.cppflags-append \
-I${worksrcpath}/src/extension/script
-default_variants \
- disable_debugging
+variant no_x11 {
+ configure.args-delete --with-xft
+ configure.args-append --without-xft
+}
-variant disable_debugging conflicts enable_debugging description {Disable debugging. Strip executables to save disk space} {
- # this variant strips the executables saving @200MB of disk space
- # at the cost of not being able to get meaningful debugging information
- # in the event of an application crash
- post-destroot {
- system "strip ${destroot}${prefix}/bin/inkscape"
- system "strip ${destroot}${prefix}/bin/inkview"
- }
+variant enable_debugging description {Enable debugging. Executables not stripped} {
}
-variant enable_debugging conflicts disable_debugging description {Enable debugging. Executables not stripped} {
- # does nothing but offer a counter-point to disable_debugging
+if {![variant_isset enable_debugging]} {
+
+# if +enable_debugging is not set (default) strip the executables
+# this saves @200MB of disk space
+# at the cost of not being able to get meaningful debugging information
+# in the event of an application crash
+
+ post-destroot {
+ system "strip ${destroot}${prefix}/bin/inkscape"
+ system "strip ${destroot}${prefix}/bin/inkview"
+ }
}
post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090506/f3a86c5b/attachment-0001.html>
More information about the macports-changes
mailing list