summaryrefslogtreecommitdiff
path: root/audio/cdparanoia/patches/patch-ab
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 12:45:21 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 12:45:21 +0000
commit6b0e28911a4a24d6469ec9e4e275251233f194e1 (patch)
tree00fbb9581279124a84e28d413b485f8c7a4ce986 /audio/cdparanoia/patches/patch-ab
parentc0f7033f4f798387d0e3eae9375203c8b7142f9b (diff)
downloadpkgsrc-6b0e28911a4a24d6469ec9e4e275251233f194e1.tar.gz
DESTDIR support.
Diffstat (limited to 'audio/cdparanoia/patches/patch-ab')
-rw-r--r--audio/cdparanoia/patches/patch-ab41
1 files changed, 24 insertions, 17 deletions
diff --git a/audio/cdparanoia/patches/patch-ab b/audio/cdparanoia/patches/patch-ab
index 66f3a1e590f..4ea6e45bacf 100644
--- a/audio/cdparanoia/patches/patch-ab
+++ b/audio/cdparanoia/patches/patch-ab
@@ -1,8 +1,6 @@
-$NetBSD: patch-ab,v 1.6 2006/09/03 17:13:30 ben Exp $
+$NetBSD: patch-ab,v 1.7 2006/11/03 12:45:21 joerg Exp $
-Note that VERSION is *not* used for the libtool versioning.
-
---- Makefile.in.orig 2001-03-27 14:46:58.000000000 -0800
+--- Makefile.in.orig 2001-03-27 22:46:58.000000000 +0000
+++ Makefile.in
@@ -3,12 +3,12 @@
# DO NOT EDIT BELOW! ##########################################################
@@ -63,26 +61,24 @@ Note that VERSION is *not* used for the libtool versioning.
test:
cd interface && $(MAKE) all
-@@ -65,31 +65,20 @@ slib:
+@@ -64,32 +64,20 @@ slib:
+ cd paranoia && $(MAKE) slib
install:
- $(INSTALL) -d -m 0755 $(BINDIR)
+- $(INSTALL) -d -m 0755 $(BINDIR)
- $(INSTALL) -m 0755 $(srcdir)/cdparanoia $(BINDIR)
-+ $(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(srcdir)/cdparanoia $(BINDIR)
- $(INSTALL) -d -m 0755 $(MANDIR)
- $(INSTALL) -d -m 0755 $(MANDIR)/man1
- $(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
- $(INSTALL) -d -m 0755 $(INCLUDEDIR)
- $(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
- $(INSTALL) -d -m 0755 $(LIBDIR)
+- $(INSTALL) -d -m 0755 $(MANDIR)
+- $(INSTALL) -d -m 0755 $(MANDIR)/man1
+- $(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
+- $(INSTALL) -d -m 0755 $(INCLUDEDIR)
+- $(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
+- $(INSTALL) -d -m 0755 $(LIBDIR)
- $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(LIBDIR)
- $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(LIBDIR)
-+ $(LIBTOOL) --mode=install $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.la $(LIBDIR)
- $(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
+- $(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
- $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(LIBDIR)
- $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(LIBDIR)
-+ $(LIBTOOL) --mode=install $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.la $(LIBDIR)
- $(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
+- $(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
- ln -fs libcdda_interface.so.0.$(VERSION) \
- $(LIBDIR)/libcdda_interface.so.0
- ln -fs libcdda_interface.so.0.$(VERSION) \
@@ -91,6 +87,17 @@ Note that VERSION is *not* used for the libtool versioning.
- $(LIBDIR)/libcdda_paranoia.so.0
- ln -fs libcdda_paranoia.so.0.$(VERSION) \
- $(LIBDIR)/libcdda_paranoia.so
++ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}$(BINDIR)
++ $(LIBTOOL) --mode=install ${BSD_INSTALL_PROGRAM} $(srcdir)/cdparanoia ${DESTDIR}$(BINDIR)
++ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
++ ${BSD_INSTALL_MAN} $(srcdir)/cdparanoia.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(INCLUDEDIR)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(LIBDIR)
++ ${BSD_INSTALL_DATA} $(srcdir)/interface/cdda_interface.h ${DESTDIR}$(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} $(srcdir)/paranoia/cdda_paranoia.h ${DESTDIR}$(INCLUDEDIR)
++ ${BSD_INSTALL_DATA} $(srcdir)/utils.h ${DESTDIR}$(INCLUDEDIR)
++ $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} $(srcdir)/paranoia/libcdda_paranoia.la ${DESTDIR}$(LIBDIR)
++ $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} $(srcdir)/interface/libcdda_interface.la ${DESTDIR}$(LIBDIR)
cdparanoia: $(OFILES) $(LIBDEP)
- $(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \