summaryrefslogtreecommitdiff
path: root/textproc/db2latex
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 22:21:19 +0000
committerjoerg <joerg>2009-07-07 22:21:19 +0000
commit937534d7b5f6eab6badc77b98227799b9b8dc7b4 (patch)
tree94b168ba6153e0e703a76b067d6ea333bf313f39 /textproc/db2latex
parent70578fae82021147eeb1ca53851b56ee712bc86e (diff)
downloadpkgsrc-937534d7b5f6eab6badc77b98227799b9b8dc7b4.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"