source: trunk/dports/textproc/ebook-tools/Portfile

Last change on this file was 147756, checked in by khindenburg@…, 19 months ago

libzip: update to 1.1.2 #47878; enable tests; revbump deps

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 147756 2016-04-14 23:14:27Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                ebook-tools
8version             0.2.2
9revision            1
10categories          textproc
11maintainers         nomaintainer
12license             MIT
13
14description         Access and convert various ebook file formats
15long_description    ${description}
16
17platforms           darwin
18
19homepage            http://sourceforge.net/projects/ebook-tools/
20master_sites        sourceforge
21
22checksums           sha1    1f10bef62c9125cf804366134e486a58308f07ff \
23                    rmd160  2808a20b7bc9dc01b54be0e46dfb4cf96508d1a2
24
25depends_build-append \
26                    port:pkgconfig
27
28depends_lib         port:libzip \
29                    port:libxml2
30
31depends_run         port:convertlit
32
33pre-configure {
34    configure.cflags-append [exec ${prefix}/bin/pkg-config libzip --cflags]
35}
36
37post-destroot {
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} \
40        LICENSE \
41        README \
42        TODO \
43        ${destroot}${prefix}/share/doc/${name}
44}
Note: See TracBrowser for help on using the repository browser.