diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/doc2html | |
parent | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff) | |
download | pkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/doc2html')
-rw-r--r-- | converters/doc2html/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/converters/doc2html/Makefile b/converters/doc2html/Makefile index a80ae076d9f..d29ddf1591e 100644 --- a/converters/doc2html/Makefile +++ b/converters/doc2html/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/03/04 21:29:06 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/03 05:51:08 jlam Exp $ # DISTNAME= doc2html @@ -16,6 +16,8 @@ DEPENDS+= rtf2html-[0-9]*:../../converters/rtf2html DEPENDS+= xpdf-[0-9]*:../../print/xpdf DEPENDS+= catdoc-[0-9]*:../../textproc/catdoc +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gs:run perl:run INSTALLATION_DIRS= bin @@ -30,7 +32,7 @@ do-build: .endfor do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${PREFIX}/bin/doc2html - ${INSTALL_SCRIPT} ${WRKSRC}/pdf2html ${PREFIX}/bin/pdf2html + ${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${DESTDIR}${PREFIX}/bin/doc2html + ${INSTALL_SCRIPT} ${WRKSRC}/pdf2html ${DESTDIR}${PREFIX}/bin/pdf2html .include "../../mk/bsd.pkg.mk" |