summaryrefslogtreecommitdiff
path: root/devel/libebml
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-07-01 20:20:45 +0000
committerheinz <heinz@pkgsrc.org>2007-07-01 20:20:45 +0000
commit8362427dad0e5d49662cf6b4f6ee4a25bc60e337 (patch)
treeea1715fc526659be3c9b66f3df90e759039da190 /devel/libebml
parentbde1ee47e82034e093cc3efbf6893c6b289c0622 (diff)
downloadpkgsrc-8362427dad0e5d49662cf6b4f6ee4a25bc60e337.tar.gz
Added support for installation to DESTDIR. Approved by salo@.
Diffstat (limited to 'devel/libebml')
-rw-r--r--devel/libebml/Makefile3
-rw-r--r--devel/libebml/distinfo4
-rw-r--r--devel/libebml/patches/patch-aa41
3 files changed, 41 insertions, 7 deletions
diff --git a/devel/libebml/Makefile b/devel/libebml/Makefile
index cd2deb416d9..220b1921dfc 100644
--- a/devel/libebml/Makefile
+++ b/devel/libebml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/10/08 03:11:05 salo Exp $
+# $NetBSD: Makefile,v 1.26 2007/07/01 20:20:45 heinz Exp $
#
DISTNAME= libebml-0.7.7
@@ -10,6 +10,7 @@ MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/ebml/
COMMENT= Extensible Binary Meta Language support library
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= gmake
diff --git a/devel/libebml/distinfo b/devel/libebml/distinfo
index bb4cfd12c0b..a6f7748a536 100644
--- a/devel/libebml/distinfo
+++ b/devel/libebml/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2006/10/08 03:11:05 salo Exp $
+$NetBSD: distinfo,v 1.14 2007/07/01 20:20:45 heinz Exp $
SHA1 (libebml-0.7.7.tar.bz2) = e79f98968c8566c95637616c4419697e0adbecca
RMD160 (libebml-0.7.7.tar.bz2) = d42ec6606a16cc9b38cff501e14929853136fa0b
Size (libebml-0.7.7.tar.bz2) = 56527 bytes
-SHA1 (patch-aa) = 839ddb941d985f5d8696e878736f8c3d5def13ef
+SHA1 (patch-aa) = fb3f3869817ba1a0de98caf35abe22f7ff1b4716
diff --git a/devel/libebml/patches/patch-aa b/devel/libebml/patches/patch-aa
index 42374bfa819..db798661279 100644
--- a/devel/libebml/patches/patch-aa
+++ b/devel/libebml/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2005/06/06 21:11:36 salo Exp $
+$NetBSD: patch-aa,v 1.8 2007/07/01 20:20:45 heinz Exp $
---- make/linux/Makefile.orig 2005-04-19 08:56:06.000000000 +0200
-+++ make/linux/Makefile 2005-06-06 23:07:55.000000000 +0200
-@@ -16,15 +16,15 @@
+--- make/linux/Makefile.orig 2006-03-30 21:05:11.000000000 +0200
++++ make/linux/Makefile
+@@ -16,15 +16,15 @@ prefix=/boot/home/config
else
prefix=/usr/local
endif
@@ -24,3 +24,36 @@ $NetBSD: patch-aa,v 1.7 2005/06/06 21:11:36 salo Exp $
INSTALL_OPTS = -m 644
INSTALL_OPTS_LIB = -m 644
INSTALL_DIR_OPTS = -m 755
+@@ -125,23 +125,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),)