source: trunk/dports/devel/libcdio/Portfile

Last change on this file was 154203, checked in by ctreleaven@…, 11 months ago

libcdio: bump to 0.94

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 154203 2016-10-24 12:13:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libcdio
7version             0.94
8
9categories          devel
10platforms           darwin
11license             GPL-3+
12maintainers         nomaintainer
13
14description         Compact Disc Input and Control Library
15long_description    The libcdio package contains a library which \
16                    encapsulates CD-ROM reading and control. \
17                    Applications wishing to be oblivious of the \
18                    OS- and device-dependent properties of a CD-ROM \
19                    can use this library.
20homepage            http://www.gnu.org/software/libcdio/
21
22depends_build       port:pkgconfig
23depends_lib         port:gettext \
24                    port:libcddb \
25                    port:libiconv \
26                    port:ncurses \
27                    port:popt
28
29master_sites        gnu
30checksums           rmd160  795a72a5fa0b6f23e969051f0f59ec9f1ca588c2 \
31                    sha256  96e2c903f866ae96f9f5b9048fa32db0921464a2286f5b586c0f02699710025a
32
33# Required to get a newer libtool that understands -stdlib.
34use_autoreconf          yes
35autoreconf.args-append  --force
36
37configure.args      --disable-silent-rules
38
39# This is a hack because libcdio incorrectly registers the detected
40# libiconv linking options *for libtool* in its .pc files.
41# Should probably be handled another way?
42post-configure {
43    foreach pcfile [glob ${worksrcpath}/*.pc] {
44        reinplace -W "${worksrcpath}/lib/pkgconfig" "s/-R/-Wl,-rpath,/g" "${pcfile}"
45    }
46}
47
48test.run            yes
49test.target         check
Note: See TracBrowser for help on using the repository browser.