diff options
author | joerg <joerg> | 2010-01-27 16:15:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 16:15:19 +0000 |
commit | 1ef72e88b4571cff007a0b7bb730d8fe4d8940f7 (patch) | |
tree | 3f60a02904089a2e9a19b63a55cc2ce7406e4081 | |
parent | 0dac9e586cd9155cdf2ca03a188ebc71183d24ed (diff) | |
download | pkgsrc-1ef72e88b4571cff007a0b7bb730d8fe4d8940f7.tar.gz |
DESTDIR support
-rw-r--r-- | print/tex-foiltex/Makefile | 9 | ||||
-rw-r--r-- | print/tex-hugelatex/Makefile | 10 | ||||
-rw-r--r-- | print/tex-igo/Makefile | 20 |
3 files changed, 24 insertions, 15 deletions
diff --git a/print/tex-foiltex/Makefile b/print/tex-foiltex/Makefile index ec497f679ef..d7572080f44 100644 --- a/print/tex-foiltex/Makefile +++ b/print/tex-foiltex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/07/22 09:01:44 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2010/01/27 16:15:19 joerg Exp $ DISTNAME= # empty PKGNAME= tex-foiltex-2.1.4a @@ -12,6 +12,8 @@ HOMEPAGE= http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/foiltex.html COMMENT= LaTeX2e class for overhead transparencies LICENSE= foiltex-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= May not be redistributed for profit NO_BIN_ON_CDROM=${RESTRICTED} NO_SRC_ON_CDROM=${RESTRICTED} @@ -33,10 +35,11 @@ do-extract: do-build: cd ${WRKSRC} && ${LATEX_PREFIX}/bin/latex foiltex.ins +INSTALLATION_DIRS+= ${STYDIR} + do-install: - ${INSTALL_DATA_DIR} ${STYDIR} cd ${WRKSRC} && for f in foils.* foil*.clo fltfonts.def; do \ - ${INSTALL_DATA} $$f ${STYDIR}/$$f; \ + ${INSTALL_DATA} $$f ${DESTDIR}${STYDIR}/$$f; \ done .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-hugelatex/Makefile b/print/tex-hugelatex/Makefile index dcea23a8aa2..b8c053ecd21 100644 --- a/print/tex-hugelatex/Makefile +++ b/print/tex-hugelatex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2009/04/09 00:48:15 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2010/01/27 16:17:34 joerg Exp $ # DISTNAME= hugelatex-2.0 @@ -11,6 +11,8 @@ DISTFILES= # nada MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= LaTeX format files with large limits +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin WRKSRC= ${WRKDIR} @@ -27,9 +29,11 @@ CHECK_FILES_SKIP+= ${PKG_TEXMFPREFIX}/web2c/hugelatex.log .include "../../print/kpathsea/texmf.mk" +INSTALLATION_DIRS= bin share/texmf/web2c/ + do-install: - ${LN} -sf latex ${PREFIX}/bin/hugelatex + ${LN} -sf latex ${DESTDIR}${PREFIX}/bin/hugelatex ${INSTALL_DATA} ${FILESDIR}/texmf.hugelatex.cnf \ - ${PREFIX}/share/texmf/web2c/texmf.hugelatex.cnf + ${DESTDIR}${PREFIX}/share/texmf/web2c/texmf.hugelatex.cnf .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-igo/Makefile b/print/tex-igo/Makefile index 6fe99e08051..9965e6f62a5 100644 --- a/print/tex-igo/Makefile +++ b/print/tex-igo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:44 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 16:22:49 joerg Exp $ DISTNAME= igo PKGNAME= tex-${DISTNAME}-0 @@ -10,6 +10,7 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://www.ctan.org/tex-archive/fonts/igo/ COMMENT= Fonts and macro to typeset Go diagrams +PKG_DESTDIR_SUPPORT= user-destdir .include "../../print/teTeX/module.mk" @@ -20,18 +21,19 @@ do-configure: do-build: cd ${WRKSRC}/fonts && ${SH} makefonts.sh +INSTALLATION_DIRS+= ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo \ + ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo \ + ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo + do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/igo.pdf ${WRKSRC}/igo.tex \ - ${PKG_LOCALTEXMFPREFIX}/doc/latex/igo - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/igo ${INSTALL_DATA} ${WRKSRC}/igo.sty ${WRKSRC}/repeat.tex \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/igo - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/igo ${INSTALL_DATA} ${WRKSRC}/fonts/*.mf \ - ${PKG_LOCALTEXMFPREFIX}/fonts/source/igo - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/source/igo ${INSTALL_DATA} ${WRKSRC}/fonts/*.tfm \ - ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/tfm/igo .include "../../mk/bsd.pkg.mk" |