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

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

lua-lua-gd: license MIT

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