summaryrefslogtreecommitdiff
path: root/textproc/db2latex
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 22:21:19 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 22:21:19 +0000
commit39e3f1ba52b6c7c60a5c316e5d3e86e18de8dd16 (patch)
tree94b168ba6153e0e703a76b067d6ea333bf313f39 /textproc/db2latex
parentf8e9023fb2a29937f7ed96c0b62a4af0530cf4cd (diff)
downloadpkgsrc-39e3f1ba52b6c7c60a5c316e5d3e86e18de8dd16.tar.gz
user-destdir support
Diffstat (limited to 'textproc/db2latex')
-rw-r--r--textproc/db2latex/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/textproc/db2latex/Makefile b/textproc/db2latex/Makefile
index c7f054d2763..b4052c40d2c 100644
--- a/textproc/db2latex/Makefile
+++ b/textproc/db2latex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/05/26 02:13:24 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2009/07/07 22:21:19 joerg Exp $
DISTNAME= db2latex-xsl-0.8pre1
PKGNAME= ${DISTNAME:S/xsl-//}
@@ -11,6 +11,7 @@ HOMEPAGE= http://db2latex.sourceforge.net/
COMMENT= Set of XSLT stylesheets converting DocBook to LaTeX2e
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -31,12 +32,12 @@ post-extract:
pre-install:
${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
+INSTALLATION_DIRS= ${DOCDIR} ${XSLDIR}
+
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${XSLDIR}
- cd ${WRKSRC}/doc && pax -rwpm . ${DOCDIR}
+ cd ${WRKSRC}/doc && pax -rwpm . ${DESTDIR}${DOCDIR}
cd ${WRKSRC} && pax -rwpm AUTHOR COPYING COPYRIGHT README \
TODO VERSION ${DOCDIR}
- cd ${WRKSRC}/xsl && pax -rwpm . ${XSLDIR}
+ cd ${WRKSRC}/xsl && pax -rwpm . ${DESTDIR}${XSLDIR}
.include "../../mk/bsd.pkg.mk"