pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/gnome-doc-utils DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/357c65677576
branches:  trunk
changeset: 534498:357c65677576
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 24 15:07:29 2007 +0000

description:
DESTDIR support.

diffstat:

 textproc/gnome-doc-utils/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 51e267ae9c5a -r 357c65677576 textproc/gnome-doc-utils/Makefile
--- a/textproc/gnome-doc-utils/Makefile Wed Oct 24 15:00:41 2007 +0000
+++ b/textproc/gnome-doc-utils/Makefile Wed Oct 24 15:07:29 2007 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index