summaryrefslogtreecommitdiff
path: root/graphics/g3d
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
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /graphics/g3d
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics/g3d')
-rw-r--r--graphics/g3d/Makefile4
-rw-r--r--graphics/g3d/distinfo4
-rw-r--r--graphics/g3d/patches/patch-aa6
3 files changed, 8 insertions, 6 deletions
diff --git a/graphics/g3d/Makefile b/graphics/g3d/Makefile
index eb6e1d9e8fe..20b9e6256dd 100644
--- a/graphics/g3d/Makefile
+++ b/graphics/g3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/10/04 21:44:46 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= g3d-0.0.2
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= 3D modeller with a view of 3D modelling
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/g3d
USE_DIRS+= xdg-1.1
USE_LIBTOOL= YES
diff --git a/graphics/g3d/distinfo b/graphics/g3d/distinfo
index 5dd899fd709..f6d67b1b0c1 100644
--- a/graphics/g3d/distinfo
+++ b/graphics/g3d/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 08:45:05 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/06/20 01:09:21 joerg Exp $
SHA1 (g3d-0.0.2.tar.gz) = 43bee375f1c5053b89110eda505a9a9eca3fa697
RMD160 (g3d-0.0.2.tar.gz) = 6ad8fdabe843a8cf5c8353a16e2ac2b9100701ce
Size (g3d-0.0.2.tar.gz) = 187640 bytes
-SHA1 (patch-aa) = 6d59d77a78070568ec883c454dbd604847b860a2
+SHA1 (patch-aa) = 26bb72b8de39c7038448b248474c2c753cf69120
SHA1 (patch-ab) = 785a24c0b275235d6c7eb47ec2ca19823f4f528f
diff --git a/graphics/g3d/patches/patch-aa b/graphics/g3d/patches/patch-aa
index 0206d494754..3703b1fe776 100644
--- a/graphics/g3d/patches/patch-aa
+++ b/graphics/g3d/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
+$NetBSD: patch-aa,v 1.2 2008/06/20 01:09:21 joerg Exp $
--- ./g3d/Makefile.in.orig Sat Jul 17 05:29:18 1999
+++ ./g3d/Makefile.in Thu Jul 22 10:24:50 1999
@@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/07/22 03:35:21 sakamoto Exp $
install-data-local:
- -mkdir /usr/local/share/pixmaps/g3d/
- cp $(top_srcdir)/pixmaps/*.xpm /usr/local/share/pixmaps/g3d/
-+ $(mkinstalldirs) $(prefix)/share/pixmaps/g3d/
-+ cp $(top_srcdir)/pixmaps/*.xpm $(prefix)/share/pixmaps/g3d/
++ $(mkinstalldirs) ${DESTDIR}$(prefix)/share/pixmaps/g3d/
++ cp $(top_srcdir)/pixmaps/*.xpm ${DESTDIR}$(prefix)/share/pixmaps/g3d/
# Tell versions [3.59,3.63) of GNU make to not export all variables.