Ticket #27161: Portfile

File Portfile, 1.1 KB (added by danmichaelo+macports@…, 13 years ago)
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$
3
4PortSystem          1.0
5name                djvu2pdf
6version             0.9.1
7categories          graphics
8platforms           darwin
9maintainers         nomaintainer
10
11description         A small tool to convert Djvu files to PDF files.
12long_description    A small tool to convert Djvu files to PDF files.
13homepage            http://0x2a.at/site/projects/djvu2pdf/
14master_sites        http://0x2a.at/site/projects/djvu2pdf/
15
16checksums           md5     47a77ec1693c352dda1cd7ced3f50c1c \
17                    sha1    9423f21af20a54f5d11b749cde1f1051d6978219 \
18                    rmd160  b0fda8e4ccec0374820b8552d9a1e95080617525
19
20depends_lib         port:djvulibre
21
22use_configure       no
23
24build {}
25
26destroot {
27    xinstall -m 755 ${worksrcpath}/djvu2pdf ${destroot}${prefix}/bin
28    xinstall -m 444 ${worksrcpath}/djvu2pdf.1.gz ${destroot}${prefix}/share/man/man1
29    xinstall -d ${destroot}${prefix}/share/doc/${name}
30    xinstall -m 644 -W ${worksrcpath} INSTALL changelog copyright ${destroot}${prefix}/share/doc/${name}
31}
32