summaryrefslogtreecommitdiff
path: root/audio/libid3tag
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-12-17 03:23:45 +0000
committersimonb <simonb@pkgsrc.org>2003-12-17 03:23:45 +0000
commite3bf471f24746af6f1053151f934855569b7e50c (patch)
treef4ef0d2025f53ac3100954bb59498d7d15644cef /audio/libid3tag
parent009490a63b5c18a55a25667ea7519cf239c51206 (diff)
downloadpkgsrc-e3bf471f24746af6f1053151f934855569b7e50c.tar.gz
Add a pkgconfig config file. Some other packages require these.
Diffstat (limited to 'audio/libid3tag')
-rw-r--r--audio/libid3tag/Makefile13
-rw-r--r--audio/libid3tag/PLIST3
-rw-r--r--audio/libid3tag/files/id3tag.pc.in11
3 files changed, 25 insertions, 2 deletions
diff --git a/audio/libid3tag/Makefile b/audio/libid3tag/Makefile
index b6edb826321..ef7d8674457 100644
--- a/audio/libid3tag/Makefile
+++ b/audio/libid3tag/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:22:40 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/12/17 03:23:46 simonb Exp $
#
DISTNAME= libid3tag-0.15.0b
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
ftp://ftp.mars.org/pub/mpeg/
@@ -17,5 +18,15 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+post-build:
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' \
+ -e 's,@VERSION@,${PKGVERSION},g' \
+ < ${FILESDIR}/id3tag.pc.in > ${WRKDIR}/id3tag.pc
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/id3tag.pc ${PREFIX}/lib/pkgconfig
+
+
+.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libid3tag/PLIST b/audio/libid3tag/PLIST
index 4a05951e508..f1ef146a136 100644
--- a/audio/libid3tag/PLIST
+++ b/audio/libid3tag/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/10 08:33:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/12/17 03:23:46 simonb Exp $
include/id3tag.h
lib/libid3tag.a
lib/libid3tag.la
lib/libid3tag.so
lib/libid3tag.so.2
lib/libid3tag.so.2.0
+lib/pkgconfig/id3tag.pc
diff --git a/audio/libid3tag/files/id3tag.pc.in b/audio/libid3tag/files/id3tag.pc.in
new file mode 100644
index 00000000000..c494d0849ab
--- /dev/null
+++ b/audio/libid3tag/files/id3tag.pc.in
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: id3tag
+Description: ID3 tag library
+Requires:
+Version: @VERSION@
+Libs: -Wl,-R${libdir} -L${libdir} -lid3tag -lz
+Cflags: -I${includedir}