summaryrefslogtreecommitdiff
path: root/devel/py-at-spi
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /devel/py-at-spi
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'devel/py-at-spi')
-rw-r--r--devel/py-at-spi/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/py-at-spi/Makefile b/devel/py-at-spi/Makefile
index 444f0367400..3716ff511a4 100644
--- a/devel/py-at-spi/Makefile
+++ b/devel/py-at-spi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/04/25 20:39:08 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:28 joerg Exp $
#
DISTNAME= at-spi-1.22.1
@@ -11,15 +11,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Assistive Technology Service Provider Interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
PY_PATCHPLIST= yes
PYTHON_VERSIONS_ACCEPTED= 25 24
-PYATSPIDIR= ${PREFIX}/${PYSITELIB}/pyatspi
+PYATSPIDIR= ${PREFIX}/${PYSITELIB}/pyatspi
+INSTALLATION_DIRS= ${PYATSPIDIR}
+
do-install:
- ${INSTALL_DATA_DIR} ${PYATSPIDIR}
- ${INSTALL_DATA} ${WRKSRC}/pyatspi/*.py ${PYATSPIDIR}
- ${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py ${PYATSPIDIR}
+ ${INSTALL_DATA} ${WRKSRC}/pyatspi/*.py ${DESTDIR}${PYATSPIDIR}
+ ${PYTHONBIN} ${PREFIX}/${PYLIB}/compileall.py ${DESTDIR}${PYATSPIDIR}
.include "../../lang/python/extension.mk"
.include "../../devel/at-spi/buildlink3.mk"