7d925e6ad7
old dist file: http://people.freebsd.org/~nivit/public_distfiles/arabtex/255afcb5e8004781c6fcc77dbc28a89b/arab311.tgz new dist file: http://people.freebsd.org/~nivit/public_distfiles/arabtex/ded5e5c2e96afdf5827d58c6f41ea56a/arab311.tgz - Add license (LPPL10) - Sort Makefile variables - Allow staging - Remove post-install target - Remove Author field, and fix WWW one in pkg-descr
41 lines
834 B
Makefile
41 lines
834 B
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $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 <bsd.port.options.mk>
|
|
.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 <bsd.port.mk>
|