pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-gobject-shared Fixed package to support insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c7d4c119be4
branches:  trunk
changeset: 532542:9c7d4c119be4
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Thu Aug 23 09:32:04 2007 +0000

description:
Fixed package to support installation to DESTDIR.

diffstat:

 devel/py-gobject-shared/Makefile |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r e89ed5df09d9 -r 9c7d4c119be4 devel/py-gobject-shared/Makefile
--- a/devel/py-gobject-shared/Makefile  Thu Aug 23 09:30:59 2007 +0000
+++ b/devel/py-gobject-shared/Makefile  Thu Aug 23 09:32:04 2007 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2007/01/14 23:43:25 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2007/08/23 09:32:04 heinz Exp $
 
 PKGNAME=               py-gobject-shared-2.12.3
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../devel/py-gobject/Makefile.common"
 
 PYTHON_FOR_BUILD_ONLY= yes
@@ -10,10 +12,12 @@
 do-build:
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/pygtk-2.0
-       ${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h ${PREFIX}/include/pygtk-2.0
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
-       ${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc ${PREFIX}/lib/pkgconfig
+       ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
+       ${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h \
+               ${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
+       ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
+       ${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc \
+               ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
 
 .include "../../lang/python/application.mk"
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index