a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name libhermes
version 1.3.3
revision 1
categories graphics devel
platforms darwin
maintainers nomaintainer@macports.org
description Hermes is a pixel conversion library.
long_description Hermes is a pixel conversion library. Its only purpose \
is to take a buffer full of pixels and convert it into a \
target buffer full of pixels. The two can differ both in size \
and in format. Hermes is primarily intended for fast graphics \
display and it is optimized for that. Where this goal can be \
achieved by dismissing minimal graphic errors, Hermes will do \
so (minimal means almost not noticeable). But that is likely \
to be very configurable in the near future to allow for user \
selection of trade-off.
homepage http://www.clanlib.org/hermes
master_sites http://www.clanlib.org/download/files/
distname Hermes-${version}
checksums md5 1b99f623169cf62b70f3de081a633d14
use_bzip2 yes
patchfiles patch-autogen.sh.diff
pre-configure {
system "cd ${worksrcpath} && ./autogen.sh"
}
configure.args --with-pic --enable-shared --enable-static
build.type gnu
destroot.args includedir=${destroot}${prefix}/include
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FAQ \
INSTALL INSTALL.BSD INSTALL.unix NEWS README TODO \
TODO.Blitters TODO.conversion ${destroot}${prefix}/share/doc/${name}
}