summaryrefslogtreecommitdiff
path: root/graphics/Ngraph
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-01 02:31:28 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-01 02:31:28 +0000
commit4177ce0abdcc737fa08ff74d878e0e1479d69efc (patch)
tree3fecac7d14f66f691f3d7836b4c87de0f4263697 /graphics/Ngraph
parent3e200a8509b67d75b8cd4d1ca4f7255332953f84 (diff)
downloadpkgsrc-4177ce0abdcc737fa08ff74d878e0e1479d69efc.tar.gz
DESTDIR support
Diffstat (limited to 'graphics/Ngraph')
-rw-r--r--graphics/Ngraph/Makefile8
-rw-r--r--graphics/Ngraph/distinfo4
-rw-r--r--graphics/Ngraph/patches/patch-aa6
3 files changed, 11 insertions, 7 deletions
diff --git a/graphics/Ngraph/Makefile b/graphics/Ngraph/Makefile
index 0af41292c4c..fc53f250bef 100644
--- a/graphics/Ngraph/Makefile
+++ b/graphics/Ngraph/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/02/17 13:02:20 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2010/02/01 02:37:56 joerg Exp $
#
DISTNAME= Ngraph-6.3.30-src
@@ -14,15 +14,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www2e.biglobe.ne.jp/~isizaka/
COMMENT= The 2D graph and data analysis program
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_TOOLS+= gmake gtar
+INSTALLATION_DIRS+= bin
+
post-extract:
${GTAR} -C ${WRKSRC}/combo -xzf ${DISTDIR}/ileaf-widgets.tar.Z
post-install:
- ${GTAR} -C ${PREFIX}/libexec/Ngraph -xzf ${DISTDIR}/Ngraph-6.3.30-doc.tar.gz
+ ${GTAR} -C ${DESTDIR}${PREFIX}/libexec/Ngraph -xzf ${DISTDIR}/Ngraph-6.3.30-doc.tar.gz
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/Ngraph/distinfo b/graphics/Ngraph/distinfo
index d055e7f007a..aacdc13add1 100644
--- a/graphics/Ngraph/distinfo
+++ b/graphics/Ngraph/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/02/24 08:45:02 agc Exp $
+$NetBSD: distinfo,v 1.9 2010/02/01 02:37:56 joerg Exp $
SHA1 (Ngraph-6.3.30-src.tar.gz) = 81574241f35258bb14139c6ae57b28789f0d297c
RMD160 (Ngraph-6.3.30-src.tar.gz) = 60de19f14d672cddcdb9452d7e40196f9b9b588c
@@ -9,5 +9,5 @@ Size (Ngraph-6.3.30-doc.tar.gz) = 557066 bytes
SHA1 (ileaf-widgets.tar.Z) = db0f6425f77bc3013b7aae163be558683661560e
RMD160 (ileaf-widgets.tar.Z) = cf3f260ce294ef839da74f19d327257978b12b3f
Size (ileaf-widgets.tar.Z) = 70223 bytes
-SHA1 (patch-aa) = 5b1f01b6a5e75489a8782d89ddfeeb60bc1c29fa
+SHA1 (patch-aa) = ad4ad58145a1d5523111c7e60a72c6c217f32bdf
SHA1 (patch-ab) = f2e9df51aeed77ebd6670abf0e34650f006b8c28
diff --git a/graphics/Ngraph/patches/patch-aa b/graphics/Ngraph/patches/patch-aa
index f16e1341692..c018d7098f7 100644
--- a/graphics/Ngraph/patches/patch-aa
+++ b/graphics/Ngraph/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.6 2004/11/29 20:31:44 wiz Exp $
+$NetBSD: patch-aa,v 1.7 2010/02/01 02:37:56 joerg Exp $
--- Makefile.orig Sat Aug 7 19:57:39 2004
+++ Makefile Tue Aug 31 20:40:29 2004
@@ -1,26 +1,42 @@
@@ -9,8 +9,8 @@ $NetBSD: patch-aa,v 1.6 2004/11/29 20:31:44 wiz Exp $
-INSTALLDIR = /usr/local/lib/Ngraph
-BINDIR = /usr/local/bin
+LIBDIR = '"${PREFIX}/libexec/Ngraph"'
-+INSTALLDIR =${PREFIX}/libexec/Ngraph
-+BINDIR = ${PREFIX}/bin
++INSTALLDIR =${DESTDIR}${PREFIX}/libexec/Ngraph
++BINDIR = ${DESTDIR}${PREFIX}/bin
#
#
###############################################################################