do not generate a few MB of format files at pkg_add, but instead put

them into a SUBPACKAGE, noticed by espie@

fix a braino in patch-Makefile_in
This commit is contained in:
sturm 2005-03-03 20:55:41 +00:00
parent f8ead639b4
commit 6e185edc3a
5 changed files with 92 additions and 9 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.31 2005/02/21 21:36:07 sturm Exp $
# $OpenBSD: Makefile,v 1.32 2005/03/03 20:55:41 sturm Exp $
COMMENT= "TeX distribution, executables"
COMMENT-fmt= "format files"
VERSION= 3.0
DISTNAME= tetex-base-${VERSION}
PKGNAME= ${DISTNAME:S/tetex-/teTeX_/}
PKGNAME= teTeX_base-${VERSION}p0
PKGNAME-fmt= teTeX_base-fmt-${VERSION}
CATEGORIES= print
DISTFILES= tetex-src-${VERSION}.tar.gz
@ -46,6 +48,17 @@ RUN_DEPENDS+= :ghostscript-*:print/ghostscript/gnu
USE_X11= Yes
.endif
MULTI_PACKAGES= -fmt
SUBPACKAGE?=
.if defined(PACKAGING)
. if ${SUBPACKAGE} == "-fmt"
PREFIX= /var
. else
RUN_DEPENDS+= ::print/teTeX/base,-fmt
. endif
.endif
WRKDIST= ${WRKDIR}/${DISTNAME:S/base/src/}
TETEX_EXDIR= ${PREFIX}/share/examples/teTeX

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Makefile_in,v 1.1 2005/02/21 21:36:07 sturm Exp $
$OpenBSD: patch-Makefile_in,v 1.2 2005/03/03 20:55:41 sturm Exp $
--- Makefile.in.orig Sun Feb 20 09:21:55 2005
+++ Makefile.in Sun Feb 20 11:08:03 2005
@@ -47,6 +47,10 @@ LIBSDIRS = @LIBSDIRS@
@ -6,8 +6,8 @@ $OpenBSD: patch-Makefile_in,v 1.1 2005/02/21 21:36:07 sturm Exp $
INSTDIRS = @INSTDIRS@
+TETEXENV=TEXMFDIST="$(texmf)"-dist TEXMFLOCAL="$(texmf)"-local \
+ TEXMFSYSVAR=${PREFIX}/var/texmf \
+ TEXMFSYSCONFIG=${PREFIX}${SYSCONFDIR}/texmf
+ TEXMFSYSVAR=${DESTDIR}/var/texmf \
+ TEXMFSYSCONFIG=${DESTDIR}${SYSCONFDIR}/texmf
+
default: all
install: all

View File

@ -0,0 +1 @@
Format files for teTeX.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.19 2005/02/21 21:36:07 sturm Exp $
@comment $OpenBSD: PLIST,v 1.20 2005/03/03 20:55:41 sturm Exp $
bin/a2ping
bin/afm2tfm
bin/aleph
@ -354,7 +354,4 @@ share/texmf/web2c/texmf.cnf.dist
@sample share/texmf/web2c/texmf.cnf
!%%no_x11%%
@exec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
@exec TEXMFMAIN=%D/share/texmf %D/bin/fmtutil-sys --all
@exec TEXMFMAIN=%D/share/texmf %D/bin/updmap-sys
@extraunexec rm -fr /var/texmf
@extraunexec rm -fr ${SYSCONFDIR}/texmf

View File

@ -0,0 +1,72 @@
@comment $OpenBSD: PLIST-fmt,v 1.1 2005/03/03 20:55:41 sturm Exp $
texmf/
texmf/fonts/
texmf/fonts/map/
texmf/fonts/map/dvipdfm/
texmf/fonts/map/dvipdfm/updmap/
texmf/fonts/map/dvipdfm/updmap/dvipdfm.map
texmf/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
texmf/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
texmf/fonts/map/dvips/
texmf/fonts/map/dvips/updmap/
texmf/fonts/map/dvips/updmap/builtin35.map
texmf/fonts/map/dvips/updmap/download35.map
texmf/fonts/map/dvips/updmap/ps2pk.map
texmf/fonts/map/dvips/updmap/psfonts.map
texmf/fonts/map/dvips/updmap/psfonts_pk.map
texmf/fonts/map/dvips/updmap/psfonts_t1.map
texmf/fonts/map/pdftex/
texmf/fonts/map/pdftex/updmap/
texmf/fonts/map/pdftex/updmap/pdftex.map
texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
@comment no checksum
texmf/ls-R
texmf/web2c/
texmf/web2c/aleph.fmt
@comment no checksum
texmf/web2c/aleph.log
texmf/web2c/cont-en.fmt
@comment no checksum
texmf/web2c/cont-en.log
texmf/web2c/etex.fmt
@comment no checksum
texmf/web2c/etex.log
texmf/web2c/lambda.fmt
@comment no checksum
texmf/web2c/lambda.log
texmf/web2c/lamed.fmt
@comment no checksum
texmf/web2c/lamed.log
texmf/web2c/latex.fmt
@comment no checksum
texmf/web2c/latex.log
@comment no checksum
texmf/web2c/metafun.log
texmf/web2c/metafun.mem
texmf/web2c/mf.base
@comment no checksum
texmf/web2c/mf.log
@comment no checksum
texmf/web2c/mpost.log
texmf/web2c/mpost.mem
texmf/web2c/mptopdf.fmt
@comment no checksum
texmf/web2c/mptopdf.log
texmf/web2c/omega.fmt
@comment no checksum
texmf/web2c/omega.log
texmf/web2c/pdfetex.fmt
@comment no checksum
texmf/web2c/pdfetex.log
texmf/web2c/pdflatex.fmt
@comment no checksum
texmf/web2c/pdflatex.log
texmf/web2c/pdftex.fmt
@comment no checksum
texmf/web2c/pdftex.log
texmf/web2c/tex.fmt
@comment no checksum
texmf/web2c/tex.log
@comment no checksum
texmf/web2c/updmap.log