summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-10-18 22:40:33 +0000
committerminskim <minskim@pkgsrc.org>2011-10-18 22:40:33 +0000
commit7afefd8f37223c8511c5af0c701522d1fc45bdab (patch)
tree08f715dac0417e102f69e9919405f949cd554ec8 /print
parent5794c286163913f831e974771c4860b4b369005d (diff)
downloadpkgsrc-7afefd8f37223c8511c5af0c701522d1fc45bdab.tar.gz
Let tex-foiltex honor the TeX Live directory structure.
Diffstat (limited to 'print')
-rw-r--r--print/tex-foiltex/Makefile19
-rw-r--r--print/tex-foiltex/PLIST18
2 files changed, 19 insertions, 18 deletions
diff --git a/print/tex-foiltex/Makefile b/print/tex-foiltex/Makefile
index d7572080f44..27fe1aa0f8b 100644
--- a/print/tex-foiltex/Makefile
+++ b/print/tex-foiltex/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2010/01/27 16:15:19 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2011/10/18 22:40:33 minskim Exp $
DISTNAME= # empty
PKGNAME= tex-foiltex-2.1.4a
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/supported/foiltex/}
DISTFILES= foiltex.dtx foiltex.ins
@@ -12,6 +12,9 @@ HOMEPAGE= http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/foiltex.html
COMMENT= LaTeX2e class for overhead transparencies
LICENSE= foiltex-license
+DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
+DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+
PKG_DESTDIR_SUPPORT= user-destdir
RESTRICTED= May not be redistributed for profit
@@ -20,12 +23,11 @@ NO_SRC_ON_CDROM=${RESTRICTED}
NO_CONFIGURE= YES
-EVAL_PREFIX+= LATEX_PREFIX=latex
-LATEX_PREFIX_DEFAULT=${LOCALBASE}
+EVAL_PREFIX+= LATEX_PREFIX=tex-latex-bin
-STYDIR= ${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex
+INSTALLATION_DIRS+= ${PREFIX}/share/texmf-dist/tex/latex/foiltex
-.include "../../print/teTeX/module.mk"
+.include "../../print/kpathsea/texmf.mk"
do-extract:
for f in ${DISTFILES}; do \
@@ -35,11 +37,10 @@ do-extract:
do-build:
cd ${WRKSRC} && ${LATEX_PREFIX}/bin/latex foiltex.ins
-INSTALLATION_DIRS+= ${STYDIR}
-
do-install:
cd ${WRKSRC} && for f in foils.* foil*.clo fltfonts.def; do \
- ${INSTALL_DATA} $$f ${DESTDIR}${STYDIR}/$$f; \
+ ${INSTALL_DATA} $$f \
+ ${DESTDIR}${PREFIX}/share/texmf-dist/tex/latex/foiltex/$$f; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-foiltex/PLIST b/print/tex-foiltex/PLIST
index b09657b9d20..1fcba5b0502 100644
--- a/print/tex-foiltex/PLIST
+++ b/print/tex-foiltex/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:12:01 joerg Exp $
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/fltfonts.def
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foil17.clo
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foil20.clo
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foil25.clo
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foil30.clo
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foils.cls
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foils.sty
-${PKG_LOCALTEXMFPREFIX}/tex/latex/foiltex/foilshrt.clo
+@comment $NetBSD: PLIST,v 1.3 2011/10/18 22:40:33 minskim Exp $
+share/texmf-dist/tex/latex/foiltex/fltfonts.def
+share/texmf-dist/tex/latex/foiltex/foil17.clo
+share/texmf-dist/tex/latex/foiltex/foil20.clo
+share/texmf-dist/tex/latex/foiltex/foil25.clo
+share/texmf-dist/tex/latex/foiltex/foil30.clo
+share/texmf-dist/tex/latex/foiltex/foils.cls
+share/texmf-dist/tex/latex/foiltex/foils.sty
+share/texmf-dist/tex/latex/foiltex/foilshrt.clo