description MP3 cue file parser
mp3cue is a program that parses an input CUE \
file describing a multitrack MP3 and cuts the \
input MP3 into multiple MP3 tracks according \
to the description in the CUE file.
homepage https://www.bl0rg.net/software/poc
master_sites ${homepage} macports
checksums sha1 b2d210886b04544a33ed863927b8eadcf706e186 \
rmd160 f7981920993742aeed20aa6000dfd53c4b9f8ffc
worksrcdir poc-${version}
depends_build port:bison port:flex port:libid3tag
patchfiles patch-fec-pkt.c.diff
reinplace "s|YACC=bison|YACC=${prefix}/bin/bison|" ${worksrcpath}/Makefile
reinplace "s|#CFLAGS += -DWITH_ID3TAG|CFLAGS += -DWITH_ID3TAG|" \
reinplace "s|#LDFLAGS += -lid3tag|LDFLAGS += -lid3tag|" \
reinplace "s|#CFLAGS += -I/sw/include|CFLAGS += -I${prefix}/include|" \
reinplace "s|#LDFLAGS += -L/sw/lib|LDFLAGS += -L${prefix}/lib|" \
reinplace "s|#CFLAGS+=-DWITH_IPV6|CFLAGS+=-DWITH_IPV6|" \
reinplace "s|PREFIX:= /usr/local|PREFIX:= ${prefix}|" \
reinplace "s| -g root -o root||" \