pkgsrc/print/kpathsea/Makefile
markd 4e5ed44976 Update to TeXlive 2017
Updated converters/dvi2tty to 6.0.0nb1
  Updated fonts/afm2pl to 0.7.1nb3
  Updated fonts/gsftopkk to 1.19.2nb8
  Updated fonts/lcdftypetools to 2.106
  Updated fonts/ps2pkm to 1.8nb1
  Updated fonts/ttf2pk to 2.0nb3
  Updated fonts/ttfdump to 0.5.5nb4
  Updated print/cjkutils to 4.8.4nb2
  Updated print/dvidvi to 1.1nb1
  Updated print/dviljk to 2.6.5nb8
  Updated print/dvipdfmx to 20170318
  Updated print/dvipsk to 5.997
  Updated print/kpathsea to 6.2.3
  Updated print/lacheck to 1.28nb2
  Updated print/luatex to 1.0.4
  Updated print/ptexenc to 1.3.5
  Updated print/seetexk to 1.1nb3
  Updated print/tex4ht to 0.0.20170523
  Updated print/vlna to 1.5nb3
  Updated print/web2c to 2017
  Updated print/xdvik to 22.87.03nb1
  Updated print/xetex to 0.99997
  Updated print/xpdfopen to 0.86nb2
  Updated textproc/makeindexk to 2.15nb9
  Updated textproc/mendexk to 2.6fnb7
2017-06-20 20:50:49 +00:00

75 lines
2.5 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2017/06/20 20:50:50 markd Exp $
DISTNAME= texlive-20170524-source
PKGNAME= kpathsea-6.2.3
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2017/
EXTRACT_SUFX= .tar.xz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://ctan.org/pkg/kpathsea
COMMENT= Path searching library for TeX-related files
LICENSE= gnu-lgpl-v2.1
CONFLICTS+= teTeX-bin<=3.0nb46
CONFLICTS+= teTeX-texmf<=3.0nb5
CONFLICTS+= texlive-tetex<2010
EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
${DISTNAME}/texk/kpathsea
GNU_CONFIGURE= yes
INFO_FILES= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea
CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess
CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub
PKGCONFIG_OVERRIDE= kpathsea.pc.in
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
#
# A double-slash (//) in the kpathsea paths has a special
# interpretation, it will cause kpathsea to consider all
# subdirectories recursively at that point in the path. Normally
# double-slashes and trailing slashes will not be present in these
# variables, but if they are there the resulting behaviour is so
# unexpected, expensive, and difficult to diagnose that it is worth
# going to extra effort to clean them out here.
#
SUBST_CLASSES+= texmfdir
SUBST_MESSAGE.texmfdir= Setting texmf directories.
SUBST_STAGE.texmfdir= pre-configure
SUBST_FILES.texmfdir= texmf.cnf
SUBST_SED.texmfdir= -e 's,@PREFIX@,${PREFIX:C;///*;/;g:C;/$;;},'
SUBST_SED.texmfdir+= -e 's,@TEXMFLOCAL@,${TEXMFLOCAL:C;///*;/;g:C;/$;;},'
SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE:C;///*;/;g:C;/$;;},'
SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:C;///*;/;g:C;/$;;},'
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= mktex.opt mktexdir mktexlsr mktexmf \
mktexnam mktexnam.opt mktexpk mktextfm mktexupd
SUBST_SED.paths= -e 's,@KPSEWHICH@,${PREFIX}/bin/kpsewhich,g'
SUBST_SED.paths+= -e 's,@MKTEXMF@,${PREFIX}/bin/mktexmf,g'
PKG_SYSCONFSUBDIR= texmf
BUILD_DEFS+= VARBASE
TEXMFLOCAL= ${PREFIX}/share/texmf-local
FILES_SUBST+= TEXMFLOCAL=${TEXMFLOCAL}
CONF_FILES= ${PREFIX}/share/texmf-dist/web2c/texmf.cnf \
${PKG_SYSCONFDIR}/texmf.cnf
OWN_DIRS+= ${TEXMFLOCAL} ${VARBASE}/lib/texmf
.for d in pk source tfm
OWN_DIRS_PERMS+= ${VARBASE}/lib/texmf/fonts/${d} \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
.endfor
INSTALLATION_DIRS+= share/texmf-dist
.include "../../mk/bsd.pkg.mk"