bf83f6b90f
While here, replace all the direct invocations of mktexlsr by USE_TEX=texhash.
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ltablex
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= print
|
|
# As of 2012-08-24, some mirrors are returning a tarball with a
|
|
# different checksum, so I am mirroring it locally instead.
|
|
# MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
# MASTER_SITE_SUBDIR= macros/latex/contrib
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= rakuco/latex
|
|
PKGNAMEPREFIX= latex-
|
|
DIST_SUBDIR= latex
|
|
|
|
MAINTAINER= rakuco@FreeBSD.org
|
|
COMMENT= Combines the features of both the tabularx and longtable packages
|
|
|
|
USES= zip
|
|
USE_TEX= latex texhash
|
|
NO_BUILD= yes
|
|
PLIST_SUB= CLASSDIR=${CLASSDIR}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
TEXMFDIR= share/texmf
|
|
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME}
|
|
CLASS_FILES= ltablex.sty
|
|
PORTDOCS= ltablex.pdf ltablex.tex
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
|
|
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${PREFIX}/${CLASSDIR}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|