Date: Sun, 1 Jun 2014 11:47:41 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356103 - head/print/latex-ltablex Message-ID: <201406011147.s51Blf24020436@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sun Jun 1 11:47:40 2014 New Revision: 356103 URL: http://svnweb.freebsd.org/changeset/ports/356103 QAT: https://qat.redports.org/buildarchive/r356103/ Log: Finally add staging support. While here, replace all the direct invocations of mktexlsr by USE_TEX=texhash. Modified: head/print/latex-ltablex/Makefile head/print/latex-ltablex/pkg-plist Modified: head/print/latex-ltablex/Makefile ============================================================================== --- head/print/latex-ltablex/Makefile Sun Jun 1 11:47:14 2014 (r356102) +++ head/print/latex-ltablex/Makefile Sun Jun 1 11:47:40 2014 (r356103) @@ -2,7 +2,7 @@ PORTNAME= ltablex PORTVERSION= 1.0 -PORTREVISION= 1 +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. @@ -17,32 +17,23 @@ MAINTAINER= rakuco@FreeBSD.org COMMENT= Combines the features of both the tabularx and longtable packages USES= zip -USE_TEX= latex -NO_BUILD= YES -PLIST_SUB= MKTEXLSR=${MKTEXLSR} \ - CLASSDIR=${CLASSDIR} \ - TEXMFDIR=${TEXMFDIR} +USE_TEX= latex texhash +NO_BUILD= yes +PLIST_SUB= CLASSDIR=${CLASSDIR} -TEXMFDIR= share/texmf -MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +OPTIONS_DEFINE= DOCS +TEXMFDIR= share/texmf CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME} - CLASS_FILES= ltablex.sty PORTDOCS= ltablex.pdf ltablex.tex WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes do-install: - ${MKDIR} ${PREFIX}/${CLASSDIR} - ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR} -.endif - -post-install: - ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} + ${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> Modified: head/print/latex-ltablex/pkg-plist ============================================================================== --- head/print/latex-ltablex/pkg-plist Sun Jun 1 11:47:14 2014 (r356102) +++ head/print/latex-ltablex/pkg-plist Sun Jun 1 11:47:40 2014 (r356103) @@ -1,4 +1,2 @@ %%CLASSDIR%%/ltablex.sty @dirrm %%CLASSDIR%% -@exec %%MKTEXLSR%% %D/%%TEXMFDIR%% -@unexec %%MKTEXLSR%% %D/%%TEXMFDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011147.s51Blf24020436>