source: trunk/dports/devel/lua-lua-gd/Portfile @ 82346

Last change on this file since 82346 was 82346, checked in by jmr@…, 7 years ago

lua-lua-gd: add pkgconfig dep

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 82346 2011-08-12 21:29:07Z jmr@macports.org $
2
3PortSystem          1.0
4
5name                lua-lua-gd
6version             2.0.33r2
7categories          devel graphics
8maintainers         nomaintainer
9description         Lua interface to the gd library
10long_description \
11   Lua-GD is a set of Lua bindings to the Thomas Boutell's gd library that \
12   allows your code to quickly draw complete images with lines, polygons, \
13   arcs, text, multiple colors, cut and paste from other images, flood \
14   fills, read in or write out images in the PNG, JPEG or GIF format. It is \
15   not a kitchen-sink graphics package, but it does include most frequently \
16   requested features, including both truecolor and palette images, \
17   resampling (smooth resizing of truecolor images) and so forth.
18
19platforms           darwin
20
21homepage            http://lua-gd.luaforge.net/
22master_sites        http://luaforge.net/frs/download.php/1592/ \
23                    sourceforge
24
25checksums           md5     69e9c07ce208ce13d4373177c2e24df0 \
26                    sha1    5e7a4e3a62c005de6d243e891411175957ff087e \
27                    rmd160  806cd4210a6eb6d4da40167c5b1225fdaf786f71
28distname                        lua-gd-${version}
29
30depends_build       port:pkgconfig
31depends_lib         port:lua port:gd2
32
33patchfiles          patch-Makefile.diff
34
35use_configure       no
36
37pre-destroot {
38   # This needs to be updated when lua's version goes past 5.1.x
39   xinstall -m 755 -d ${destroot}${prefix}/lib/lua/5.1
40}
41post-destroot {
42   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
43      ${destroot}${prefix}/share/examples/${name}
44   eval copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
45   xinstall -m 644 -W ${worksrcpath} COPYING README \
46      ${destroot}${prefix}/share/doc/${name}
47   eval copy [glob ${worksrcpath}/demos/*] \
48      ${destroot}${prefix}/share/examples/${name}
49}
Note: See TracBrowser for help on using the repository browser.