Skip to content
Permalink
Browse files

New Gimp Animation Package

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@28256 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Yves de Champlain
Yves de Champlain committed Aug 26, 2007
1 parent fe1e89f commit b4b86ea655177cf5c8171ba5bec42025d92ac461
Showing with 55 additions and 2 deletions.
  1. +46 −0 graphics/gimp-gap/Portfile
  2. +9 −2 graphics/gimp/Portfile
@@ -0,0 +1,46 @@
# $Id$

PortSystem 1.0

name gimp-gap
version 2.2.2
categories graphics
maintainers yves
description The Gimp Animation Package.
long_description ${description}
homepage http://www.gimp.org/
platforms darwin

master_sites ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.2/gap/
checksums md5 2c7ea1cf560a2693310781265d8f3c05
use_bzip2 yes

depends_lib port:gimp2 \
port:XviD
depends_run port:MPlayer

post-patch {
reinplace "s|enable-shared|prefix=${prefix} --enable-shared|" \
${worksrcpath}/extern_libs/configure_options_ffmpeg.txt
}

configure.args --disable-audio-support \
--disable-libmpeg3
post-configure {
reinplace "s|-Wl,-d|-Wl|g" \
${worksrcpath}/extern_libs/ffmpeg/config.mak
reinplace "s|no-cpp-precomp|no-cpp-precomp -DHAVE_LRINTF -fno-common|g" \
${worksrcpath}/extern_libs/ffmpeg/config.mak
reinplace "s|APPLE|NOTHANKS|" \
${worksrcpath}/extern_libs/ffmpeg/libavformat/tcp.c
}

post-destroot {
cd ${worksrcpath}/docs
foreach dir {howto reference} {
xinstall -d ${destroot}${prefix}/share/${name}/$dir
foreach txt [glob -d $dir/txt *.txt] {
xinstall -m 644 $txt ${destroot}${prefix}/share/${name}/$dir
}
}
}
@@ -4,6 +4,7 @@ PortSystem 1.0

name gimp
version 2.4
revision 1
categories graphics
maintainers yves openmaintainer@macports.org
homepage http://www.gimp.org/
@@ -12,8 +13,11 @@ platforms darwin
description The Gimp - Batteries Included
long_description \
This is a META port for the gimp2 which includes help and documentation, \
various plug-ins, a Mac OS X application bundle for Finder integration \
and even a nice theme.
support for icns, jp2000 and RAW formats, \
Gutenprint and scanner frontends \
and even a nice theme (Nodoka). \
Mac OS X users also get a Gimp.app bundle, a \"Show in Finder\" menu \
and clipboard integration.

depends_lib port:icns-gimp \
port:gimp-jp2 \
@@ -40,3 +44,6 @@ destroot {
ln -s ${prefix}/share/themes/Nodoka/gtk-2.0/gtkrc
}

variant animation description "Include the Gimp Animation Package (gimp-gap)." {
depends_lib-append port:gimp-gap
}

0 comments on commit b4b86ea

Please sign in to comment.
You can’t perform that action at this time.