source: trunk/dports/audio/id3v2/Portfile

Last change on this file was 121269, checked in by jeremyhu@…, 3 years ago

misc: Cleanup configure.cxx_stdlib related logic now that we can assume base 2.3 or newer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 121269 2014-06-21 20:18:42Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    id3v2
6version                 0.1.12
7revision                1
8categories              audio
9maintainers             nordist.net:brent openmaintainer
10license                 LGPL-2.1
11
12description             ID3v2 editing tool
13long_description A command line editor for ID3v2 tags, based on id3lib. \
14                                Written by Myers Carpenter.
15homepage                http://id3v2.sourceforge.net/
16platforms               darwin
17master_sites    sourceforge
18
19checksums               sha1    8f42153b2f53098c221da2e8fe42170e727cd9ad \
20                                rmd160  084f90bea49cc8fb93acb5f78bb55602c5358ac5
21
22depends_lib             port:id3lib
23
24variant universal {}
25
26use_configure   no
27
28pre-build {
29        # The distfile contains compiled Linux objects and binaries.
30        system "cd ${worksrcpath} && make clean"
31}
32
33set cxx_stdlibflags {}
34if {[string match *clang* ${configure.cxx}]} {
35    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
36}
37
38build.args              CXX="${configure.cxx} [get_canonical_archflags] ${cxx_stdlibflags}" \
39                                PREFIX=${prefix}
40
41destroot.args   PREFIX=${destroot}${prefix}
42
43livecheck.type  regex
44livecheck.url   http://sourceforge.net/projects/${name}/files/
45livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.