mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
954 B
Makefile
38 lines
954 B
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= TEX_CTAN/macros/latex/contrib
|
|
MASTER_SITES= LOCAL/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>
|