summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2015-02-10 02:48:09 +0000
committermef <mef@pkgsrc.org>2015-02-10 02:48:09 +0000
commit0249791841f67ef7db1aec9fbaee33ce5609b539 (patch)
treedafaf7c6fc1d1112caf8b56c6ecfe57d9b61e7e7 /print
parenta7664d52adfbd94cde7415e98663e9e90cf67443 (diff)
downloadpkgsrc-0249791841f67ef7db1aec9fbaee33ce5609b539.tar.gz
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 (limited to 'print')
-rw-r--r--print/tex-adjustbox/DEINSTALL2
-rw-r--r--print/tex-adjustbox/DESCR12
-rw-r--r--print/tex-adjustbox/INSTALL2
-rw-r--r--print/tex-adjustbox/Makefile46
-rw-r--r--print/tex-adjustbox/PLIST16
-rw-r--r--print/tex-adjustbox/distinfo5
6 files changed, 83 insertions, 0 deletions
diff --git a/print/tex-adjustbox/DEINSTALL b/print/tex-adjustbox/DEINSTALL
new file mode 100644
index 00000000000..b6ae17416b0
--- /dev/null
+++ b/print/tex-adjustbox/DEINSTALL
@@ -0,0 +1,2 @@
+#!/bin/sh
+texhash
diff --git a/print/tex-adjustbox/DESCR b/print/tex-adjustbox/DESCR
new file mode 100644
index 00000000000..6ad3fbc2933
--- /dev/null
+++ b/print/tex-adjustbox/DESCR
@@ -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 --git a/print/tex-adjustbox/INSTALL b/print/tex-adjustbox/INSTALL
new file mode 100644
index 00000000000..b6ae17416b0
--- /dev/null
+++ b/print/tex-adjustbox/INSTALL
@@ -0,0 +1,2 @@
+#!/bin/sh
+texhash
diff --git a/print/tex-adjustbox/Makefile b/print/tex-adjustbox/Makefile
new file mode 100644
index 00000000000..a6c34fd338a
--- /dev/null
+++ b/print/tex-adjustbox/Makefile
@@ -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
+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 --git a/print/tex-adjustbox/PLIST b/print/tex-adjustbox/PLIST
new file mode 100644
index 00000000000..429bfb5c7df
--- /dev/null
+++ b/print/tex-adjustbox/PLIST
@@ -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 --git a/print/tex-adjustbox/distinfo b/print/tex-adjustbox/distinfo
new file mode 100644
index 00000000000..635439cde63
--- /dev/null
+++ b/print/tex-adjustbox/distinfo
@@ -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