From owner-svn-ports-head@FreeBSD.ORG Sun Jun 1 11:47:41 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C8C1822; Sun, 1 Jun 2014 11:47:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60E3B24E5; Sun, 1 Jun 2014 11:47:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s51Blfvt020440; Sun, 1 Jun 2014 11:47:41 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s51Blf24020436; Sun, 1 Jun 2014 11:47:41 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201406011147.s51Blf24020436@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sun, 1 Jun 2014 11:47:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356103 - head/print/latex-ltablex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 11:47:41 -0000 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 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%%