summaryrefslogtreecommitdiff
path: root/devel/py-newt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-newt/Makefile')
-rw-r--r--devel/py-newt/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/py-newt/Makefile b/devel/py-newt/Makefile
index d6c244efd96..9691bde1ec8 100644
--- a/devel/py-newt/Makefile
+++ b/devel/py-newt/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/13 09:54:57 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:29 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../devel/newt/Makefile.common"
@@ -17,8 +19,8 @@ do-build:
${PYTHONBIN} -m py_compile ${WRKSRC}/snack.py
do-install:
- ${INSTALL_LIB} ${WRKSRC}/_snackmodule.so ${PREFIX}/${PYSITELIB}
- ${INSTALL_LIB} ${WRKSRC}/snack.p* ${PREFIX}/${PYSITELIB}
+ ${INSTALL_LIB} ${WRKSRC}/_snackmodule.so ${DESTDIR}${PREFIX}/${PYSITELIB}
+ ${INSTALL_LIB} ${WRKSRC}/snack.p* ${DESTDIR}${PREFIX}/${PYSITELIB}
.include "../../devel/newt/buildlink3.mk"
.include "../../lang/python/extension.mk"