source: trunk/dports/graphics/icns-gimp/Portfile

Last change on this file was 125153, checked in by khindenburg@…, 3 years ago

icns-gimp: revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 125153 2014-09-08 01:55:12Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            icns-gimp
7version         0.1
8revision        2
9license         GPL-2+
10maintainers     nomaintainer
11description     Gimp file format plug-in for Macintosh icon files (.icns)
12long_description \
13    Gimp file format plug-in for Macintosh icon files (.icns) \
14    Currently read-only. \
15    Can load true color, 8-bit, 4-bit, and 1-bit icons at 128x128, \
16    48x48, 32x32, and 16x16 sizes. \
17    Multiple images are loaded as separate layers.
18
19universal_variant no
20
21categories      graphics
22homepage        http://leuksman.com/pages/icns
23platforms       darwin
24master_sites    sourceforge:gimp-mac-helper
25checksums       md5 e491775279b973db3cab06c7359855e8
26
27depends_build   port:pkgconfig
28depends_lib     path:lib/pkgconfig/gimp-2.0.pc:gimp2
29
30patchfiles      patch-Makefile.diff
31
32post-patch {
33    reinplace "s|#define ICO_DBG||g" \
34        ${worksrcpath}/icnsload.c
35}
36
37use_configure   no
38
39build.target    icns
40build.args-append \
41    CC="${configure.cc} [get_canonical_archflags cc]" \
42    CFLAGS="${configure.cppflags} ${configure.cflags}"
43
44destroot {
45    xinstall -m 755 -d ${destroot}${prefix}/lib/gimp/2.0/plug-ins
46    xinstall -m 755 ${worksrcpath}/icns \
47        ${destroot}${prefix}/lib/gimp/2.0/plug-ins
48}
49
50livecheck.type  moddate
51livecheck.url   http://sourceforge.net/project/downloading.php?groupname=gimp-mac-helper&filename=${name}-${version}${extract.suffix}
Note: See TracBrowser for help on using the repository browser.