pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtkglarea Added support for installation to DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3765da9e6a2
branches:  trunk
changeset: 535069:d3765da9e6a2
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Nov 07 09:56:05 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 x11/gtkglarea/Makefile |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 7fe2e94b1d0b -r d3765da9e6a2 x11/gtkglarea/Makefile
--- a/x11/gtkglarea/Makefile    Wed Nov 07 09:53:15 2007 +0000
+++ b/x11/gtkglarea/Makefile    Wed Nov 07 09:56:05 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index