source: trunk/dports/graphics/gimp-lqr-plugin/Portfile

Last change on this file was 142968, checked in by devans@…, 22 months ago

gimp-lqr-plugin: add +quartz variant, and use active_variants to check for correct flavor of gimp2.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 142968 2015-11-30 18:07:14Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       active_variants 1.1
6
7name            gimp-lqr-plugin
8version         0.7.2
9revision        1
10license         GPL-2
11maintainers     devans openmaintainer
12categories      graphics
13platforms       darwin
14homepage        http://liquidrescale.wikidot.com/en:start
15
16description     Liquid Rescale Gimp plug-in.
17long_description \
18    The Liquid Rescale Gimp plug-in \
19    aims at resizing pictures non uniformly \
20    while preserving their features
21
22universal_variant no
23
24master_sites    http://liquidrescale.wikidot.com/local--files/en:download-page-sources/
25
26use_bzip2       yes
27
28checksums       rmd160  1e03d5f6eb8b2914bdfa2e05eb33db0850f47f24 \
29                sha256  169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
30
31depends_build   port:pkgconfig \
32                port:intltool \
33                port:autoconf \
34                port:automake \
35                port:libtool
36
37depends_lib     port:liblqr \
38                path:lib/pkgconfig/gimp-2.0.pc:gimp2
39
40patchfiles      patch-autogen.sh.diff
41
42# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
43
44configure.cmd   ./autogen.sh
45
46configure.args  --disable-silent-rules
47
48variant quartz {}
49
50if {[variant_isset quartz]} {
51    require_active_variants gimp2 quartz
52} else {
53    require_active_variants gimp2 "" quartz
54}
55
56livecheck.type  regex
57livecheck.url   http://liquidrescale.wikidot.com/en:download-page
58livecheck.regex "(\\d+(?:\\.\\d+)*).* released on"
Note: See TracBrowser for help on using the repository browser.