summaryrefslogtreecommitdiff
path: root/math/blitz++
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /math/blitz++
parentdf12796d2c7ff30316099a62cbdf43f49006d442 (diff)
downloadpkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz
Add DESTDIR support.
Diffstat (limited to 'math/blitz++')
-rw-r--r--math/blitz++/Makefile4
-rw-r--r--math/blitz++/distinfo3
-rw-r--r--math/blitz++/patches/patch-ad32
3 files changed, 37 insertions, 2 deletions
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
index 0534f783458..30bc9e65518 100644
--- a/math/blitz++/Makefile
+++ b/math/blitz++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/07/22 04:46:16 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:24 joerg Exp $
DISTNAME= blitz-0.8
PKGNAME= blitz++-0.8
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.oonumerics.org/blitz/
COMMENT= C++ template class library providing array objects
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++ fortran
USE_LIBTOOL= yes
USE_TOOLS+= gmake
diff --git a/math/blitz++/distinfo b/math/blitz++/distinfo
index f9e73a49a2b..138e6430d3c 100644
--- a/math/blitz++/distinfo
+++ b/math/blitz++/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/02/02 14:10:45 joerg Exp $
+$NetBSD: distinfo,v 1.6 2008/06/20 01:09:24 joerg Exp $
SHA1 (blitz-0.8.tar.gz) = e1396cdfdbf4ec93bfc69ca581b8e9a64d745ca1
RMD160 (blitz-0.8.tar.gz) = 95b8eb6ee8a99f0632a0c510eafd0051053c1e0e
@@ -6,3 +6,4 @@ Size (blitz-0.8.tar.gz) = 2729167 bytes
SHA1 (patch-aa) = deb437da8741a87c18f56883a880a03a6e94c84d
SHA1 (patch-ab) = 30b268204142b5f8a63ca7d3273d323d82e82077
SHA1 (patch-ac) = bd1622d79769cf0b99ebbcbe614d86fda728ff1b
+SHA1 (patch-ad) = 8161f42442c069affded125d607583749e9636e9
diff --git a/math/blitz++/patches/patch-ad b/math/blitz++/patches/patch-ad
new file mode 100644
index 00000000000..fd5b0ca611a
--- /dev/null
+++ b/math/blitz++/patches/patch-ad
@@ -0,0 +1,32 @@
+$NetBSD: patch-ad,v 1.3 2008/06/20 01:10:02 joerg Exp $
+
+--- doc/doxygen/Makefile.in.orig 2008-06-19 15:41:31.000000000 +0000
++++ doc/doxygen/Makefile.in
+@@ -474,22 +474,22 @@ clean-local:
+
+ # Install hooks
+ make-install-dirs:
+- @if test '!' -d $(docdir) ; \
+- then mkdir -p $(docdir) ; \
++ @if test '!' -d ${DESTDIR}$(docdir) ; \
++ then mkdir -p ${DESTDIR}$(docdir) ; \
+ fi
+
+ install-data-hook: make-install-dirs
+ @if test -d html; then \
+ echo Installing documentations into $(docdir) ; \
+- $(INSTALL_DATA) html/* $(docdir) ; \
++ $(INSTALL_DATA) html/* ${DESTDIR}$(docdir) ; \
+ fi
+ @if test -f $(PACKAGE).pdf; then \
+ echo Installing PDF manual into $(docdir) ; \
+- $(INSTALL_DATA) $(PACKAGE).pdf $(docdir) ; \
++ $(INSTALL_DATA) $(PACKAGE).pdf ${DESTDIR}$(docdir) ; \
+ fi
+ @if test -f $(PACKAGE).ps; then \
+ echo Installing PS manual into $(docdir) ; \
+- $(INSTALL_DATA) $(PACKAGE).ps $(docdir) ; \
++ $(INSTALL_DATA) $(PACKAGE).ps ${DESTDIR}$(docdir) ; \
+ fi
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.