Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 18:30:28 -0500
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        Raphael Kubo da Costa <kubito@gmail.com>
Cc:        "cvs-ports@FreeBSD.org" <cvs-ports@FreeBSD.org>, Hiroki Sato <hrs@FreeBSD.org>, "stephen@FreeBSD.org" <stephen@FreeBSD.org>, "cvs-all@FreeBSD.org" <cvs-all@FreeBSD.org>, "ports-committers@FreeBSD.org" <ports-committers@FreeBSD.org>
Subject:   Re: cvs commit: ports/print/latex-ltablex Makefile distinfo pkg-descr
Message-ID:  <4DFA9214.801@missouri.edu>
In-Reply-To: <87fwna0yrv.fsf@gmail.com>
References:  <201106160412.p5G4CGBi017198@repoman.freebsd.org>	<20110616.133622.817956157675256364.hrs__35336.7312149659$1308200262$gmane$org@allbsd.org> <87fwna0yrv.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020307070802080901010902
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Raphael Kubo da Costa wrote:
> Hiroki Sato<hrs@FreeBSD.org>  writes:
>
>> Stephen Montgomery-Smith<stephen@FreeBSD.org>  wrote
>>    in<201106160412.p5G4CGBi017198@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@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

--------------020307070802080901010902
Content-Type: text/plain;
 name="ddd"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="ddd"

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@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>

--------------020307070802080901010902--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DFA9214.801>