summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-29 19:54:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-29 19:54:29 +0000
commit8483cf6b8a0b9a668972f3b52dbac5d2cbd60d16 (patch)
treec55bb606106c398e8f0a6df069b9c5ec34cf6395 /audio
parent- Update to version 0.26 (diff)
Create and install a pkg-config file for id3tag. There are some ports
that require this. Submitted by: maintainer Adapted from: RedHat spec
Notes
Notes: svn path=/head/; revision=96910
Diffstat (limited to 'audio')
-rw-r--r--audio/libid3tag/Makefile1
-rw-r--r--audio/libid3tag/files/patch-Makefile.in77
-rw-r--r--audio/libid3tag/files/patch-id3tag.pc.in13
-rw-r--r--audio/libid3tag/pkg-plist1
4 files changed, 84 insertions, 8 deletions
diff --git a/audio/libid3tag/Makefile b/audio/libid3tag/Makefile
index d2090b278707..eeea6de75e0c 100644
--- a/audio/libid3tag/Makefile
+++ b/audio/libid3tag/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libid3tag
PORTVERSION= 0.15.0b
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.mars.org/pub/mpeg/
diff --git a/audio/libid3tag/files/patch-Makefile.in b/audio/libid3tag/files/patch-Makefile.in
index ce577d9eea67..a77a836f942a 100644
--- a/audio/libid3tag/files/patch-Makefile.in
+++ b/audio/libid3tag/files/patch-Makefile.in
@@ -1,11 +1,72 @@
---- Makefile.in.orig Wed Nov 26 09:37:37 2003
-+++ Makefile.in Wed Nov 26 09:37:57 2003
-@@ -213,7 +213,7 @@
- ltmain.sh missing mkinstalldirs
+--- Makefile.in.orig Thu Jun 5 02:48:25 2003
++++ Makefile.in Wed Dec 24 10:31:59 2003
+@@ -133,9 +133,12 @@
+
+ version_info = $(version_current):$(version_revision):$(version_age)
+
+-EXTRA_DIST = genre.dat.sed \
++EXTRA_DIST = genre.dat.sed id3tag.pc.in \
+ CHANGES COPYRIGHT CREDITS README TODO VERSION
+
++pkgconfigdir = $(prefix)/libdata/pkgconfig
++pkgconfig_DATA = id3tag.pc
++
+ @DEBUG_FALSE@debug =
+
+ @DEBUG_TRUE@debug = debug.c debug.h
+@@ -210,7 +213,7 @@
+ DIST_COMMON = README $(include_HEADERS) COPYING INSTALL Makefile.am \
+ Makefile.in TODO aclocal.m4 config.guess config.h.in config.sub \
+ configure configure.ac depcomp install-sh libid3tag.list.in \
+- ltmain.sh missing mkinstalldirs
++ ltmain.sh missing mkinstalldirs id3tag.pc.in
SOURCES = $(libid3tag_la_SOURCES) $(EXTRA_libid3tag_la_SOURCES)
--all: $(BUILT_SOURCES) config.h
-+all: $(BUILT_SOURCES)
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
+ all: $(BUILT_SOURCES) config.h
+@@ -249,6 +252,28 @@
+ cd $(top_srcdir) && $(AUTOHEADER)
+ touch $(srcdir)/config.h.in
+
++id3tag.pc: $(top_builddir)/config.status id3tag.pc.in
++ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
++
++install-pkgconfigDATA: $(pkgconfig_DATA)
++ @$(NORMAL_INSTALL)
++ $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
++ @list='$(pkgconfig_DATA)'; for p in $$list; do \
++ if test -f $(srcdir)/$$p; then \
++ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
++ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
++ else if test -f $$p; then \
++ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
++ $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
++ fi; fi; \
++ done
++
++uninstall-pkgconfigDATA:
++ @$(NORMAL_UNINSTALL)
++ list='$(pkgconfig_DATA)'; for p in $$list; do \
++ rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
++ done
++
+ distclean-hdr:
+ -rm -f config.h stamp-h1
+ libid3tag.list: $(top_builddir)/config.status libid3tag.list.in
+@@ -674,7 +699,7 @@
+
+ info-am:
+
+-install-data-am: install-includeHEADERS
++install-data-am: install-includeHEADERS install-pkgconfigDATA
+
+ install-exec-am: install-libLTLIBRARIES
+
+@@ -703,7 +728,7 @@
+ ps-am:
+
+ uninstall-am: uninstall-includeHEADERS uninstall-info-am \
+- uninstall-libLTLIBRARIES
++ uninstall-libLTLIBRARIES install-pkgconfigDATA
+
+ uninstall-info: uninstall-info-recursive
- .SUFFIXES:
diff --git a/audio/libid3tag/files/patch-id3tag.pc.in b/audio/libid3tag/files/patch-id3tag.pc.in
new file mode 100644
index 000000000000..282ed2507a0f
--- /dev/null
+++ b/audio/libid3tag/files/patch-id3tag.pc.in
@@ -0,0 +1,13 @@
+--- id3tag.pc.in.orig 1970-01-01 09:00:00.000000000 +0900
++++ id3tag.pc.in 2003-11-11 08:42:38.000000000 +0900
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: ID3TAG
++Description: libid3tag - ID3 tag manipulation library
++Version: @VERSION@
++Libs: -L${libdir} -lid3tag -lz
++Cflags:
diff --git a/audio/libid3tag/pkg-plist b/audio/libid3tag/pkg-plist
index 3777d8f6e37a..aeff958d8d3e 100644
--- a/audio/libid3tag/pkg-plist
+++ b/audio/libid3tag/pkg-plist
@@ -2,3 +2,4 @@ include/id3tag.h
lib/libid3tag.a
lib/libid3tag.so
lib/libid3tag.so.2
+libdata/pkgconfig/id3tag.pc