cvs commit: ports/print/latex-ltablex Makefile distinfo
pkg-descr
Raphael Kubo da Costa
kubito at gmail.com
Thu Jun 16 12:27:26 UTC 2011
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?
diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile
index cad10ed..be38210 100644
--- a/print/latex-ltablex/Makefile
+++ b/print/latex-ltablex/Makefile
@@ -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
@@ -27,11 +28,12 @@ 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
@@ -62,6 +64,6 @@ do-install:
.endif
post-install:
- ${MKTEXLSR}
+ ${MKTEXLSR} ${PREFIX}/${CLASSDIR}
.include <bsd.port.mk>
More information about the cvs-all
mailing list