2012-12-23 07:54:04 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2005-07-19 22:35:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= arabtex
|
|
|
|
PORTVERSION= 3.11
|
2011-05-02 14:44:53 +02:00
|
|
|
PORTREVISION= 5
|
2005-07-19 22:35:18 +02:00
|
|
|
CATEGORIES= arabic print
|
|
|
|
MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/${PORTNAME}/
|
|
|
|
DISTNAME= arab${PORTVERSION:S/.//}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2012-12-23 07:54:04 +01:00
|
|
|
COMMENT= TeX/LaTeX package to generate Arabic writing
|
2005-07-19 22:35:18 +02:00
|
|
|
|
2013-12-05 22:03:15 +01:00
|
|
|
LICENSE= LPPL10
|
|
|
|
|
|
|
|
ARABTEXDIRS= fonts tex
|
2005-07-19 22:35:18 +02:00
|
|
|
|
|
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
|
|
|
2013-12-05 22:03:15 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
2005-07-19 22:35:18 +02:00
|
|
|
|
2013-12-05 22:03:15 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
ARABTEXDIRS+= doc
|
2005-07-19 22:35:18 +02:00
|
|
|
.endif
|
|
|
|
|
2013-12-05 22:03:15 +01:00
|
|
|
PLIST_SUB= MKTEXLSR=${MKTEXLSR}
|
|
|
|
|
|
|
|
USE_TEX= base texmf
|
|
|
|
|
2005-07-19 22:35:18 +02:00
|
|
|
do-install:
|
2013-12-05 22:03:15 +01:00
|
|
|
.for dir in ${ARABTEXDIRS}
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir}
|
|
|
|
(cd ${WRKDIR}/${dir} && \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TEXMFLOCALDIR}/${dir})
|
|
|
|
.endfor
|
2005-07-19 22:35:18 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|