summaryrefslogtreecommitdiff
path: root/graphics
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
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/aview/Makefile21
-rw-r--r--graphics/barcode/Makefile15
-rw-r--r--graphics/bktr2jpeg/Makefile7
-rw-r--r--graphics/cdlabelgen/Makefile6
-rw-r--r--graphics/cdlabelgen/distinfo4
-rw-r--r--graphics/cdlabelgen/patches/patch-ab10
-rw-r--r--graphics/djview4/Makefile4
-rw-r--r--graphics/g3d/Makefile4
-rw-r--r--graphics/g3d/distinfo4
-rw-r--r--graphics/g3d/patches/patch-aa6
-rw-r--r--graphics/gdk-pixbuf/Makefile8
-rw-r--r--graphics/geomview/Makefile19
-rw-r--r--graphics/gif2png/Makefile4
-rw-r--r--graphics/gifsicle/Makefile4
-rw-r--r--graphics/gimp-color-manager/Makefile4
-rw-r--r--graphics/gimp-docs/Makefile4
-rw-r--r--graphics/gimp-refocus-it/Makefile4
-rw-r--r--graphics/gimp-ufraw/Makefile4
-rw-r--r--graphics/gimp1-base/Makefile4
-rw-r--r--graphics/gimp1-data/Makefile4
-rw-r--r--graphics/gle/Makefile3
-rw-r--r--graphics/gliv/Makefile10
-rw-r--r--graphics/gnome-backgrounds/Makefile4
-rw-r--r--graphics/gnuplot-nox11/Makefile4
-rw-r--r--graphics/gnuplot/Makefile3
-rw-r--r--graphics/gocr/Makefile9
-rw-r--r--graphics/gocr/distinfo4
-rw-r--r--graphics/gocr/patches/patch-ab15
-rw-r--r--graphics/gphoto/Makefile4
-rw-r--r--graphics/gqview-devel/Makefile4
-rw-r--r--graphics/gqview-gtk1/Makefile4
-rw-r--r--graphics/gqview/Makefile4
-rw-r--r--graphics/gst-plugins0.10-cairo/Makefile4
-rw-r--r--graphics/gst-plugins0.10-png/Makefile4
-rw-r--r--graphics/gst-plugins0.8-opengl/Makefile4
-rw-r--r--graphics/gst-plugins0.8-png/Makefile4
-rw-r--r--graphics/gthumb/Makefile4
-rw-r--r--graphics/ocrad/Makefile4
-rw-r--r--graphics/opencv/Makefile4
-rw-r--r--graphics/opendis/Makefile4
-rw-r--r--graphics/p5-Chart-ThreeD/Makefile4
-rw-r--r--graphics/p5-GDGraph3d/Makefile4
-rw-r--r--graphics/p5-GDTextUtil/Makefile4
-rw-r--r--graphics/p5-GIFgraph/Makefile4
-rw-r--r--graphics/p5-Gdk-Imlib/Makefile4
-rw-r--r--graphics/p5-Gdk-Pixbuf/Makefile4
-rw-r--r--graphics/refocus-it/Makefile4
-rw-r--r--graphics/sane-backends/Makefile4
-rw-r--r--graphics/sane-frontends/Makefile4
-rw-r--r--graphics/simage/Makefile3
-rw-r--r--graphics/tgif/Makefile4
-rw-r--r--graphics/veusz/Makefile4
-rw-r--r--graphics/viewfax/Makefile7
-rw-r--r--graphics/vp/Makefile4
-rw-r--r--graphics/xart/Makefile4
-rw-r--r--graphics/xbmbrowser/Makefile4
56 files changed, 210 insertions, 96 deletions
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile
index 134e29d0cdd..ee183db12cc 100644
--- a/graphics/aview/Makefile
+++ b/graphics/aview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/06/18 00:59:17 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= aview-1.3.0rc1
@@ -11,6 +11,8 @@ MAINTAINER= salo@Xtrmntr.org
HOMEPAGE= http://aa-project.sourceforge.net/aview/
COMMENT= ASCII Art image viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= aview-x11-[0-9]*
PLIST_SRC= ${WRKDIR}/PLIST
@@ -36,17 +38,18 @@ REPLACE.bash.old= /bin/bash
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= asciiview
+INSTALLATION_DIRS= share/doc/aview
+
post-install:
${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/aview/
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/share/doc/aview/
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/aview/
.if (${MACHINE_ARCH} == "i386")
- ${INSTALL_PROGRAM} ${WRKSRC}/aaflip ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/aaflip ${DESTDIR}${PREFIX}/bin/
@${ECHO} bin/aaflip >>${PLIST_SRC}
.endif
diff --git a/graphics/barcode/Makefile b/graphics/barcode/Makefile
index 28d6510b39f..d4f2bf20b22 100644
--- a/graphics/barcode/Makefile
+++ b/graphics/barcode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/10/15 11:52:28 markd Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= barcode-0.98
@@ -9,14 +9,19 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://ar.linux.it/software/barcode/
COMMENT= Create bar codes as EPS (program and library)
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
MAKE_ENV+= AWK=${AWK:Q}
INFO_FILES= # PLIST
-INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} \
- INFODIR=${PREFIX:Q}/${PKGINFODIR:Q} \
- MAN1DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man1 \
- MAN3DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man3
+INSTALL_MAKE_FLAGS= \
+ BINDIR=${DESTDIR}${PREFIX}/bin \
+ INCDIR=${DESTDIR}${PREFIX}/include \
+ LIBDIR=${DESTDIR}${PREFIX}/lib \
+ INFODIR=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ MAN1DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \
+ MAN3DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
# man/man1/barcode.1
CONFLICTS+= xscreensaver<5.00
diff --git a/graphics/bktr2jpeg/Makefile b/graphics/bktr2jpeg/Makefile
index 37bc70e3a22..ef80d3612e7 100644
--- a/graphics/bktr2jpeg/Makefile
+++ b/graphics/bktr2jpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/08 03:27:27 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= bktr2jpeg-1.0
@@ -10,9 +10,14 @@ MAINTAINER= coto@core.de
HOMEPAGE= http://core.de/~coto/projects/bktr2jpeg/
COMMENT= Write jpeg image captured from /dev/bktr to file
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-*
MAKE_FLAGS+= INSTALL=${INSTALL_PROGRAM:Q}
+INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
+
+INSTALLATION_DIRS= bin
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/cdlabelgen/Makefile b/graphics/cdlabelgen/Makefile
index aa79f40a953..9f187d59db2 100644
--- a/graphics/cdlabelgen/Makefile
+++ b/graphics/cdlabelgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/12/30 15:00:02 ben Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:21 joerg Exp $
DISTNAME= cdlabelgen-3.6.0
CATEGORIES= graphics
@@ -9,12 +9,16 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://www.aczoom.com/tools/cdinsert/
COMMENT= Generate frontcards and traycards for CDs
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
USE_LANGUAGES= # empty
MAKE_ENV+= SED=${SED:Q}
MAKE_ENV+= MV=${MV:Q}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
post-extract:
cd ${WRKSRC} && ${CHMOD} go+r *
diff --git a/graphics/cdlabelgen/distinfo b/graphics/cdlabelgen/distinfo
index 0dd9ebcab86..860b978df45 100644
--- a/graphics/cdlabelgen/distinfo
+++ b/graphics/cdlabelgen/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2005/12/30 15:00:02 ben Exp $
+$NetBSD: distinfo,v 1.14 2008/06/20 01:09:21 joerg Exp $
SHA1 (cdlabelgen-3.6.0.tgz) = 5240b375dbd67cc422d7eeaa286b3c03c3ec5805
RMD160 (cdlabelgen-3.6.0.tgz) = fdeb8367741adb18569227f7eed7f88cdcaf1d81
Size (cdlabelgen-3.6.0.tgz) = 186151 bytes
SHA1 (patch-aa) = 8a1dd2c83892d0316949e8a66b8d5fe67492a5de
-SHA1 (patch-ab) = a69203a2f212449ff0bb4e908ebc7f6632b95b04
+SHA1 (patch-ab) = 785d0bdd5d0988059034731c902367e60d68a9f9
diff --git a/graphics/cdlabelgen/patches/patch-ab b/graphics/cdlabelgen/patches/patch-ab
index 67e38a49850..ab6210837d8 100644
--- a/graphics/cdlabelgen/patches/patch-ab
+++ b/graphics/cdlabelgen/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2005/12/30 15:00:02 ben Exp $
+$NetBSD: patch-ab,v 1.8 2008/06/20 01:09:21 joerg Exp $
--- Makefile.orig 2005-08-23 08:22:44.000000000 -0700
+++ Makefile
@@ -40,13 +40,13 @@ $NetBSD: patch-ab,v 1.7 2005/12/30 15:00:02 ben Exp $
- $(INSTALL_FILE) cdlabelgen.1 $(MAN_DIR)/man1
- $(INSTALL_DIR) $(LIB_DIR)
+
-+ ${BSD_INSTALL_SCRIPT} cdlabelgen ${BIN_DIR}
-+ ${BSD_INSTALL_MAN} cdlabelgen.1 ${MAN_DIR}/man1
-+ ${BSD_INSTALL_DATA_DIR} ${LIB_DIR}
++ ${BSD_INSTALL_SCRIPT} cdlabelgen ${DESTDIR}${BIN_DIR}
++ ${BSD_INSTALL_MAN} cdlabelgen.1 ${DESTDIR}${MAN_DIR}/man1
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${LIB_DIR}
set -e; \
for file in $(POSTSCRIPT); do \
- $(INSTALL_FILE) postscript/$$file $(LIB_DIR)/; \
-+ ${BSD_INSTALL_DATA} postscript/$$file ${LIB_DIR}; \
++ ${BSD_INSTALL_DATA} postscript/$$file ${DESTDIR}${LIB_DIR}; \
done
@echo "** Done. Check $(BIN_DIR)/cdlabelgen and fix @where_is_the_template - if needed!"
diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile
index 9dd8abc3608..6e156ca6941 100644
--- a/graphics/djview4/Makefile
+++ b/graphics/djview4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/06/09 15:36:43 obache Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= djview4-4.2-2
@@ -10,6 +10,8 @@ MAINTAINER= matias@dotbsd.org
HOMEPAGE= http://djvu.sourceforge.net/
COMMENT= Portable DjVu viewer and browser plugin
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/djview4-4.2
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
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.
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index 3ef58e8cea9..93bbcefd732 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2007/08/10 20:43:17 gdt Exp $
+# $NetBSD: Makefile,v 1.37 2008/06/20 01:09:21 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
@@ -18,9 +19,6 @@ post-configure:
${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile
post-install:
- ${TEST} ${PREFIX} = ${LOCALBASE} || \
- ${LN} -fs ${PREFIX}/share/aclocal/gdk-pixbuf.m4 \
- ${LOCALBASE}/share/aclocal/gdk-pixbuf.m4
- ${RM} ${PREFIX}/lib/gnomecanvaspixbufConf.sh
+ ${RM} ${DESTDIR}${PREFIX}/lib/gnomecanvaspixbufConf.sh
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile
index b06c91f4f1e..1d4761b0172 100644
--- a/graphics/geomview/Makefile
+++ b/graphics/geomview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/11/17 12:04:13 rillig Exp $
+# $NetBSD: Makefile,v 1.39 2008/06/20 01:09:21 joerg Exp $
DISTNAME= geomview-1.8.1
PKGREVISION= 6
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.geomview.org/
COMMENT= Interactive geometry viewing program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= lex
USE_LANGUAGES= c c++
USE_X11BASE= yes
@@ -20,6 +22,9 @@ CONFIGURE_ARGS+= --with-motif=${MOTIFBASE:Q}
CPPFLAGS+= -Dunix -Dalloca=__builtin_alloca
INFO_FILES= # PLIST
+INSTALLATION_DIRS= share/doc/geomview share/examples/geomview \
+ share/doc/html/geomview/pix
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
@@ -27,18 +32,14 @@ CONFIGURE_ARGS+= --enable-fstropen-1
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geomview
${INSTALL_DATA} ${WRKSRC}/doc/geomview.pdf \
- ${PREFIX}/share/doc/geomview
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geomview
+ ${DESTDIR}${PREFIX}/share/doc/geomview
${INSTALL_DATA} ${WRKSRC}/doc/example* \
- ${PREFIX}/share/examples/geomview
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/geomview
+ ${DESTDIR}${PREFIX}/share/examples/geomview
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html \
- ${PREFIX}/share/doc/html/geomview
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/geomview/pix
+ ${DESTDIR}${PREFIX}/share/doc/html/geomview
${INSTALL_DATA} ${WRKSRC}/doc/html/pix/* \
- ${PREFIX}/share/doc/html/geomview/pix
+ ${DESTDIR}${PREFIX}/share/doc/html/geomview/pix
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index dfa8b11df22..d408a5d39a3 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/04/18 12:56:03 tron Exp $
+# $NetBSD: Makefile,v 1.33 2008/06/20 01:09:21 joerg Exp $
DISTNAME= gif2png-2.5.1
PKGREVISION= 2
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.catb.org/~esr/gif2png/
COMMENT= Convert GIF files to PNG
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
PYTHON_PATCH_SCRIPTS+= web2png
diff --git a/graphics/gifsicle/Makefile b/graphics/gifsicle/Makefile
index b041b597d18..406b2c527dc 100644
--- a/graphics/gifsicle/Makefile
+++ b/graphics/gifsicle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/01 17:10:38 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= gifsicle-1.41
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lcdf.org/~eddietwo/gifsicle/
COMMENT= Create, edit, and inspect GIFs from shell
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
BUILDLINK_DEPMETHOD.libXt?= build
diff --git a/graphics/gimp-color-manager/Makefile b/graphics/gimp-color-manager/Makefile
index e8c5c6f4822..bf6f1a5d4c6 100644
--- a/graphics/gimp-color-manager/Makefile
+++ b/graphics/gimp-color-manager/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/03/06 14:53:51 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= gimp-color-manager-0.1.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.khk.net/color/color_manager.html
COMMENT= Gimp Color Manager plugin
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_TOOLS+= intltool pkg-config
GNU_CONFIGURE= yes
diff --git a/graphics/gimp-docs/Makefile b/graphics/gimp-docs/Makefile
index a6de943e205..342d61993ea 100644
--- a/graphics/gimp-docs/Makefile
+++ b/graphics/gimp-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/01/01 16:35:18 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:21 joerg Exp $
DISTNAME= gimp-help-2.4.0
PKGNAME= gimp-docs-2.4.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gimp.org/
COMMENT= Documentation package for The Gimp image manipulation software
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
# Only xsltproc is needed.
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
diff --git a/graphics/gimp-refocus-it/Makefile b/graphics/gimp-refocus-it/Makefile
index 5a75c409a46..9e1ca270190 100644
--- a/graphics/gimp-refocus-it/Makefile
+++ b/graphics/gimp-refocus-it/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/03/06 14:53:51 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= refocus-it-2.0.0
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://refocus-it.sourceforge.net/
COMMENT= Refocus images
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
#just build the plugin
diff --git a/graphics/gimp-ufraw/Makefile b/graphics/gimp-ufraw/Makefile
index be448b24d13..b8a6473fd38 100644
--- a/graphics/gimp-ufraw/Makefile
+++ b/graphics/gimp-ufraw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2008/03/06 14:53:51 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2008/06/20 01:09:21 joerg Exp $
DISTNAME= ufraw-0.13
PKGNAME= gimp-${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://ufraw.sourceforge.net/
COMMENT= GIMP plug-in for raw digicam import
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config msgfmt
diff --git a/graphics/gimp1-base/Makefile b/graphics/gimp1-base/Makefile
index 485b597f24f..a131cc30f17 100644
--- a/graphics/gimp1-base/Makefile
+++ b/graphics/gimp1-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2008/03/23 14:27:51 tonnerre Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= gimp-1.2.5
@@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gimp.org/
COMMENT= GNU Image Manipulation Program (base)
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= gimp<=1.2.3 gimp>=2.0.0
USE_PKGLOCALEDIR= YES
diff --git a/graphics/gimp1-data/Makefile b/graphics/gimp1-data/Makefile
index 2443cabd728..94c1047bfb5 100644
--- a/graphics/gimp1-data/Makefile
+++ b/graphics/gimp1-data/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/12/02 12:05:45 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= gimp-data-extras-1.2.0
@@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gimp.org/
COMMENT= GNU Image Manipulation Program (extra brushes and patterns)
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= gimp<=1.2.3 gimp>=2.0.0
GNU_CONFIGURE= YES
diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile
index 7bf10ce8b4f..8a04d466b5e 100644
--- a/graphics/gle/Makefile
+++ b/graphics/gle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/01/15 17:04:43 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= gle-3.1.0
@@ -14,6 +14,7 @@ HOMEPAGE= http://www.linas.org/gle/
COMMENT= GL subroutines for drawing tubing and extrusions
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile
index 9160caad325..74a5865312a 100644
--- a/graphics/gliv/Makefile
+++ b/graphics/gliv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/11/24 15:44:25 drochner Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gliv-1.9.6
CATEGORIES= graphics
@@ -9,15 +9,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://guichaz.free.fr/gliv/
COMMENT= OpenGL image viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= xdg-1.1
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
+INSTALLATION_DIRS= share/pixmaps share/applications
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/gliv.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gliv.png ${DESTDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gliv.desktop \
- ${PREFIX}/share/applications/gnome-gliv.desktop
+ ${DESTDIR}${PREFIX}/share/applications/gnome-gliv.desktop
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/gtkglext/buildlink3.mk"
diff --git a/graphics/gnome-backgrounds/Makefile b/graphics/gnome-backgrounds/Makefile
index 53c7343c7e4..cb49f410d43 100644
--- a/graphics/gnome-backgrounds/Makefile
+++ b/graphics/gnome-backgrounds/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/04/30 13:38:14 jmmv Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= gnome-backgrounds-2.20.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Set of background images for the GNOME Desktop
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_DIRS+= xdg-1.3
USE_TOOLS+= gmake intltool msgfmt
diff --git a/graphics/gnuplot-nox11/Makefile b/graphics/gnuplot-nox11/Makefile
index f4c97ccd208..fe35d652168 100644
--- a/graphics/gnuplot-nox11/Makefile
+++ b/graphics/gnuplot-nox11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/05/15 20:22:02 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:22 joerg Exp $
#
PKGNAME= ${DISTNAME:C/-/-nox11-/}
@@ -6,6 +6,8 @@ SVR4_PKGNAME= gplot
CONFLICTS+= gnuplot-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFIGURE_ARGS+= --without-x
INSTALL_ENV+= INSTALL_XRESOURCE_DATA=no
diff --git a/graphics/gnuplot/Makefile b/graphics/gnuplot/Makefile
index 332799762ad..22c19b23ad7 100644
--- a/graphics/gnuplot/Makefile
+++ b/graphics/gnuplot/Makefile
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.42 2008/05/15 20:22:02 drochner Exp $
+# $NetBSD: Makefile,v 1.43 2008/06/20 01:09:22 joerg Exp $
SVR4_PKGNAME= gplot
CATEGORIES+= x11
CONFLICTS+= gnuplot-nox11-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../graphics/gnuplot/Makefile.common"
diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile
index a8f5c96ef29..79e757c5d73 100644
--- a/graphics/gocr/Makefile
+++ b/graphics/gocr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/04/17 13:46:32 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gocr-0.40
PKGREVISION= 2
@@ -9,12 +9,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/jocr
COMMENT= GOCR is a set of OCR tools
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CONFIGURE_HAS_MANDIR= no
-CONFIGURE_ARGS+= --mandir=/${PKGMANDIR}
+CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --with-netpbm=${BUILDLINK_PREFIX.netpbm}
+INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}
+
.include "options.mk"
.include "../../graphics/netpbm/buildlink3.mk"
diff --git a/graphics/gocr/distinfo b/graphics/gocr/distinfo
index 1e6e072545e..07322ec2c0b 100644
--- a/graphics/gocr/distinfo
+++ b/graphics/gocr/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/10/25 02:06:57 wiz Exp $
+$NetBSD: distinfo,v 1.3 2008/06/20 01:09:22 joerg Exp $
SHA1 (gocr-0.40.tar.gz) = 6a5097281664ca3ffd01b11756f1dd5b565e673e
RMD160 (gocr-0.40.tar.gz) = 1e34277b7d923706789d6e5c85996968d8506427
Size (gocr-0.40.tar.gz) = 780744 bytes
SHA1 (patch-aa) = c6f235f82d6c53a52547225045808e595a33b810
-SHA1 (patch-ab) = 1f63e8963ec8bf7a672e04331b10c4df6c48dc1b
+SHA1 (patch-ab) = 45286b824b9ff310e0024896cb917db454755b09
diff --git a/graphics/gocr/patches/patch-ab b/graphics/gocr/patches/patch-ab
index 36289b429f7..2c65b69bcb0 100644
--- a/graphics/gocr/patches/patch-ab
+++ b/graphics/gocr/patches/patch-ab
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.2 2005/10/25 02:06:57 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2008/06/20 01:09:22 joerg Exp $
---- src/Makefile.in.orig 2005-02-28 15:40:39.000000000 +0100
+--- src/Makefile.in.orig 2005-02-28 14:40:39.000000000 +0000
+++ src/Makefile.in
-@@ -67,9 +67,7 @@ $(LIBOBJS): Makefile
+@@ -30,6 +30,8 @@ LIBOBJS=pgm2asc.o \
+ # these two lines are for cross-compiling, not tested
+ #srcdir = @srcdir@
+ #VPATH = @srcdir@
++prefix = @prefix@
++exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ libdir = @libdir@
+ includedir = @includedir@
+@@ -67,9 +69,7 @@ $(LIBOBJS): Makefile
# PHONY = don't look at file clean, -rm = start rm and ignore errors
.PHONY : clean proper install
install: all
diff --git a/graphics/gphoto/Makefile b/graphics/gphoto/Makefile
index d470d0a4c02..401b7d4fafa 100644
--- a/graphics/gphoto/Makefile
+++ b/graphics/gphoto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/07/19 19:14:38 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gphoto-0.4.3
PKGREVISION= 9
@@ -9,6 +9,8 @@ MAINTAINER= jmcm@cs.cmu.edu
HOMEPAGE= http://www.gphoto.org/
COMMENT= Download and view files from various digital cameras
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= gnome1-1.0
USE_X11BASE= YES
USE_LIBTOOL= YES
diff --git a/graphics/gqview-devel/Makefile b/graphics/gqview-devel/Makefile
index fb0f7758e5e..af67a40780f 100644
--- a/graphics/gqview-devel/Makefile
+++ b/graphics/gqview-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/12/06 15:17:44 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gqview-2.1.5
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://gqview.sourceforge.net/
COMMENT= GTK2-based graphic file viewer (development version)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= msgfmt pkg-config
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.1
diff --git a/graphics/gqview-gtk1/Makefile b/graphics/gqview-gtk1/Makefile
index 1c13a767ba9..b752ea76f1f 100644
--- a/graphics/gqview-gtk1/Makefile
+++ b/graphics/gqview-gtk1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/06/15 13:31:29 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gqview-1.2.2
PKGREVISION= 4
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gqview.sourceforge.net/
COMMENT= GTK1-based graphic file viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= msgfmt
USE_DIRS+= xdg-1.1 gnome1-1.5
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
index 16f2127628f..a38810ecf2d 100644
--- a/graphics/gqview/Makefile
+++ b/graphics/gqview/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2007/01/11 19:43:34 drochner Exp $
+# $NetBSD: Makefile,v 1.65 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gqview-2.0.4
CATEGORIES= graphics x11
@@ -8,6 +8,8 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://gqview.sourceforge.net/
COMMENT= GTK2-based graphic file viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= msgfmt pkg-config
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.1
diff --git a/graphics/gst-plugins0.10-cairo/Makefile b/graphics/gst-plugins0.10-cairo/Makefile
index 2aab5b0c046..5e4b7171183 100644
--- a/graphics/gst-plugins0.10-cairo/Makefile
+++ b/graphics/gst-plugins0.10-cairo/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2006/07/02 11:56:01 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:22 joerg Exp $
#
GST_PLUGINS0.10_NAME= cairo
GST_PLUGINS0.10_DIRS= ext/cairo
GST_PLUGINS0.10_FLAGS= cairo
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../multimedia/gst-plugins0.10-good/Makefile.common"
.include "../../graphics/cairo/buildlink3.mk"
diff --git a/graphics/gst-plugins0.10-png/Makefile b/graphics/gst-plugins0.10-png/Makefile
index 2b0a7b40363..c05ba0b580a 100644
--- a/graphics/gst-plugins0.10-png/Makefile
+++ b/graphics/gst-plugins0.10-png/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/05 11:01:57 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:22 joerg Exp $
#
GST_PLUGINS0.10_NAME= png
GST_PLUGINS0.10_DIRS= ext/libpng
GST_PLUGINS0.10_FLAGS= libpng
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../multimedia/gst-plugins0.10-good/Makefile.common"
.include "../../graphics/png/buildlink3.mk"
diff --git a/graphics/gst-plugins0.8-opengl/Makefile b/graphics/gst-plugins0.8-opengl/Makefile
index 4721d34ab15..2948d6f2769 100644
--- a/graphics/gst-plugins0.8-opengl/Makefile
+++ b/graphics/gst-plugins0.8-opengl/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2007/02/15 14:58:21 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:22 joerg Exp $
#
GST_PLUGINS0.8_NAME= opengl
GST_PLUGINS0.8_DIR= sys/glsink
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../multimedia/gst-plugins0.8/Makefile.common"
PKGREVISION= 5
diff --git a/graphics/gst-plugins0.8-png/Makefile b/graphics/gst-plugins0.8-png/Makefile
index 51b90b81c42..1223b0dfabf 100644
--- a/graphics/gst-plugins0.8-png/Makefile
+++ b/graphics/gst-plugins0.8-png/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2006/04/17 13:46:32 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:22 joerg Exp $
#
GST_PLUGINS0.8_NAME= png
GST_PLUGINS0.8_DIR= ext/libpng
GST_PLUGINS0.8_FLAG= pngenc
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../multimedia/gst-plugins0.8/Makefile.common"
PKGREVISION= 6
diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile
index 0bad210f6aa..1c0682b6ea2 100644
--- a/graphics/gthumb/Makefile
+++ b/graphics/gthumb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2008/03/06 14:53:51 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/20 01:09:22 joerg Exp $
DISTNAME= gthumb-2.10.8
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://gthumb.sourceforge.net/
COMMENT= Image viewer and browser for the GNOME Desktop
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= intltool msgfmt pkg-config gmake
USE_DIRS+= xdg-1.1 gnome2-1.5
USE_PKGLOCALEDIR= yes
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile
index 13a2112a3c3..f57fcb9aa4b 100644
--- a/graphics/ocrad/Makefile
+++ b/graphics/ocrad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/20 18:15:38 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= ocrad-0.13
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/ocrad/ocrad.html
COMMENT= GNU OCR (Optical Character Recognition) program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c++
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 0ae44b32083..05ecb312cbd 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/12/01 14:03:02 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= opencv-1.0.0
@@ -10,6 +10,8 @@ MAINTAINER= anthony.mallet@laas.fr
HOMEPAGE= http://opencvlibrary.sourceforge.net/
COMMENT= Library for computer vision problems
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
diff --git a/graphics/opendis/Makefile b/graphics/opendis/Makefile
index be127541c53..6fd0d987eb2 100644
--- a/graphics/opendis/Makefile
+++ b/graphics/opendis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/07/17 21:42:01 grant Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:22 joerg Exp $
DISTNAME= opendis-0.0.3
CATEGORIES= graphics
@@ -8,6 +8,8 @@ MAINTAINER= sommerfeld@NetBSD.org
HOMEPAGE= http://ods.sourceforge.net/
COMMENT= Download images from Flashpoint Digita-based cameras
+PKG_DESTDIR_SUPPORT= user-destdir
+
#USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/p5-Chart-ThreeD/Makefile b/graphics/p5-Chart-ThreeD/Makefile
index 29cded2a563..8f97e74127a 100644
--- a/graphics/p5-Chart-ThreeD/Makefile
+++ b/graphics/p5-Chart-ThreeD/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/09/04 19:55:40 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:22 joerg Exp $
DISTNAME= Chart-ThreeD-0.01
PKGNAME= p5-${DISTNAME}
@@ -11,6 +11,8 @@ MAINTAINER= he@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Chart-ThreeD/
COMMENT= Three-Dimentional pie chart plotting
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-GD>=2.16:../../graphics/p5-GD
PERL5_PACKLIST= auto/Chart-ThreeD/.packlist
diff --git a/graphics/p5-GDGraph3d/Makefile b/graphics/p5-GDGraph3d/Makefile
index 375b832b711..fe9469ef8d9 100644
--- a/graphics/p5-GDGraph3d/Makefile
+++ b/graphics/p5-GDGraph3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:35 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/20 01:09:22 joerg Exp $
DISTNAME= GDGraph3d-0.56
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
MAINTAINER= damon@brodiefamily.org
COMMENT= GDGraph3d is a pkg to generate charts, using Lincoln Stein's GD.pm
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-GDGraph>=1.30:../../graphics/p5-GDGraph
USE_LANGUAGES= # empty
diff --git a/graphics/p5-GDTextUtil/Makefile b/graphics/p5-GDTextUtil/Makefile
index 25aaf69cb64..082d0ea1b61 100644
--- a/graphics/p5-GDTextUtil/Makefile
+++ b/graphics/p5-GDTextUtil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:09:36 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:22 joerg Exp $
DISTNAME= GDTextUtil-0.86
PKGNAME= p5-${DISTNAME}
@@ -11,6 +11,8 @@ MAINTAINER= damon@brodiefamily.org
HOMEPAGE= http://theoryx5.uwinnipeg.ca/CPAN/data/GDTextUtil/Text.html
COMMENT= Perl 5 text utilities for use with the GD drawing package
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-GD>=1.30:../../graphics/p5-GD
USE_LANGUAGES= # empty
diff --git a/graphics/p5-GIFgraph/Makefile b/graphics/p5-GIFgraph/Makefile
index 7c8b103d060..79c6323529c 100644
--- a/graphics/p5-GIFgraph/Makefile
+++ b/graphics/p5-GIFgraph/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/22 19:26:35 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= GIFgraph-1.20
@@ -12,6 +12,8 @@ MAINTAINER= he@NetBSD.org
HOMEPAGE= http://search.cpan.org/search?module=GIFgraph
COMMENT= GIFgraph is a package to generate graphs, using GD::Graph
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-GDGraph>=1.33:../../graphics/p5-GDGraph
DEPENDS+= p5-PerlMagick>=5.3.9:../../graphics/p5-PerlMagick
diff --git a/graphics/p5-Gdk-Imlib/Makefile b/graphics/p5-Gdk-Imlib/Makefile
index 1fdc9c6ba39..90d8c680095 100644
--- a/graphics/p5-Gdk-Imlib/Makefile
+++ b/graphics/p5-Gdk-Imlib/Makefile
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2006/04/17 13:46:34 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:22 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../x11/p5-gtk/Makefile.common"
PKGNAME= p5-Gdk-Imlib-${GTKPERL_VERSION}
diff --git a/graphics/p5-Gdk-Pixbuf/Makefile b/graphics/p5-Gdk-Pixbuf/Makefile
index 56dda0345bd..7f7f7eac28a 100644
--- a/graphics/p5-Gdk-Pixbuf/Makefile
+++ b/graphics/p5-Gdk-Pixbuf/Makefile
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2006/11/08 13:40:33 obache Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:22 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../x11/p5-gtk/Makefile.common"
PKGNAME= p5-Gdk-Pixbuf-${GTKPERL_VERSION}
diff --git a/graphics/refocus-it/Makefile b/graphics/refocus-it/Makefile
index 5a6843af74a..17ea5261671 100644
--- a/graphics/refocus-it/Makefile
+++ b/graphics/refocus-it/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/07/05 05:37:42 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:22 joerg Exp $
#
DISTNAME= refocus-it-2.0.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://refocus-it.sourceforge.net/
COMMENT= Refocus images
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
#just build the command line tool
CONFIGURE_ARGS+= --without-gimp
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index a4412eb54ee..7138cfd8371 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2008/04/17 20:24:38 reed Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/20 01:09:23 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
COMMENT= API for access to scanners, digital cameras, frame grabbers etc.
diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile
index dfb453352a8..d67c14563f2 100644
--- a/graphics/sane-frontends/Makefile
+++ b/graphics/sane-frontends/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2008/04/17 20:24:38 reed Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/20 01:09:23 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../graphics/sane-backends/Makefile.common"
diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile
index 48b09aa80f1..9f6d2f7aac0 100644
--- a/graphics/simage/Makefile
+++ b/graphics/simage/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 12:25:54 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:23 joerg Exp $
DISTNAME= simage-1.6.1
PKGREVISION= 4
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.coin3d.org/
COMMENT= Library for image format loaders and front-ends
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index 3b688dd7e63..bad92855dae 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2006/12/27 13:37:38 joerg Exp $
+# $NetBSD: Makefile,v 1.55 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= tgif-4.1.45
@@ -9,6 +9,8 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://bourbon.usc.edu/tgif/tgif.html
COMMENT= Fully-featured X11 drawing program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
PTHREAD_OPTS+= require
diff --git a/graphics/veusz/Makefile b/graphics/veusz/Makefile
index 37136afdf06..bd140958101 100644
--- a/graphics/veusz/Makefile
+++ b/graphics/veusz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/07/04 16:15:01 drochner Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= veusz-0.10
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.gna.org/veusz/
COMMENT= Scientific plotting package
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
.include "../../lang/python/application.mk"
diff --git a/graphics/viewfax/Makefile b/graphics/viewfax/Makefile
index 6bd3e8079ac..3d8d822c2b1 100644
--- a/graphics/viewfax/Makefile
+++ b/graphics/viewfax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/11/12 20:05:38 heinz Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= viewfax-2.4
@@ -13,10 +13,11 @@ MASTER_SITES= ftp://ftp.hylafax.org/pub/hylafax/contrib/viewfax/ \
MAINTAINER= rh@NetBSD.org
COMMENT= Tool for displaying fax files in an X Window
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/libdata/viewfax
+INSTALLATION_DIRS= libdata/viewfax
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff --git a/graphics/vp/Makefile b/graphics/vp/Makefile
index c0f0d658583..35d136721f8 100644
--- a/graphics/vp/Makefile
+++ b/graphics/vp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/07/07 15:49:32 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= vp-1.5
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://math.smsu.edu/~erik/software.php?id=63
COMMENT= Image viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
diff --git a/graphics/xart/Makefile b/graphics/xart/Makefile
index b001a18a5d2..db5b964b32d 100644
--- a/graphics/xart/Makefile
+++ b/graphics/xart/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2007/01/08 01:40:23 rillig Exp $
+# $NetBSD: Makefile,v 1.46 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= xart19980415
@@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://linux01.gwdg.de/~rhohen/linux.html
COMMENT= Paint program (enhanced xpaint)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/19980415
USE_IMAKE= YES
diff --git a/graphics/xbmbrowser/Makefile b/graphics/xbmbrowser/Makefile
index 2896a275725..cd60e3e4fb6 100644
--- a/graphics/xbmbrowser/Makefile
+++ b/graphics/xbmbrowser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/12/27 13:37:38 joerg Exp $
+# $NetBSD: Makefile,v 1.28 2008/06/20 01:09:23 joerg Exp $
DISTNAME= xbmbrowser5.1
PKGNAME= xbmbrowser-5.1
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=utilities/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= View complete directories of X bitmaps and X pixmaps
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_IMAKE= YES