source: trunk/dports/audio/mp3cue/Portfile

Last change on this file was 120979, checked in by mf2k@…, 3 years ago

blackbox crafty cvsdelta cvsgrab duff eboard fetchmail fluxbox fragrouter frozenbubble2 gnuchess gnupod iperf libmpcdec libsdl_pango mp3cue p5-danga-socket p5-gearman p5-gearman-client-async p5-gearman-server p5-io-aio p5-io-kqueue p5-mogilefs-client p5-mogilefs-server p5-mogilefs-utils p5-perlbal p5-sys-syscall py-pylibpcap ratpoison sysvbanner vsftpd: Port abandoned. (#44002)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 120979 2014-06-13 15:51:30Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             mp3cue
6version          0.4.1
7categories       audio
8license          BSD
9platforms        darwin
10maintainers      nomaintainer
11
12description      MP3 cue file parser
13long_description \
14        mp3cue is a program that parses an input CUE \
15        file describing a multitrack MP3 and cuts the \
16        input MP3 into multiple MP3 tracks according \
17        to the description in the CUE file.
18
19homepage         https://www.bl0rg.net/software/poc
20master_sites     ${homepage} macports
21checksums        sha1 b2d210886b04544a33ed863927b8eadcf706e186 \
22                 rmd160 f7981920993742aeed20aa6000dfd53c4b9f8ffc
23worksrcdir       poc-${version}
24
25depends_build    port:bison port:flex port:libid3tag
26
27patchfiles       patch-fec-pkt.c.diff
28post-patch {
29    reinplace "s|YACC=bison|YACC=${prefix}/bin/bison|" ${worksrcpath}/Makefile
30
31    reinplace "s|#CFLAGS += -DWITH_ID3TAG|CFLAGS += -DWITH_ID3TAG|" \
32              ${worksrcpath}/Makefile
33    reinplace "s|#LDFLAGS += -lid3tag|LDFLAGS += -lid3tag|" \
34              ${worksrcpath}/Makefile
35
36    reinplace "s|#CFLAGS += -I/sw/include|CFLAGS += -I${prefix}/include|" \
37              ${worksrcpath}/Makefile
38    reinplace "s|#LDFLAGS += -L/sw/lib|LDFLAGS += -L${prefix}/lib|" \
39              ${worksrcpath}/Makefile
40
41    reinplace "s|#CFLAGS+=-DWITH_IPV6|CFLAGS+=-DWITH_IPV6|" \
42              ${worksrcpath}/Makefile
43
44    reinplace "s|PREFIX:= /usr/local|PREFIX:= ${prefix}|" \
45              ${worksrcpath}/Makefile
46    reinplace "s| -g root -o root||" \
47              ${worksrcpath}/Makefile
48}
49
50use_configure    no
Note: See TracBrowser for help on using the repository browser.