pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libmatroska Added support for installation ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/81f7f7a9f07b
branches: trunk
changeset: 530573:81f7f7a9f07b
user: heinz <heinz%pkgsrc.org@localhost>
date: Sun Jul 01 20:23:19 2007 +0000
description:
Added support for installation to DESTDIR. Approved by salo@.
diffstat:
multimedia/libmatroska/Makefile | 3 +-
multimedia/libmatroska/distinfo | 4 +-
multimedia/libmatroska/patches/patch-ac | 39 ++++++++++++++++++++++++++++++--
3 files changed, 40 insertions(+), 6 deletions(-)
diffs (81 lines):
diff -r 18981570013c -r 81f7f7a9f07b multimedia/libmatroska/Makefile
--- a/multimedia/libmatroska/Makefile Sun Jul 01 20:21:33 2007 +0000
+++ b/multimedia/libmatroska/Makefile Sun Jul 01 20:23:19 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/02/05 23:10:16 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2007/07/01 20:23:19 heinz Exp $
#
DISTNAME= libmatroska-0.8.0
@@ -11,6 +11,7 @@
HOMEPAGE= http://www.matroska.org/
COMMENT= Extensible open standard Audio/Video container format
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
diff -r 18981570013c -r 81f7f7a9f07b multimedia/libmatroska/distinfo
--- a/multimedia/libmatroska/distinfo Sun Jul 01 20:21:33 2007 +0000
+++ b/multimedia/libmatroska/distinfo Sun Jul 01 20:23:19 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2005/12/11 17:58:49 salo Exp $
+$NetBSD: distinfo,v 1.15 2007/07/01 20:23:19 heinz Exp $
SHA1 (libmatroska-0.8.0.tar.bz2) = 7725d874dbf37ec7c41115804f091fa1554c6338
RMD160 (libmatroska-0.8.0.tar.bz2) = e2fb6dcad7157373a271273a1a3ffc4428da9744
Size (libmatroska-0.8.0.tar.bz2) = 90653 bytes
-SHA1 (patch-ac) = 1923a41551dc2217bd155f961f5fcae569c48ace
+SHA1 (patch-ac) = cd865ba47b6e1edf5988db2ff12ad9cd2f0dbc1c
diff -r 18981570013c -r 81f7f7a9f07b multimedia/libmatroska/patches/patch-ac
--- a/multimedia/libmatroska/patches/patch-ac Sun Jul 01 20:21:33 2007 +0000
+++ b/multimedia/libmatroska/patches/patch-ac Sun Jul 01 20:23:19 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.6 2005/06/06 21:15:02 salo Exp $
+$NetBSD: patch-ac,v 1.7 2007/07/01 20:23:19 heinz Exp $
--- make/linux/Makefile.orig 2005-04-19 09:00:00.000000000 +0200
-+++ make/linux/Makefile 2005-06-06 23:12:23.000000000 +0200
-@@ -16,15 +16,15 @@
++++ make/linux/Makefile
+@@ -16,15 +16,15 @@ prefix=/boot/home/config
else
prefix=/usr/local
endif
@@ -24,3 +24,36 @@
INSTALL_OPTS = -m 644
INSTALL_OPTS_LIB = -m 644
INSTALL_DIR_OPTS = -m 755
+@@ -155,23 +155,23 @@ install: install_staticlib install_share
+ endif
+
+ install_headers:
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
+ for i in $(INCLUDE_DIR)/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
+ done
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
+ for i in $(INCLUDE_DIR)/c/*.h; do \
+- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \
++ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
+ done
+
+ install_staticlib: $(LIBRARY)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
+
+ install_sharedlib: $(LIBRARY_SO)
+- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
+- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
+- ln -s $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
++ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
++ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
++ ln -s $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
+
+ ifneq ($(wildcard .depend),)
+ include .depend
Home |
Main Index |
Thread Index |
Old Index