summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-10-24 15:07:29 +0000
committerjoerg <joerg@pkgsrc.org>2007-10-24 15:07:29 +0000
commita82461ce5058f383e7d41031016c2d077622a6c7 (patch)
tree0bd8a30b925118c923f0719df22b2f5f2f5a3c8e /textproc
parent5ac885144d8274f46f6bfd8f7d4c47d53336d13f (diff)
downloadpkgsrc-a82461ce5058f383e7d41031016c2d077622a6c7.tar.gz
DESTDIR support.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gnome-doc-utils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/gnome-doc-utils/Makefile b/textproc/gnome-doc-utils/Makefile
index 1bc7e9e994b..38bed596bf1 100644
--- a/textproc/gnome-doc-utils/Makefile
+++ b/textproc/gnome-doc-utils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/06/26 13:54:29 rillig Exp $
+# $NetBSD: Makefile,v 1.28 2007/10/24 15:07:29 joerg Exp $
#
DISTNAME= gnome-doc-utils-0.10.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Documentation utilities for the GNOME project
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.16:../../textproc/py-libxml2
DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.12:../../textproc/py-libxslt
@@ -37,7 +39,7 @@ BUILDLINK_DEPMETHOD.libxml2= build
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
post-install:
- ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/xml2po
+ ${PYTHONBIN} ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/xml2po
.include "../../lang/python/application.mk"
.include "../../textproc/libxml2/buildlink3.mk"