source: trunk/dports/graphics/gpick/Portfile

Last change on this file was 114892, checked in by ryandesign@…, 4 years ago

gpick: add boost dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 114892 2013-12-19 11:19:29Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    gpick
7version                 0.2.5
8categories              graphics
9platforms               darwin
10maintainers             strasweb.fr:rudloff
11license                 BSD
12
13description             Gpick is an advanced color picker.
14
15long_description        Gpick is a program used to pick colors from anywhere \
16                        on the screen, mix them to get new colors, generate \
17                        shades and tints and export palettes to common file \
18                        formats or simply copy them to the clipboard.
19
20homepage                http://code.google.com/p/gpick/
21master_sites            googlecode
22distname                ${name}_${version}
23
24checksums               sha1    0e2bcdca6aa66fe4f6a3930fe33e0a6950de4588 \
25                        rmd160  a7c65539780b1eb74f44538b165dbff923762beb
26
27depends_build-append    port:boost \
28                        port:pkgconfig \
29                        port:scons
30
31depends_lib-append      port:expat \
32                        port:gettext \
33                        port:gtk2 \
34                        port:lua
35
36use_configure           no
37
38variant universal {}
39
40# https://code.google.com/p/gpick/issues/detail?id=112
41configure.ldflags-append -lexpat
42
43build.cmd               ${prefix}/bin/scons
44build.target            build
45build.env               CC=${configure.cc} \
46                        CXX=${configure.cxx} \
47                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
48                        CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
49                        LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
50
51eval destroot.env       ${build.env}
52
53# https://code.google.com/p/gpick/issues/detail?id=109
54destroot.destdir        DESTDIR=${destroot}${prefix}
Note: See TracBrowser for help on using the repository browser.