# Created by: Nicola Vitale # $FreeBSD$ PORTNAME= arabtex PORTVERSION= 3.11 PORTREVISION= 5 CATEGORIES= arabic print MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/${PORTNAME}/ DISTNAME= arab${PORTVERSION:S/.//} EXTRACT_SUFX= .tgz MAINTAINER= nivit@FreeBSD.org COMMENT= TeX/LaTeX package to generate Arabic writing LICENSE= LPPL10 ARABTEXDIRS= fonts tex MKTEXLSR= ${LOCALBASE}/bin/mktexlsr NO_WRKSUBDIR= yes NO_BUILD= yes OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MDOCS} ARABTEXDIRS+= doc .endif PLIST_SUB= MKTEXLSR=${MKTEXLSR} USE_TEX= base texmf do-install: .for dir in ${ARABTEXDIRS} @${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir} (cd ${WRKDIR}/${dir} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir}) .endfor .include