pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/tex-adjustbox Import tex-adjustbox-1.0 as print/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30f0370ebe39
branches:  trunk
changeset: 646512:30f0370ebe39
user:      mef <mef%pkgsrc.org@localhost>
date:      Tue Feb 10 02:48:09 2015 +0000

description:
Import tex-adjustbox-1.0 as print/tex-adjustbox.

The package provides several macros to adjust boxed content. One purpose is
to supplement the standard graphics package, which defines the macros
\resizebox, \scalebox and \rotatebox , with the macros\trimbox and
\clipbox. The main feature is the general \adjustbox macro which extends
the `key=value' interface of \includegraphics from the graphics package
and applies it to general text content. Additional provided box macros are
\lapbox, \marginbox, \minsizebox, \maxsizebox and \phantombox.

All macros use the collectbox package to read the content as a box and not
as a macro argument. This allows for all forms of content including special
material like verbatim content. A special feature of collectbox is used to
provide matching environments with the identical names as the macros.

diffstat:

 print/tex-adjustbox/DEINSTALL |   2 +
 print/tex-adjustbox/DESCR     |  12 +++++++++++
 print/tex-adjustbox/INSTALL   |   2 +
 print/tex-adjustbox/Makefile  |  46 +++++++++++++++++++++++++++++++++++++++++++
 print/tex-adjustbox/PLIST     |  16 ++++++++++++++
 print/tex-adjustbox/distinfo  |   5 ++++
 6 files changed, 83 insertions(+), 0 deletions(-)

diffs (107 lines):

diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/DEINSTALL     Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,2 @@
+#!/bin/sh
+texhash
diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/DESCR Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,12 @@
+The package provides several macros to adjust boxed content. One purpose is
+to supplement the standard graphics package, which defines the macros
+\resizebox, \scalebox and \rotatebox , with the macros\trimbox and
+\clipbox. The main feature is the general \adjustbox macro which extends
+the `key=value' interface of \includegraphics from the graphics package
+and applies it to general text content. Additional provided box macros are
+\lapbox, \marginbox, \minsizebox, \maxsizebox and \phantombox.
+
+All macros use the collectbox package to read the content as a box and not
+as a macro argument. This allows for all forms of content including special
+material like verbatim content. A special feature of collectbox is used to
+provide matching environments with the identical names as the macros.
diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/INSTALL       Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,2 @@
+#!/bin/sh
+texhash
diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/Makefile      Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2015/02/10 02:48:09 mef Exp $
+
+DISTNAME=      adjustbox
+PKGNAME=       tex-${DISTNAME}-1.0
+CATEGORIES=    print
+MASTER_SITES=  http://mirrors.ctan.org/macros/latex/contrib/
+EXTRACT_SUFX=  .zip
+
+HOMEPAGE=      http://www.ctan.org/pkg/adjustbox
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Graphics package-alike macros for general boxes
+LICENSE=       lppl-1.3c
+
+BUILD_DEPENDS+=        web2c-[0-9]*:../../print/web2c
+# tex not found
+BUILD_DEPENDS+=        tex-tetex-[0-9]*:../../print/tex-tetex
+# mkfmt tex.fmt not found
+BUILD_DEPENDS+=        teTeX-texmf-[0-9]*:../../print/teTeX3-texmf
+BUILD_DEPENDS+=        tex-ydoc-[0-9]*:../../print/tex-ydoc
+
+INSTALL_PATH=  share/texmf-dist/tex/latex/adjustbox
+AUTO_MKDIRS=   yes
+
+do-build:
+       (cd ${WRKSRC}; tex adjustbox.ins )
+
+do-install:
+.for i in box compare margin margin2 trim trim2 trim3 viewport viewport2
+       (cd ${WRKSRC}; \
+       ${INSTALL_DATA} ${i}.tex ${DESTDIR}${PREFIX}/${INSTALL_PATH} )
+.endfor
+.for i in dtx ins pdf
+       (cd ${WRKSRC}; \
+       ${INSTALL_DATA} adjustbox.${i} ${DESTDIR}${PREFIX}/${INSTALL_PATH} )
+.endfor
+.for i in adjustbox adjcalc trimclip
+       (cd ${WRKSRC}; \
+       ${INSTALL_DATA} ${i}.sty ${DESTDIR}${PREFIX}/${INSTALL_PATH} )
+.endfor
+
+# if from texlive 2014
+# TEXLIVE_REV= 26555
+# .include "../../print/texlive/package.mk"
+.include "../../print/kpathsea/texmf.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/PLIST Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/10 02:48:09 mef Exp $
+share/texmf-dist/tex/latex/adjustbox/adjcalc.sty
+share/texmf-dist/tex/latex/adjustbox/adjustbox.dtx
+share/texmf-dist/tex/latex/adjustbox/adjustbox.ins
+share/texmf-dist/tex/latex/adjustbox/adjustbox.pdf
+share/texmf-dist/tex/latex/adjustbox/adjustbox.sty
+share/texmf-dist/tex/latex/adjustbox/box.tex
+share/texmf-dist/tex/latex/adjustbox/compare.tex
+share/texmf-dist/tex/latex/adjustbox/margin.tex
+share/texmf-dist/tex/latex/adjustbox/margin2.tex
+share/texmf-dist/tex/latex/adjustbox/trim.tex
+share/texmf-dist/tex/latex/adjustbox/trim2.tex
+share/texmf-dist/tex/latex/adjustbox/trim3.tex
+share/texmf-dist/tex/latex/adjustbox/trimclip.sty
+share/texmf-dist/tex/latex/adjustbox/viewport.tex
+share/texmf-dist/tex/latex/adjustbox/viewport2.tex
diff -r c37c505ac619 -r 30f0370ebe39 print/tex-adjustbox/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-adjustbox/distinfo      Tue Feb 10 02:48:09 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/10 02:48:09 mef Exp $
+
+SHA1 (adjustbox.zip) = f61c599981e4ab0f70342bc8c0c3b120b87a0c10
+RMD160 (adjustbox.zip) = 166ba7f5691e51227e95be480ad904bd45064d29
+Size (adjustbox.zip) = 808005 bytes



Home | Main Index | Thread Index | Old Index