2010-08-20 07:06:29 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2010/08/20 11:06:29 edd Exp $
|
2008-10-07 16:54:35 -04:00
|
|
|
|
2008-11-30 13:45:27 -05:00
|
|
|
COMMENT-main = texlive texmf for laTeX/PdfTeX
|
2008-10-07 16:54:35 -04:00
|
|
|
COMMENT-full = texlive texmf for XeTeX/ConTeXt and extra macros
|
|
|
|
COMMENT-docs = texlive documentation
|
|
|
|
|
|
|
|
DISTNAME = texlive-${DIST_V}-texmf
|
|
|
|
|
2010-07-17 12:37:33 -04:00
|
|
|
PKGNAME-main = texlive_texmf-minimal-${V}
|
|
|
|
PKGNAME-full = texlive_texmf-full-${V}
|
|
|
|
PKGNAME-docs = texlive_texmf-docs-${V}
|
|
|
|
|
2010-08-20 07:06:29 -04:00
|
|
|
REVISION-main = 2
|
|
|
|
REVISION-full = 3
|
|
|
|
REVISION-docs = 2
|
2008-10-07 16:54:35 -04:00
|
|
|
|
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
PKG_ARCH = *
|
|
|
|
|
2009-09-10 11:30:21 -04:00
|
|
|
BUILD_DEPENDS = ::archivers/xz
|
2008-11-30 13:45:27 -05:00
|
|
|
RUN_DEPENDS-full = :texlive_texmf-minimal-${V}:print/texlive/texmf,-main \
|
|
|
|
:texlive_base-${V}:print/texlive/base
|
2008-10-08 01:22:45 -04:00
|
|
|
RUN_DEPENDS-docs = :texlive_base-${V}:print/texlive/base
|
2008-10-07 16:54:35 -04:00
|
|
|
|
2008-11-30 13:45:27 -05:00
|
|
|
MULTI_PACKAGES = -main -full -docs
|
2008-10-07 16:54:35 -04:00
|
|
|
|
2009-12-12 12:48:34 -05:00
|
|
|
SUBST_VARS += LOCALBASE
|
2008-10-07 16:54:35 -04:00
|
|
|
|
|
|
|
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
|
2009-12-12 12:48:34 -05:00
|
|
|
${SUBST_CMD} ${PREFIX}/share/texmf/web2c/texmf.cnf
|
|
|
|
mv ${PREFIX}/share/texmf/web2c/fmtutil.cnf \
|
|
|
|
${PREFIX}/share/texmf/web2c/fmtutil.cnf-full
|
2008-10-07 16:54:35 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|