diff options
author | jmmv <jmmv@pkgsrc.org> | 2009-03-03 15:19:26 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2009-03-03 15:19:26 +0000 |
commit | 7eb7030d98d3fc2c1531c8d4788938dafdcc8018 (patch) | |
tree | 550e111005f53fa4e61b305d10c74ab0dc3421ba | |
parent | ab02cbe651ca842c6354e3318a930e5b4286d7fe (diff) | |
download | pkgsrc-7eb7030d98d3fc2c1531c8d4788938dafdcc8018.tar.gz |
Add user-destdir support. Per joerg@'s request.
-rw-r--r-- | print/tex-glossaries/Makefile | 27 | ||||
-rw-r--r-- | print/tex-resume/Makefile | 8 |
2 files changed, 22 insertions, 13 deletions
diff --git a/print/tex-glossaries/Makefile b/print/tex-glossaries/Makefile index 63a95a8e2af..49603b9e70f 100644 --- a/print/tex-glossaries/Makefile +++ b/print/tex-glossaries/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/09 07:34:01 jmmv Exp $ +# $NetBSD: Makefile,v 1.3 2009/03/03 15:19:26 jmmv Exp $ DISTNAME= glossaries PKGNAME= tex-${DISTNAME}-1.02 @@ -10,6 +10,8 @@ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/glossaries.html COMMENT= Macros for creation of glossaries +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tex-xkeyval>=2.5f:../../print/tex-xkeyval DIST_SUBDIR= ${PKGNAME_NOREV} @@ -18,26 +20,31 @@ USE_TOOLS+= perl:run REPLACE_PERL= scripts/makeglossaries +INSTALLATION_DIRS= bin + .include "../../print/teTeX/module.mk" do-build: cd ${WRKSRC} && latex glossaries.ins do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} \ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/doc/glossaries.pdf \ - ${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries + ${INSTALL_DATA_DIR} \ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/glossaries.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/glossary-hypernav.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/glossary-list.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/glossary-long.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries ${INSTALL_DATA} ${WRKSRC}/glossary-super.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-resume/Makefile b/print/tex-resume/Makefile index 8b99e79b45c..c782237859a 100644 --- a/print/tex-resume/Makefile +++ b/print/tex-resume/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/06/03 08:59:02 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2009/03/03 15:22:07 jmmv Exp $ DISTNAME= resume PKGNAME= tex-${DISTNAME}-20010823 @@ -10,14 +10,16 @@ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.ctan.org/tex-archive/macros/latex/contrib/resume/ COMMENT= Resume document style +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes USE_DIRS+= texmf-1.4 .include "../../print/teTeX/module.mk" do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/resume + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/resume ${INSTALL_DATA} ${WRKSRC}/res.cls \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/resume + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/resume .include "../../mk/bsd.pkg.mk" |