Ticket #25096: id3tagpc.patch
File id3tagpc.patch, 1.3 KB (added by kthenriksson@…, 14 years ago) |
---|
-
dports/audio/libid3tag/files/patch-id3tag.diff
1 --- id3tag.pc.empty 1969-12-31 19:00:00.000000000 -0500 2 +++ id3tag.pc 2010-05-31 21:01:48.000000000 -0400 3 @@ -0,0 +1,10 @@ 4 +prefix=@PREFIX@ 5 +exec_prefix=${prefix} 6 +libdir=${exec_prefix}/lib 7 +includedir=${prefix}/include 8 + 9 +Name: id3tag 10 +Description: ID3 tag manipulation library 11 +Version: 0.15.1b 12 +Libs: -L${libdir} -lid3tag 13 +Cflags: -I${includedir} -
dports/audio/libid3tag/Portfile
5 5 6 6 name libid3tag 7 7 version 0.15.1b 8 revision 1 8 9 categories audio 9 10 maintainers nomaintainer 10 11 description id3 tag manipulation library … … 23 24 } 24 25 } 25 26 27 patchfiles patch-id3tag.diff 28 post-patch { 29 reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/id3tag.pc 30 } 31 32 post-destroot { 33 xinstall -m 0644 ${worksrcpath}/id3tag.pc \ 34 ${destroot}${prefix}/lib/pkgconfig 35 } 36 26 37 livecheck.type regex 27 38 livecheck.url ftp://ftp.mars.org/pub/mpeg/ 28 39 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*\[a-z\])${extract.suffix}"