pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/tei-xsl Support user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19c8622efd03
branches:  trunk
changeset: 550296:19c8622efd03
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Tue Nov 18 16:08:12 2008 +0000

description:
Support user-destdir.

diffstat:

 textproc/tei-xsl/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a0b8c308b38f -r 19c8622efd03 textproc/tei-xsl/Makefile
--- a/textproc/tei-xsl/Makefile Tue Nov 18 15:56:12 2008 +0000
+++ b/textproc/tei-xsl/Makefile Tue Nov 18 16:08:12 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/18 14:13:08 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/18 16:08:12 dillo Exp $
 #
 
 DISTNAME=      tei-xsl-5.14
@@ -13,6 +13,7 @@
 USE_LANGUAGES= # none
 NO_CONFIGURE=  YES
 NO_BUILD=      YES
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 TEIXSLDIR=     ${PREFIX}/share/xsl/tei-xsl
 DOCDIR=                ${PREFIX}/share/doc/tei-xsl
@@ -23,8 +24,8 @@
                 ${TEIXSLDIR}
 
 do-install:
-       cd ${WRKSRC} && ${CP} -R p4 p5 ${TEIXSLDIR}
-       cd ${WRKSRC}/doc && ${CP} -R * ${DOCDIR}
+       cd ${WRKSRC} && ${CP} -R p4 p5 ${DESTDIR}${TEIXSLDIR}
+       cd ${WRKSRC}/doc && ${CP} -R * ${DESTDIR}${DOCDIR}
 
 .include "../../textproc/xmlcatmgr/catalogs.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index