Ticket #20380: Portfile

File Portfile, 1.1 KB (added by fracai, 15 years ago)

libpar2 Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5
6name            libpar2
7version         0.2
8categories      archivers
9maintainers     alum.wpi.edu:arno+macports openmaintainer
10
11description     libpar2 is a library for par2.
12long_description \
13    libpar2 is a library for par2, extracted from par2cmdline 0.4
14
15platforms       darwin
16homepage        http://parchive.sourceforge.net/
17master_sites    sourceforge:parchive
18
19checksums       sha1 4b3da928ea6097a8299aadafa703fc6d59bdfb4b \
20                md5 94c6df4e38efe08056ecde2a04e0be91 \
21                rmd160 7b93bc3e2a8b10f095761c26fd008322befde7a2
22
23distname        libpar2-${version}
24
25configure.args  --mandir=${prefix}/share/man
26
27depends_lib     port:libsigcxx2
28depends_build   port:pkgconfig
29
30post-destroot {
31    set docdir ${prefix}/share/doc/${name}-${version}
32    xinstall -d ${destroot}${docdir}
33    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README ROADMAP \
34        ${destroot}${docdir}
35}
36
37livecheck.distname  libpar2