Ticket #46840: Portfile

File Portfile, 1.5 KB (added by RJVB (René Bertin), 10 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
3PortSystem          1.0
4
5name                xcdroast
6version             0.98alpha16
7categories          sysutils
8platforms           darwin
9license             GPL-2+
10maintainers         gmail.com:rjvbertin
11
12description         A user friendly GUI for copying and burning audio and data CDs
13long_description    ${description}
14
15homepage            http://www.xcdroast.org/
16master_sites        sourceforge:xcdroast
17
18checksums           rmd160  d0d63b6387d9aeace5aaef8ee935b6c6d4836259 \
19                    sha256  a2b96bb9799b5880befe2d01c5e6a0b63110dd61f59384935b750e72bc73984d
20
21depends_lib-append  port:cdrtools port:gtk2
22
23post-extract {
24    reinplace "s|-traditional-cpp||g" configure
25    reinplace "s|gdk_use_xshm|//gdk_use_xshm|g" src/main.c
26}
27
28patchfiles-append   parse_version.patch \
29                    io_compile.patch \
30                    cdda2wav_version.patch \
31                    fix_cddb_hidden_tracks.patch \
32                    io_progressbar_fix.patch
33
34configure.args-append   --with-xcdroast-libdir-prefix=${prefix}/libexec/xcdroast-0.98 --disable-dependency-tracking --enable-gtk2
35
36post-destroot {
37    file rename ${destroot}${prefix}/man/man1/xcdroast.1 ${destroot}${prefix}/share/man/man1/xcdroast.1
38}
39
40livecheck.url       http://sourceforge.net/projects/xcdroast/files
41livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"