diff options
author | stephen <stephen@FreeBSD.org> | 2011-06-16 11:53:21 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2011-06-16 11:53:21 +0800 |
commit | f67c644c36eaab3043a107aa231af77001bcc225 (patch) | |
tree | 122c8745742a6043ac8c9c95b2c3e98a61477769 /print | |
parent | a26fdfea869c783b4dcae26a20e78d4967c11a40 (diff) | |
download | freebsd-ports-gnome-f67c644c36eaab3043a107aa231af77001bcc225.tar.gz freebsd-ports-gnome-f67c644c36eaab3043a107aa231af77001bcc225.tar.zst freebsd-ports-gnome-f67c644c36eaab3043a107aa231af77001bcc225.zip |
- Add print/latex-ltablex: Combines the features of both the tabularx and
longtable packages
PR: ports/156413
Submitted by: Raphael Kubo da Costa <kubito@gmail.com> (maintainer)
Approved by: maho (mentor)
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/latex-ltablex/Makefile | 67 | ||||
-rw-r--r-- | print/latex-ltablex/distinfo | 2 | ||||
-rw-r--r-- | print/latex-ltablex/pkg-descr | 5 |
4 files changed, 75 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 03282bdc5626..fa5ba5e5e2ab 100644 --- a/print/Makefile +++ b/print/Makefile @@ -145,6 +145,7 @@ SUBDIR += latex-keystroke SUBDIR += latex-logpap SUBDIR += latex-logreq + SUBDIR += latex-ltablex SUBDIR += latex-mathabx SUBDIR += latex-pgf SUBDIR += latex-prettyref diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile new file mode 100644 index 000000000000..cad10ed528e8 --- /dev/null +++ b/print/latex-ltablex/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: print/latex-ltablex +# Date created: 14 April 2011 +# Whom: Raphael Kubo da Costa (kubito@gmail.com) +# +# $FreeBSD$ + +PORTNAME= ltablex +PORTVERSION= 1.0 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_TEX_CTAN} +MASTER_SITE_SUBDIR= macros/latex/contrib +PKGNAMEPREFIX= latex- +DISTNAME= ${PORTNAME} +DIST_SUBDIR= latex + +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 + +USE_ZIP= YES +NO_BUILD= YES +PLIST= ${WRKDIR}/pkg-plist + +TEXMFLOCAL= share/texmf-local +TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +TEX_BIN= ${LOCALBASE}/bin/latex + +CLASSNAME= ${PORTNAME} +CLASSDIR= ${TEXMFLOCAL}/tex/latex/${CLASSNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +CLASS_FILES= ltablex.sty +DOC_FILES= ltablex.pdf ltablex.tex + +WRKSRC= ${WRKDIR}/${CLASSNAME} + +pre-install: + (for F in ${CLASS_FILES}; do \ + ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ + done;) > ${PLIST} + ${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST} +.if !defined(NOPORTDOCS) + (for F in ${DOC_FILES}; do \ + ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ + done;\ + ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} +.endif + ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} + ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} + +do-install: + ${MKDIR} ${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} +.endif + +post-install: + ${MKTEXLSR} + +.include <bsd.port.mk> diff --git a/print/latex-ltablex/distinfo b/print/latex-ltablex/distinfo new file mode 100644 index 000000000000..eee60fc3a40d --- /dev/null +++ b/print/latex-ltablex/distinfo @@ -0,0 +1,2 @@ +SHA256 (latex/ltablex.zip) = 776d341e7bebfb3d6d96d121ec981e1e37574b0c2410f7effa784e79dc0481f3 +SIZE (latex/ltablex.zip) = 235583 diff --git a/print/latex-ltablex/pkg-descr b/print/latex-ltablex/pkg-descr new file mode 100644 index 000000000000..572c4310ba85 --- /dev/null +++ b/print/latex-ltablex/pkg-descr @@ -0,0 +1,5 @@ +ltablex modifies the tabularx environment to combine the features of the +tabularx package (auto-sized columns in a fixed width table) with those +of the longtable package (multi-page tables). + +WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/ltablex/ |