#!/bin/sh
# $FreeBSD: ports/japanese/ptex/files/updmap-ptex.in,v 1.1 2007/04/08 14:14:06 hrs Exp $

WEB2C="\$TEXMF/web2c{/ptex,}"; export WEB2C
TEXPSHEADERS="\$TEXMF/{dvips{/ptex,},fonts/{enc,type1,type3}}//"; export TEXPSHEADERS
TEXCONFIG="\$TEXMF/dvips{/ptex,}//"; export TEXCONFIG
TEXFONTMAPS="\$TEXMF/fonts/map{/ptex,}//"; export TEXFONTMAPS
TEXCONFIGINPUTS="\$TEXMF/texconfig{/ptex,}"; export TEXCONFIGINPUTS

FONTSMAPVARDIR=%%PREFIX%%/%%FONTSMAPVARDIR%%
: ${UPDMAP_DIST:=%%PREFIX%%/%%UPDMAPDIR%%/updmap.dist}

/bin/sh ${UPDMAP_DIST} \
	--dvipsoutputdir ${FONTSMAPVARDIR}/dvips/updmap \
	--dvipdfmoutputdir ${FONTSMAPVARDIR}/dvipdfm/updmap \
	--pdftexoutputdir ${FONTSMAPVARDIR}/pdftex/updmap \
	"$@"


syntax highlighted by Code2HTML, v. 0.9.1