From ee190843c2f3aa4bceaaf9ff3b3aa9c989836fba Mon Sep 17 00:00:00 2001 From: dillo Date: Tue, 18 Nov 2008 16:08:12 +0000 Subject: Support user-destdir. --- textproc/tei-xsl/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'textproc') diff --git a/textproc/tei-xsl/Makefile b/textproc/tei-xsl/Makefile index 5ec906ff624..8744c9598bc 100644 --- a/textproc/tei-xsl/Makefile +++ b/textproc/tei-xsl/Makefile @@ -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 @@ COMMENT= XSLT Stylesheets to convert TEI to FO, HTML, and LaTeX 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 @@ XML_ENTRIES= rewriteURI http://www.tei-c.org/Stylesheets/ \ ${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" -- cgit v1.2.3