diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:06:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:06:46 +0000 |
commit | 78d4005d146c0ef695479d8e6192d0525cdc7f67 (patch) | |
tree | 48c307e753753c80727a54087b88e009cb7fcb93 /print | |
parent | e2a6f43d350810f0ea9b9fa8aff16f227a91d065 (diff) | |
download | pkgsrc-78d4005d146c0ef695479d8e6192d0525cdc7f67.tar.gz |
DESTDIR support
Diffstat (limited to 'print')
-rw-r--r-- | print/tex-chemarrow/Makefile | 21 | ||||
-rw-r--r-- | print/tex-cooking/Makefile | 14 | ||||
-rw-r--r-- | print/tex-draftwatermark/Makefile | 16 | ||||
-rw-r--r-- | print/tex-everypage/Makefile | 16 |
4 files changed, 38 insertions, 29 deletions
diff --git a/print/tex-chemarrow/Makefile b/print/tex-chemarrow/Makefile index 2d222f38886..6b15c74a9eb 100644 --- a/print/tex-chemarrow/Makefile +++ b/print/tex-chemarrow/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/07/22 09:01:43 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2010/01/27 16:06:46 joerg Exp $ # DISTNAME= chemarrow @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tug.ctan.org/tex-archive/help/Catalogue/entries/chemarrow.html COMMENT= New arrow heads for chemical reaction schemes +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes NO_BUILD= yes @@ -22,18 +24,19 @@ USE_TOOLS+= pax post-extract: @cd ${WRKSRC}/type1 && ${UNZIP_CMD} -Laqo arrow.PC.zip +INSTALLATION_DIRS+= ${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow \ + ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow \ + ${PREFIX}/share/fonts/chemarrow + do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow - ${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/chemarrow ${INSTALL_DATA} ${WRKSRC}/arrow.mf \ - ${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/source/chemarrow ${INSTALL_DATA} ${WRKSRC}/arrow.tfm \ - ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/tfm/chemarrow ${INSTALL_DATA} ${WRKSRC}/chemarrow.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/chemarrow cd ${WRKSRC}/type1/arrow\ PC && pax -rw . \ - ${PREFIX}/share/fonts/chemarrow/ + ${DESTDIR}${PREFIX}/share/fonts/chemarrow/ .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-cooking/Makefile b/print/tex-cooking/Makefile index 1103a331a5b..d0e600ade52 100644 --- a/print/tex-cooking/Makefile +++ b/print/tex-cooking/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 16:08:19 joerg Exp $ DISTNAME= cooking PKGNAME= tex-${DISTNAME}-0.9b @@ -10,8 +10,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tug.ctan.org/tex-archive/macros/latex/contrib/cooking/ COMMENT= Typeset recipes -DIST_SUBDIR= ${PKGNAME_NOREV} +PKG_DESTDIR_SUPPORT= user-destdir +DIST_SUBDIR= ${PKGNAME_NOREV} .include "../../print/teTeX/module.mk" @@ -22,13 +23,14 @@ do-build: cd ${WRKSRC} && latex cooking.dtx cd ${WRKSRC} && latex kraut.tex +INSTALLATION_DIRS= ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking + do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking .for __tmp__ in README cooking.dvi kraut.tex kraut.dvi - ${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking + ${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking .endfor - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking ${INSTALL_DATA} ${WRKSRC}/cooking.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-draftwatermark/Makefile b/print/tex-draftwatermark/Makefile index bb08b6f33fd..5228253aa26 100644 --- a/print/tex-draftwatermark/Makefile +++ b/print/tex-draftwatermark/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 16:10:09 joerg Exp $ DISTNAME= draftwatermark PKGNAME= tex-${DISTNAME}-1.0 @@ -11,12 +11,14 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.ctan.org/tex-archive/macros/latex/contrib/draftwatermark/ COMMENT= Textual watermark package for LaTeX +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tex-everypage>=1.0:../../print/tex-everypage DIST_SUBDIR= ${PKGNAME_NOREV} - -INSTALLATION_DIRS= share/doc/tex-draftwatermark +INSTALLATION_DIRS= share/doc/tex-draftwatermark \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark .include "../../print/teTeX/module.mk" @@ -24,11 +26,11 @@ do-build: cd ${WRKSRC} && ${PREFIX}/bin/latex draftwatermark.ins do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark ${INSTALL_DATA} ${WRKSRC}/draftwatermark.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark/ - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tex-draftwatermark/ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark/ + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/tex-draftwatermark/ ${INSTALL_DATA} ${WRKSRC}/draftwatermark.pdf \ - ${PREFIX}/share/doc/tex-draftwatermark/ + ${DESTDIR}${PREFIX}/share/doc/tex-draftwatermark/ .include "../../mk/bsd.pkg.mk" diff --git a/print/tex-everypage/Makefile b/print/tex-everypage/Makefile index 91483ac0243..f1acbd725b3 100644 --- a/print/tex-everypage/Makefile +++ b/print/tex-everypage/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 16:12:38 joerg Exp $ DISTNAME= everypage PKGNAME= tex-${DISTNAME}-1.0 @@ -11,10 +11,12 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.ctan.org/tex-archive/macros/latex/contrib/everypage/ COMMENT= LaTeX package for hooks to run on every page -DIST_SUBDIR= ${PKGNAME_NOREV} +PKG_DESTDIR_SUPPORT= user-destdir +DIST_SUBDIR= ${PKGNAME_NOREV} -INSTALLATION_DIRS= share/doc/tex-everypage +INSTALLATION_DIRS= share/doc/tex-everypage \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/everypage .include "../../print/teTeX/module.mk" @@ -22,11 +24,11 @@ do-build: cd ${WRKSRC} && ${PREFIX}/bin/latex everypage.ins do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/everypage ${INSTALL_DATA} ${WRKSRC}/everypage.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/everypage/ - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tex-everypage/ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/everypage/ + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/tex-everypage/ ${INSTALL_DATA} ${WRKSRC}/everypage.pdf \ - ${PREFIX}/share/doc/tex-everypage/ + ${DESTDIR}${PREFIX}/share/doc/tex-everypage/ .include "../../mk/bsd.pkg.mk" |