cvs commit: ports/print/latex-ltablex Makefile distinfo
pkg-descr
Stephen Montgomery-Smith
stephen at missouri.edu
Thu Jun 16 23:30:31 UTC 2011
Raphael Kubo da Costa wrote:
> Hiroki Sato<hrs at FreeBSD.org> writes:
>
>> Stephen Montgomery-Smith<stephen at FreeBSD.org> wrote
>> in<201106160412.p5G4CGBi017198 at repoman.freebsd.org>:
>>
>> st> stephen 2011-06-16 04:12:16 UTC
>> st>
>> st> FreeBSD ports repository
>> st>
>> st> Modified files:
>> st> print/latex-ltablex Makefile distinfo pkg-descr
>> st> Log:
>> st> - Add print/latex-ltablex
>> st>
>> st> ltablex modifies the tabularx environment to combine the features of the
>> st> tabularx package (auto-sized columns in a fixed width table) with those
>> st> of the longtable package (multi-page tables).
>> st>
>> st> WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/ltablex/
>> st>
>> st> PR: ports/156413
>> st> Submitted by: Raphael Kubo da Costa<kubito at gmail.com> (maintainer)
>> st> Approved by: maho (mentor)
>>
>> Please do not use share/texmf-local for the installation. All of
>> macro files in the ports collection should be in share/texmf.
>>
>> Also, the installation directory should be specified in mktexlsr's
>> command line argument.
>
> Thanks for the feedback. Do you mean something like this?
Hi Raphael,
Thanks for the diff file. I had to make a few other changes to get it
to work. I am attaching the diff file, which I have tested, and it does
seem to fix everything.
I used the print/latex-pgf port as a very helpful guide.
I'll commit these changes (or similar changes if it turns out I made a
mistake) fairly soon. So you shouldn't need to submit a PR.
Best regards,
Stephen
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/print/latex-ltablex/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 16 Jun 2011 04:12:16 -0000 1.2
+++ Makefile 16 Jun 2011 23:18:06 -0000
@@ -6,6 +6,7 @@
PORTNAME= ltablex
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib
@@ -16,22 +17,19 @@
MAINTAINER= kubito at gmail.com
COMMENT= Combines the features of both the tabularx and longtable packages
-BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
- ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
USE_ZIP= YES
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
-TEXMFLOCAL= share/texmf-local
-TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+TEXMFDIR= share/texmf
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/latex
CLASSNAME= ${PORTNAME}
-CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME}
+CLASSDIR= ${TEXMFDIR}/tex/latex/${CLASSNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
CLASS_FILES= ltablex.sty
@@ -50,8 +48,8 @@
done;\
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
.endif
- ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
- ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
+ ${ECHO_CMD} "@exec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST}
+ ${ECHO_CMD} "@unexec ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
@@ -62,6 +60,6 @@
.endif
post-install:
- ${MKTEXLSR}
+ ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
.include <bsd.port.mk>
More information about the cvs-all
mailing list