openbsd-ports/print/texlive/texmf/Makefile
2010-04-12 12:49:24 +00:00

39 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2010/04/12 12:49:24 edd Exp $
COMMENT-main = texlive texmf for laTeX/PdfTeX
COMMENT-full = texlive texmf for XeTeX/ConTeXt and extra macros
COMMENT-docs = texlive documentation
DISTNAME = texlive-${DIST_V}-texmf
PKGNAME-main = texlive_texmf-minimal-${V}p1
PKGNAME-full = texlive_texmf-full-${V}p1
PKGNAME-docs = texlive_texmf-docs-${V}p0
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
BUILD_DEPENDS = ::archivers/xz
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
SUBST_VARS += LOCALBASE
do-install:
mv ${WRKDIST}/texmf ${PREFIX}/share
mv ${WRKDIST}/texmf-dist ${PREFIX}/share
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/*
post-install:
mv ${PREFIX}/share/texmf/web2c/updmap.cfg \
${PREFIX}/share/texmf/web2c/updmap.cfg-dist
${SUBST_CMD} ${PREFIX}/share/texmf/web2c/texmf.cnf
mv ${PREFIX}/share/texmf/web2c/fmtutil.cnf \
${PREFIX}/share/texmf/web2c/fmtutil.cnf-full
.include <bsd.port.mk>