[143014] trunk/dports/graphics/gegl/Portfile
devans at macports.org
devans at macports.org
Sat Dec 12 08:11:38 PST 2015
Revision: 143014
https://trac.macports.org/changeset/143014
Author: devans at macports.org
Date: 2015-12-01 14:47:06 -0800 (Tue, 01 Dec 2015)
Log Message:
-----------
gegl: reformat/reorganize, no functional/content change.
Modified Paths:
--------------
trunk/dports/graphics/gegl/Portfile
Modified: trunk/dports/graphics/gegl/Portfile
===================================================================
--- trunk/dports/graphics/gegl/Portfile 2015-12-01 21:28:48 UTC (rev 143013)
+++ trunk/dports/graphics/gegl/Portfile 2015-12-01 22:47:06 UTC (rev 143014)
@@ -1,91 +1,89 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup gobject_introspection 1.0
-PortGroup muniversal 1.0
+PortSystem 1.0
+PortGroup gobject_introspection 1.0
+PortGroup muniversal 1.0
-name gegl
-conflicts gegl-devel
-version 0.2.0
-revision 16
-license {GPL-3+ LGPL-3+}
-set branch [join [lrange [split ${version} .] 0 1] .]
-categories graphics
-maintainers devans
-platforms darwin
-homepage http://gegl.org/
-master_sites gimp:${name}/${branch}/
+name gegl
+conflicts gegl-devel
+version 0.2.0
+revision 16
+license {GPL-3+ LGPL-3+}
+set branch [join [lrange [split ${version} .] 0 1] .]
+categories graphics
+maintainers devans
+platforms darwin
+homepage http://gegl.org/
+master_sites gimp:${name}/${branch}/
-use_bzip2 yes
+use_bzip2 yes
-description GEGL is a graph based image processing framework.
+description GEGL is a graph based image processing framework.
-long_description \
- GEGL is a graph based image processing framework offering image processing and \
- compositing on large images. GEGL is suitable for projects ranging from small \
- one-off projects to interactive applications.
+long_description GEGL is a graph based image processing framework offering image processing and \
+ compositing on large images. GEGL is suitable for projects ranging from small \
+ one-off projects to interactive applications.
-checksums sha1 764cc66cb3c7b261b8fc18a6268a0e264a91d573 \
- rmd160 cc10365cff27dd42b002bf305f82de54d8c158fa
+checksums sha1 764cc66cb3c7b261b8fc18a6268a0e264a91d573 \
+ rmd160 cc10365cff27dd42b002bf305f82de54d8c158fa
-depends_build port:autoconf \
- port:automake \
- port:libtool \
- port:pkgconfig \
- port:intltool \
- port:w3m \
- port:python27
+depends_build port:autoconf \
+ port:automake \
+ port:libtool \
+ port:pkgconfig \
+ port:intltool \
+ port:w3m \
+ port:python27
-depends_lib port:babl \
- port:gtk2 \
- port:jpeg \
- port:lua \
- port:openexr \
- port:exiv2 \
- port:libopenraw \
- port:librsvg \
- port:libsdl \
- path:lib/libavcodec.dylib:ffmpeg \
- port:libspiro \
- port:vala
+depends_lib port:babl \
+ port:gtk2 \
+ port:jpeg \
+ port:lua \
+ port:openexr \
+ port:exiv2 \
+ port:libopenraw \
+ port:librsvg \
+ port:libsdl \
+ path:lib/libavcodec.dylib:ffmpeg \
+ port:libspiro \
+ port:vala
-patchfiles patch-fix-introspection.diff \
- patch-configure.ac.diff \
- patch-use-intltoolize.diff \
- patch-examples-Makefile.am.diff \
- rename-for-altivec.patch \
- patch-ffmpeg.diff
+patchfiles patch-fix-introspection.diff \
+ patch-configure.ac.diff \
+ patch-use-intltoolize.diff \
+ patch-examples-Makefile.am.diff \
+ rename-for-altivec.patch \
+ patch-ffmpeg.diff
+post-patch {
+ # http://trac.macports.org/ticket/35148
+ if {${os.major} < 10} {
+ reinplace "s|OpenGL/CGLDevice.h|OpenGL/CGLTypes.h|" ${worksrcpath}/gegl/opencl/cl_gl.h
+ }
+
+ # Not sure what they expected by using these macros... they only belong in system headers...
+ reinplace "s/AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER//" ${worksrcpath}/gegl/opencl/cl_platform.h
+}
+
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
-configure.cmd ./autogen.sh
+configure.cmd ./autogen.sh
-compiler.blacklist *gcc*
+compiler.blacklist *gcc*
gobject_introspection yes
-configure.python \
- ${prefix}/bin/python2.7
+configure.python ${prefix}/bin/python2.7
-configure.args --disable-docs \
- --disable-silent-rules \
- --without-graphviz \
- --without-umfpack
+configure.args --disable-docs \
+ --disable-silent-rules \
+ --without-graphviz \
+ --without-umfpack
# disable parallel build, see #31498
use_parallel_build no
-post-patch {
- # http://trac.macports.org/ticket/35148
- if {${os.major} < 10} {
- reinplace "s|OpenGL/CGLDevice.h|OpenGL/CGLTypes.h|" ${worksrcpath}/gegl/opencl/cl_gl.h
- }
-
- # Not sure what they expected by using these macros... they only belong in system headers...
- reinplace "s/AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER//" ${worksrcpath}/gegl/opencl/cl_platform.h
-}
-
platform darwin {
if {[variant_isset universal]} {
# In order to build universal on Leopard, you need MacPorts 2.1
@@ -129,6 +127,6 @@
default_variants +x11
}
-livecheck.type regex
-livecheck.url http://download.gimp.org/pub/${name}/${branch}/
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.type regex
+livecheck.url http://download.gimp.org/pub/${name}/${branch}/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/5ff59c2b/attachment-0001.html>
More information about the macports-changes
mailing list