Ticket #25096: id3tagpc.patch

File id3tagpc.patch, 1.3 KB (added by kthenriksson@…, 14 years ago)

Add id3tag.pc to build

  • 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

     
    55
    66name            libid3tag
    77version         0.15.1b
     8revision        1
    89categories      audio
    910maintainers     nomaintainer
    1011description     id3 tag manipulation library
     
    2324        }
    2425}
    2526
     27patchfiles      patch-id3tag.diff
     28post-patch {
     29        reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/id3tag.pc
     30}
     31
     32post-destroot {
     33        xinstall -m 0644 ${worksrcpath}/id3tag.pc \
     34                ${destroot}${prefix}/lib/pkgconfig
     35}
     36
    2637livecheck.type  regex
    2738livecheck.url   ftp://ftp.mars.org/pub/mpeg/
    2839livecheck.regex "${name}-(\\d+(?:\\.\\d+)*\[a-z\])${extract.suffix}"