source: trunk/dports/graphics/libhermes/Portfile

Last change on this file was 111601, checked in by jmr@…, 4 years ago

libhermes: build fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 111601 2013-09-27 11:26:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    libhermes
6version                 1.3.3
7revision                1
8categories              graphics devel
9license                 LGPL-2
10platforms               darwin
11maintainers             nomaintainer
12description             Hermes is a pixel conversion library.
13long_description        Hermes is a pixel conversion library. Its only purpose \
14                                is to take a buffer full of pixels and convert it into a \
15                                target buffer full of pixels. The two can differ both in size \
16                                and in format. Hermes is primarily intended for fast graphics \
17                                display and it is optimized for that. Where this goal can be \
18                                achieved by dismissing minimal graphic errors, Hermes will do \
19                                so (minimal means almost not noticeable). But that is likely \
20                                to be very configurable in the near future to allow for user \
21                                selection of trade-off.
22
23homepage                http://www.clanlib.org/hermes
24master_sites    http://www.clanlib.org/download/legacy/
25distname                Hermes-${version}
26checksums               md5 1b99f623169cf62b70f3de081a633d14
27use_bzip2               yes
28patchfiles              patch-autogen.sh.diff patch-configure.in.diff
29
30depends_build   port:autoconf port:automake port:libtool
31
32pre-configure   {
33        system "cd ${worksrcpath} && ./autogen.sh"
34}
35configure.args  --with-pic --enable-shared --enable-static
36
37build.type              gnu
38
39destroot.args   includedir=${destroot}${prefix}/include
40post-destroot   {
41        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
42        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
43                INSTALL INSTALL.BSD INSTALL.unix NEWS README TODO \
44                TODO.Blitters TODO.conversion ${destroot}${prefix}/share/doc/${name}
45}
Note: See TracBrowser for help on using the repository browser.