summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/dxsamples/Makefile4
-rw-r--r--graphics/dxsamples/distinfo23
-rw-r--r--graphics/dxsamples/patches/patch-programs_2D__DATA_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_3D__DATA_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_ANNOTATION_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_CATEGORICAL_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_COLORMAP__EDITOR_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_COMPUTE_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_DEBUGGING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_DISTRIBUTED__PROCESSING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_IMAGE__PROCESSING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_IMPORTING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_INTERFACE__CONTROL_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_LOOPING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_MISC_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_PLOTTING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_PROBES_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_RENDERING_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_SCATTERED_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_SEQUENCER_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_SIMPLE_Makefile.in16
-rw-r--r--graphics/dxsamples/patches/patch-programs_SUPERVISE_Makefile.in16
23 files changed, 361 insertions, 2 deletions
diff --git a/graphics/dxsamples/Makefile b/graphics/dxsamples/Makefile
index 1e2e50eb21e..d73d9b78c7f 100644
--- a/graphics/dxsamples/Makefile
+++ b/graphics/dxsamples/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/02/15 14:58:20 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2011/03/31 08:07:01 asau Exp $
DISTNAME= dxsamples-4.4.0
CATEGORIES= graphics
@@ -10,6 +10,8 @@ COMMENT= Sample data for Open Visualization Data Explorer
DEPENDS+= dx-[0-9]*:../../graphics/dx
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake makeinfo
CONFIGURE_ARGS+= MAKEINFO=${TOOLS_PATH.makeinfo}
diff --git a/graphics/dxsamples/distinfo b/graphics/dxsamples/distinfo
index c6f8e7cc387..21e2802e397 100644
--- a/graphics/dxsamples/distinfo
+++ b/graphics/dxsamples/distinfo
@@ -1,6 +1,27 @@
-$NetBSD: distinfo,v 1.7 2006/10/13 16:40:10 drochner Exp $
+$NetBSD: distinfo,v 1.8 2011/03/31 08:07:01 asau Exp $
SHA1 (dxsamples-4.4.0.tar.gz) = 24a8981312c3a2564623acb85538d9935e5c2469
RMD160 (dxsamples-4.4.0.tar.gz) = 3d5f09c48452374ec25099bd7a894859fe34fba9
Size (dxsamples-4.4.0.tar.gz) = 7791659 bytes
SHA1 (patch-ab) = 49132e01960ceb7cf2a5f1a74a98e78a2b18b938
+SHA1 (patch-programs_2D__DATA_Makefile.in) = de1cebfdd03c7f39546ef97ff0b7f503c6d7276a
+SHA1 (patch-programs_3D__DATA_Makefile.in) = 609edc401e57a8fcea96b460ba9de5e7caa15553
+SHA1 (patch-programs_ANNOTATION_Makefile.in) = f880ee717fd7ebb98b92154bf4091e79a2f9fba2
+SHA1 (patch-programs_CATEGORICAL_Makefile.in) = 2f7589ea9ee28717fcf512e5bf17626a4ef2dbd4
+SHA1 (patch-programs_COLORMAP__EDITOR_Makefile.in) = e557ea071fd7b3d693e1f49cb1b71dc4dd4d7022
+SHA1 (patch-programs_COMPUTE_Makefile.in) = 34a17ca0516aacf7cd792236e08209989594d824
+SHA1 (patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in) = ec47d066709ef55d575a38e8dd17354e955f9d5c
+SHA1 (patch-programs_DEBUGGING_Makefile.in) = 597d569754ef00616f4862679fb7360f64c65fbb
+SHA1 (patch-programs_DISTRIBUTED__PROCESSING_Makefile.in) = 1a46b130c0deef189fafe036738fdafc7c19fb5e
+SHA1 (patch-programs_IMAGE__PROCESSING_Makefile.in) = 862b540d686df912bcaabbb306f1fb21085b6e5a
+SHA1 (patch-programs_IMPORTING_Makefile.in) = 18c3d2c4ae6f37edbc5a8b25c70498675cc20fcc
+SHA1 (patch-programs_INTERFACE__CONTROL_Makefile.in) = bd760dd79fbb0640bc53f4d1316b265256bd1285
+SHA1 (patch-programs_LOOPING_Makefile.in) = a44a2e9b5e30c42d561bfd5cd6e350ead6c2c6b4
+SHA1 (patch-programs_MISC_Makefile.in) = f3d30500797fe7f16f4beb3dcdbc43f199e6fd82
+SHA1 (patch-programs_PLOTTING_Makefile.in) = 7967de2c7244e41e3c406113703f09c4b0b38d93
+SHA1 (patch-programs_PROBES_Makefile.in) = f82ae0344e24a30b19d031122e641f0da62e2225
+SHA1 (patch-programs_RENDERING_Makefile.in) = 4dcb0ee8ff267323590d80f8c5967279225499f8
+SHA1 (patch-programs_SCATTERED_Makefile.in) = 2ce460042418ad1a32331573f8bc05d8240a2173
+SHA1 (patch-programs_SEQUENCER_Makefile.in) = ca52b55a90d654be9e6b909404cc4d5c3486411b
+SHA1 (patch-programs_SIMPLE_Makefile.in) = 112c8a89bd0c3dd4811405ec989901e96f8c30d7
+SHA1 (patch-programs_SUPERVISE_Makefile.in) = 95255927b79188dfc95c88e67225019f85bdc4bf
diff --git a/graphics/dxsamples/patches/patch-programs_2D__DATA_Makefile.in b/graphics/dxsamples/patches/patch-programs_2D__DATA_Makefile.in
new file mode 100644
index 00000000000..6afdbb6e607
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_2D__DATA_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_2D__DATA_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/2D_DATA/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/2D_DATA/Makefile.in
+@@ -302,9 +302,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_3D__DATA_Makefile.in b/graphics/dxsamples/patches/patch-programs_3D__DATA_Makefile.in
new file mode 100644
index 00000000000..c954e7fc5e1
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_3D__DATA_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_3D__DATA_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/3D_DATA/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/3D_DATA/Makefile.in
+@@ -342,9 +342,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_ANNOTATION_Makefile.in b/graphics/dxsamples/patches/patch-programs_ANNOTATION_Makefile.in
new file mode 100644
index 00000000000..e442b266662
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_ANNOTATION_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_ANNOTATION_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/ANNOTATION/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/ANNOTATION/Makefile.in
+@@ -326,9 +326,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_CATEGORICAL_Makefile.in b/graphics/dxsamples/patches/patch-programs_CATEGORICAL_Makefile.in
new file mode 100644
index 00000000000..2661bd53745
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_CATEGORICAL_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_CATEGORICAL_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/CATEGORICAL/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/CATEGORICAL/Makefile.in
+@@ -286,9 +286,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_COLORMAP__EDITOR_Makefile.in b/graphics/dxsamples/patches/patch-programs_COLORMAP__EDITOR_Makefile.in
new file mode 100644
index 00000000000..59cdd53635a
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_COLORMAP__EDITOR_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_COLORMAP__EDITOR_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/COLORMAP_EDITOR/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/COLORMAP_EDITOR/Makefile.in
+@@ -282,9 +282,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_COMPUTE_Makefile.in b/graphics/dxsamples/patches/patch-programs_COMPUTE_Makefile.in
new file mode 100644
index 00000000000..e7b4bfeec57
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_COMPUTE_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_COMPUTE_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/COMPUTE/Makefile.in.orig 2006-01-03 20:41:28.000000000 +0000
++++ programs/COMPUTE/Makefile.in
+@@ -282,9 +282,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in b/graphics/dxsamples/patches/patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in
new file mode 100644
index 00000000000..d2f43f14d00
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_DATA__DRIVEN__INTERACTORS_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/DATA_DRIVEN_INTERACTORS/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/DATA_DRIVEN_INTERACTORS/Makefile.in
+@@ -278,9 +278,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_DEBUGGING_Makefile.in b/graphics/dxsamples/patches/patch-programs_DEBUGGING_Makefile.in
new file mode 100644
index 00000000000..cf1bb120a3d
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_DEBUGGING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_DEBUGGING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/DEBUGGING/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/DEBUGGING/Makefile.in
+@@ -276,9 +276,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_DISTRIBUTED__PROCESSING_Makefile.in b/graphics/dxsamples/patches/patch-programs_DISTRIBUTED__PROCESSING_Makefile.in
new file mode 100644
index 00000000000..fcb1fc7e20e
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_DISTRIBUTED__PROCESSING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_DISTRIBUTED__PROCESSING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/DISTRIBUTED_PROCESSING/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/DISTRIBUTED_PROCESSING/Makefile.in
+@@ -274,9 +274,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_IMAGE__PROCESSING_Makefile.in b/graphics/dxsamples/patches/patch-programs_IMAGE__PROCESSING_Makefile.in
new file mode 100644
index 00000000000..2badf344dcb
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_IMAGE__PROCESSING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_IMAGE__PROCESSING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/IMAGE_PROCESSING/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/IMAGE_PROCESSING/Makefile.in
+@@ -286,9 +286,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_IMPORTING_Makefile.in b/graphics/dxsamples/patches/patch-programs_IMPORTING_Makefile.in
new file mode 100644
index 00000000000..70bbb5f1ef2
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_IMPORTING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_IMPORTING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/IMPORTING/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/IMPORTING/Makefile.in
+@@ -284,9 +284,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_INTERFACE__CONTROL_Makefile.in b/graphics/dxsamples/patches/patch-programs_INTERFACE__CONTROL_Makefile.in
new file mode 100644
index 00000000000..967b9b83a00
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_INTERFACE__CONTROL_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_INTERFACE__CONTROL_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/INTERFACE_CONTROL/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/INTERFACE_CONTROL/Makefile.in
+@@ -280,9 +280,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_LOOPING_Makefile.in b/graphics/dxsamples/patches/patch-programs_LOOPING_Makefile.in
new file mode 100644
index 00000000000..6754c24bf91
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_LOOPING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_LOOPING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/LOOPING/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/LOOPING/Makefile.in
+@@ -278,9 +278,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_MISC_Makefile.in b/graphics/dxsamples/patches/patch-programs_MISC_Makefile.in
new file mode 100644
index 00000000000..797d5a16a2f
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_MISC_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_MISC_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/MISC/Makefile.in.orig 2006-01-03 20:41:29.000000000 +0000
++++ programs/MISC/Makefile.in
+@@ -324,9 +324,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_PLOTTING_Makefile.in b/graphics/dxsamples/patches/patch-programs_PLOTTING_Makefile.in
new file mode 100644
index 00000000000..3c6c4fc1291
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_PLOTTING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_PLOTTING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/PLOTTING/Makefile.in.orig 2006-01-03 20:41:30.000000000 +0000
++++ programs/PLOTTING/Makefile.in
+@@ -298,9 +298,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_PROBES_Makefile.in b/graphics/dxsamples/patches/patch-programs_PROBES_Makefile.in
new file mode 100644
index 00000000000..e6011951924
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_PROBES_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_PROBES_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/PROBES/Makefile.in.orig 2006-01-03 20:41:30.000000000 +0000
++++ programs/PROBES/Makefile.in
+@@ -280,9 +280,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_RENDERING_Makefile.in b/graphics/dxsamples/patches/patch-programs_RENDERING_Makefile.in
new file mode 100644
index 00000000000..3ce2fc5a477
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_RENDERING_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_RENDERING_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/RENDERING/Makefile.in.orig 2006-01-03 20:41:30.000000000 +0000
++++ programs/RENDERING/Makefile.in
+@@ -292,9 +292,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_SCATTERED_Makefile.in b/graphics/dxsamples/patches/patch-programs_SCATTERED_Makefile.in
new file mode 100644
index 00000000000..4654491ecf1
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_SCATTERED_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_SCATTERED_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/SCATTERED/Makefile.in.orig 2006-01-03 20:41:31.000000000 +0000
++++ programs/SCATTERED/Makefile.in
+@@ -278,9 +278,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_SEQUENCER_Makefile.in b/graphics/dxsamples/patches/patch-programs_SEQUENCER_Makefile.in
new file mode 100644
index 00000000000..d37ffc36f3f
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_SEQUENCER_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_SEQUENCER_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/SEQUENCER/Makefile.in.orig 2006-01-03 20:41:31.000000000 +0000
++++ programs/SEQUENCER/Makefile.in
+@@ -292,9 +292,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_SIMPLE_Makefile.in b/graphics/dxsamples/patches/patch-programs_SIMPLE_Makefile.in
new file mode 100644
index 00000000000..c5eab997944
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_SIMPLE_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_SIMPLE_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/SIMPLE/Makefile.in.orig 2006-01-03 20:41:31.000000000 +0000
++++ programs/SIMPLE/Makefile.in
+@@ -356,9 +356,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'
diff --git a/graphics/dxsamples/patches/patch-programs_SUPERVISE_Makefile.in b/graphics/dxsamples/patches/patch-programs_SUPERVISE_Makefile.in
new file mode 100644
index 00000000000..62669f33868
--- /dev/null
+++ b/graphics/dxsamples/patches/patch-programs_SUPERVISE_Makefile.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-programs_SUPERVISE_Makefile.in,v 1.1 2011/03/31 08:07:01 asau Exp $
+
+--- programs/SUPERVISE/Makefile.in.orig 2006-01-03 20:41:31.000000000 +0000
++++ programs/SUPERVISE/Makefile.in
+@@ -284,9 +284,9 @@ uninstall-am: uninstall-info-am
+
+
+ myinstall:
+- $(mkinstalldirs) $(sampleprogdir)
++ $(mkinstalldirs) $(DESTDIR)$(sampleprogdir)
+ @-sh -c '( echo "cd $(sampleprogdir)" ; \
+- cd $(sampleprogdir) && for s in $(LINKLIST) ; do \
++ cd $(DESTDIR)$(sampleprogdir) && for s in $(LINKLIST) ; do \
+ $(LN_S) ../$$s $$s ; \
+ echo "$(LN_S) ../$$s $$s" ; \
+ done )'