diff options
author | dillo <dillo@pkgsrc.org> | 2008-11-18 16:08:12 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2008-11-18 16:08:12 +0000 |
commit | eeed02b920adfa79c850dd7214458e3a20bd93b0 (patch) | |
tree | f9f7c6e6a0a4acc9bd8f74880af97e28427d618f | |
parent | dadd581aad1a047f6724c9ce09c3245b6b7a1b2a (diff) | |
download | pkgsrc-eeed02b920adfa79c850dd7214458e3a20bd93b0.tar.gz |
Support user-destdir.
-rw-r--r-- | textproc/tei-xsl/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
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" |