1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/print/latex-mathabx/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

86 lines
3.0 KiB
Makefile

# New ports collection makefile for: latex-mathabx
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-mathabx
PORTVERSION= 1.0.20050518
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= http://auemath.aichi-edu.ac.jp/~khotta/ghost/abx/
DISTFILES= mathabx${EXTRACT_SUFX} abxtype1${EXTRACT_SUFX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Math series, aka mathabx MetaFont fontset for TeX/LaTeX
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
USE_ZIP= YES
NO_BUILD= YES
PLIST_SUB= TEXMFLOCALDIR=${TEXMFLOCALDIR} \
MKTEXLSR=${MKTEXLSR} \
UPDMAP_SYS="${UPDMAP_SYS}" \
CLASSDIR=${CLASSDIR} MFDIR=${MFDIR} \
TYPE1DIR=${TYPE1DIR} DVIPSDIR=${DVIPSDIR}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
TEXMFDIR= share/texmf
TEXMFLOCALDIR= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
UPDMAP_SYS= ${SETENV} PATH=${LOCALBASE}/bin:$${PATH} \
${LOCALBASE}/bin/updmap-sys
CLASSDIR= ${TEXMFLOCALDIR}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_FILES= mathabx.dcl mathabx.sty mathabx.tex testmac.tex
MFDIR= ${TEXMFLOCALDIR}/fonts/source/public/${PORTNAME:S/^latex-//}
MF_FILES= matha10.mf matha12.mf matha5.mf matha6.mf matha7.mf \
matha8.mf matha9.mf mathacnt.mf mathadrv.mf matharrw.mf \
mathastr.mf mathastrotest10.mf mathastrotestdrv.mf \
mathasym.mf mathb10.mf mathb12.mf mathb5.mf \
mathb6.mf mathb7.mf mathb8.mf mathb9.mf mathbase.mf \
mathbdel.mf mathbdrv.mf mathbigs.mf mathbsym.mf mathc10.mf \
mathcall.mf mathcallgreek.mf mathcdrv.mf mathfine.mf \
mathgrey.mf mathhbrw.mf mathineq.mf \
mathltlk.mf mathmbcb.mf mathprmt.mf mathsmsy.mf mathsubs.mf \
mathsymb.mf mathu10.mf mathudrv.mf mathusym.mf \
mathux10.mf mathuxdrv.mf mathx10.mf mathx12.mf mathx5.mf \
mathx6.mf mathx7.mf mathx8.mf mathx9.mf mathxdrv.mf maydigit.mf
TYPE1DIR= ${TEXMFLOCALDIR}/fonts/type1/${PORTNAME:S/^latex-//}
TYPE1_FILES= matha10.pfb matha12.pfb matha5.pfb matha6.pfb matha7.pfb \
matha8.pfb matha9.pfb mathastrotest10.pfb \
mathb10.pfb mathb12.pfb mathb5.pfb \
mathb6.pfb mathb7.pfb mathb8.pfb mathb9.pfb mathc10.pfb \
mathu10.pfb mathux10.pfb mathx10.pfb mathx12.pfb \
mathx5.pfb mathx6.pfb mathx7.pfb mathx8.pfb mathx9.pfb
DVIPSDIR= ${TEXMFLOCALDIR}/fonts/map/dvips/mathabx
DVIPS_FILES= mathabx.map
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${WRKSRC}/mathtest.tex\
${CLASS_FILES:S@^@${WRKSRC}/texinputs/@}\
${PREFIX}/${CLASSDIR}
${MKDIR} ${PREFIX}/${MFDIR}
${INSTALL_DATA} ${MF_FILES:S@^@${WRKSRC}/source/@}\
${PREFIX}/${MFDIR}
${MKDIR} ${PREFIX}/${TYPE1DIR}
${INSTALL_DATA} ${TYPE1_FILES:S@^@${WRKDIR}/abxtype1/pfb/@}\
${PREFIX}/${TYPE1DIR}
${MKDIR} ${PREFIX}/${DVIPSDIR}
${INSTALL_DATA} ${DVIPS_FILES:S@^@${WRKDIR}/abxtype1/map/@}\
${PREFIX}/${DVIPSDIR}
post-install:
${MKTEXLSR}
${UPDMAP_SYS} --enable Map=mathabx.map
.include <bsd.port.mk>