summaryrefslogtreecommitdiff
path: root/x11/gtkglarea
diff options
context:
space:
mode:
authorheinz <heinz>2007-11-07 09:56:05 +0000
committerheinz <heinz>2007-11-07 09:56:05 +0000
commitda595400bbc1812d584d84d4cde14340a1bd1811 (patch)
tree2845c89b152e5c4f2cb5291bc995e36afedad3e8 /x11/gtkglarea
parente0c5090fd804f56604dffc11a5890ce20d52e9af (diff)
downloadpkgsrc-da595400bbc1812d584d84d4cde14340a1bd1811.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'x11/gtkglarea')
-rw-r--r--x11/gtkglarea/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11/gtkglarea/Makefile b/x11/gtkglarea/Makefile
index f1ad012f1b7..8e262e157ca 100644
--- a/x11/gtkglarea/Makefile
+++ b/x11/gtkglarea/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2007/03/04 11:29:58 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2007/11/07 09:56:05 heinz Exp $
DISTNAME= gtkglarea-1.2.3
PKGREVISION= 2
@@ -9,16 +9,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://web.archive.org/web/20011204180640/http://www.student.oulu.fi/~jlof/gtkglarea/
COMMENT= OpenGL/Mesa widget for GTK+ GUI toolkit
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-lib-MesaGL
post-install:
- ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/gtkglarea
- cd ${WRKSRC}/docs ; \
- ${INSTALL_MAN} HOWTO.txt ${PREFIX}/share/doc/gtkglarea ; \
- ${INSTALL_MAN} gdkgl.txt ${PREFIX}/share/doc/gtkglarea ; \
- ${INSTALL_MAN} gtkglarea.txt ${PREFIX}/share/doc/gtkglarea
+ ${INSTALL_MAN_DIR} "${DESTDIR}${PREFIX}/share/doc/gtkglarea"
+ set -e; cd ${WRKSRC}/docs ; \
+ ${INSTALL_MAN} HOWTO.txt "${DESTDIR}${PREFIX}/share/doc/gtkglarea" ; \
+ ${INSTALL_MAN} gdkgl.txt "${DESTDIR}${PREFIX}/share/doc/gtkglarea" ; \
+ ${INSTALL_MAN} gtkglarea.txt "${DESTDIR}${PREFIX}/share/doc/gtkglarea"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"