summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2010-09-10 23:56:32 +0000
committerminskim <minskim@pkgsrc.org>2010-09-10 23:56:32 +0000
commit709d2c86593b8b89a14517621d80cfe6c7605b9d (patch)
tree59e47f5ef0ebcba09d0e471d0eb9ded25f6c0bb2 /print
parenta3ecb2fb45f7f9c53919af867d519e97f11c404d (diff)
downloadpkgsrc-709d2c86593b8b89a14517621d80cfe6c7605b9d.tar.gz
Update tex-algorithm2e to 4.01.
Changes between 3.x and 4.x: Some commands have been renamed to have consistent naming (CamlCase syntax) and old commands are no more available. If you doesn't want to change your mind or use old latex files, you can use oldcommands option to enable old commands back. - \SetNoLine becomes \SetAlgoNoLine - \SetVline becomes \SetAlgoVlined - \Setvlineskip becomes \SetVlineSkip - \SetLine becomes \SetAlgoLined - \dontprintsemicolon becomes \DontPrintSemicolon - \printsemicolon becomes \PrintSemicolon - \incmargin becomes \IncMargin - \decmargin becomes \DecMargin - \setnlskip becomes \SetNlSkip - \Setnlskip becomes \SetNlSkip - \setalcapskip becomes \SetAlCapSkip - \setalcaphskip becomes \SetAlCapHSkip - \nlSty becomes \NlSty - \Setnlsty becomes \SetNlSty - \linesnumbered becomes \LinesNumbered - \linesnotnumbered becomes \LinesNotNumbered - \linesnumberedhidden becomes \LinesNumberedHidden - \showln becomes \ShowLn - \showlnlabel becomes \ShowLnLabel - \nocaptionofalgo becomes \NoCaptionOfAlgo - \restorecaptionofalgo becomes \RestoreCaptionOfAlgo - \restylealgo becomes \RestyleAlgo - gIf macros and so on do no more exist
Diffstat (limited to 'print')
-rw-r--r--print/tex-algorithm2e/DESCR13
-rw-r--r--print/tex-algorithm2e/Makefile34
-rw-r--r--print/tex-algorithm2e/PLIST15
-rw-r--r--print/tex-algorithm2e/distinfo8
4 files changed, 26 insertions, 44 deletions
diff --git a/print/tex-algorithm2e/DESCR b/print/tex-algorithm2e/DESCR
index a21b5d45805..ce838ca02cb 100644
--- a/print/tex-algorithm2e/DESCR
+++ b/print/tex-algorithm2e/DESCR
@@ -1,5 +1,8 @@
-Algorithm2e is an environment for writing algorithms in LaTeX2e.
-An algorithm is defined as a floating object like figures. It
-provides macros that allow you to create different sorts of key
-words, thus a set of predefined key words is given. You can
-also change the typography of the keywords.
+Algorithm2e is an environment for writing algorithms. An algorithm
+becomes a floating object (like figure, table, etc.). The package
+provides macros that allow you to create different keywords, and a set
+of predefined key words is provided; you can change the typography of
+the keywords. The package allows vertical lines delimiting a block of
+instructions in an algorithm, and defines different sorts of algorithms
+such as Procedure or Function; the name of these functions may be reused
+in the text or in other algorithms.
diff --git a/print/tex-algorithm2e/Makefile b/print/tex-algorithm2e/Makefile
index 4e69fca1fc4..7cac366e01f 100644
--- a/print/tex-algorithm2e/Makefile
+++ b/print/tex-algorithm2e/Makefile
@@ -1,29 +1,19 @@
-# $NetBSD: Makefile,v 1.3 2009/07/22 09:01:43 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2010/09/10 23:56:32 minskim Exp $
DISTNAME= algorithm2e
-PKGNAME= tex-${DISTNAME}-3.9
-CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
-EXTRACT_SUFX= .zip
+PKGNAME= tex-${DISTNAME}-4.01
+TEXLIVE_REV= 16417
MAINTAINER= jmmv@NetBSD.org
-HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithm2e.html
-COMMENT= Environment for writing algorithms
+COMMENT= Floating algorithm environment with algorithmic keywords
-PKG_DESTDIR_SUPPORT= user-destdir
-
-NO_BUILD= yes
-
-.include "../../print/teTeX/module.mk"
-
-do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
- ${INSTALL_DATA} ${WRKSRC}/algorithm2e.pdf \
- ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
- ${INSTALL_DATA} ${WRKSRC}/algorithm2e_ex*.tex \
- ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e
- ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e
- ${INSTALL_DATA} ${WRKSRC}/algorithm2e.sty \
- ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e
+DEPENDS+= tex-endfloat-[0-9]*:../../print/tex-endfloat
+DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
+DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
+DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+DEPENDS+= tex-relsize-[0-9]*:../../print/tex-relsize
+DEPENDS+= tex-tocbibind-[0-9]*:../../print/tex-tocbibind
+DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
+.include "../../print/texlive/package.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-algorithm2e/PLIST b/print/tex-algorithm2e/PLIST
index 4c83b5a0b1b..d14521f3389 100644
--- a/print/tex-algorithm2e/PLIST
+++ b/print/tex-algorithm2e/PLIST
@@ -1,13 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:12:00 joerg Exp $
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e.pdf
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex01.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex02.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex03.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex04.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex05.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex06.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_ex07.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_exfor.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_exrepeat.tex
-${PKG_LOCALTEXMFPREFIX}/doc/latex/algorithm2e/algorithm2e_exswitch.tex
-${PKG_LOCALTEXMFPREFIX}/tex/latex/algorithm2e/algorithm2e.sty
+@comment $NetBSD: PLIST,v 1.3 2010/09/10 23:56:32 minskim Exp $
+share/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
diff --git a/print/tex-algorithm2e/distinfo b/print/tex-algorithm2e/distinfo
index de4bd9cf07c..1bec6f8652d 100644
--- a/print/tex-algorithm2e/distinfo
+++ b/print/tex-algorithm2e/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/05/28 14:07:16 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2010/09/10 23:56:32 minskim Exp $
-SHA1 (algorithm2e.zip) = 3649e1497df65feac58eab141c1d72cb2a276330
-RMD160 (algorithm2e.zip) = 4e40518352a9ed9ad817a689fce18286db337a90
-Size (algorithm2e.zip) = 290230 bytes
+SHA1 (tex-algorithm2e-16417/algorithm2e.tar.xz) = 0307c85c3e848da4453e755fbfec3bc463918084
+RMD160 (tex-algorithm2e-16417/algorithm2e.tar.xz) = 0ca79b12f03e8e43dade9f1f07efdbbafec28ced
+Size (tex-algorithm2e-16417/algorithm2e.tar.xz) = 25168 bytes