1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/print/latex-ltablex/Makefile
Raphael Kubo da Costa bf83f6b90f Finally add staging support.
While here, replace all the direct invocations of mktexlsr by
USE_TEX=texhash.
2014-06-01 11:47:40 +00:00

40 lines
1.0 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>