openbsd-ports/print/texlive/texmf/Makefile
steven 105a6556a8 reorganize packaging: remove -tetex package, this is now all included in
the main -minimal texmf package. this now allows using latex without the
need to install extra packages.

from maintainer Edd Barrett, requested by sturm
2008-11-30 18:45:27 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2008/11/30 18:45:27 steven Exp $
COMMENT-main = texlive texmf for laTeX/PdfTeX
COMMENT-full = texlive texmf for XeTeX/ConTeXt and extra macros
COMMENT-docs = texlive documentation
DIST_V = 20080822
DISTNAME = texlive-${DIST_V}-texmf
PKGNAME = texlive_texmf-${V}
PKGNAME-main = texlive_texmf-minimal-${V}p0
PKGNAME-full = texlive_texmf-full-${V}p0
PKGNAME-docs = texlive_texmf-docs-${V}p0
EXTRACT_SUFX = .tar.lzma
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
BUILD_DEPENDS = ::archivers/lzma
RUN_DEPENDS-full = :texlive_texmf-minimal-${V}:print/texlive/texmf,-main \
:texlive_base-${V}:print/texlive/base
RUN_DEPENDS-docs = :texlive_base-${V}:print/texlive/base
MULTI_PACKAGES = -main -full -docs
# Could do with bsd.port.mk understanding lzma
# Also annoyingly loads of .orig files confuse update-patches
do-extract:
cd ${WRKDIR} && \
lzma -dc ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${TAR} xf -
do-install:
mv ${WRKDIST}/texmf ${PREFIX}/share
mv ${WRKDIST}/texmf-dist ${PREFIX}/share
mv ${WRKDIST}/texmf-doc ${PREFIX}/share
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/*
post-install:
mv ${PREFIX}/share/texmf/web2c/updmap.cfg \
${PREFIX}/share/texmf/web2c/updmap.cfg-dist
.include <bsd.port.mk>