# $Id$ PortSystem 1.0 name mp3cue version 0.4.1 categories audio license BSD platforms darwin maintainers nomaintainer description MP3 cue file parser long_description \ 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 post-patch { reinplace "s|YACC=bison|YACC=${prefix}/bin/bison|" ${worksrcpath}/Makefile reinplace "s|#CFLAGS += -DWITH_ID3TAG|CFLAGS += -DWITH_ID3TAG|" \ ${worksrcpath}/Makefile reinplace "s|#LDFLAGS += -lid3tag|LDFLAGS += -lid3tag|" \ ${worksrcpath}/Makefile reinplace "s|#CFLAGS += -I/sw/include|CFLAGS += -I${prefix}/include|" \ ${worksrcpath}/Makefile reinplace "s|#LDFLAGS += -L/sw/lib|LDFLAGS += -L${prefix}/lib|" \ ${worksrcpath}/Makefile reinplace "s|#CFLAGS+=-DWITH_IPV6|CFLAGS+=-DWITH_IPV6|" \ ${worksrcpath}/Makefile reinplace "s|PREFIX:= /usr/local|PREFIX:= ${prefix}|" \ ${worksrcpath}/Makefile reinplace "s| -g root -o root||" \ ${worksrcpath}/Makefile } use_configure no