ports/73468: Update port: print/latex2slides to 1.0

KATO Tsuguru tkato432 at yahoo.com
Wed Nov 3 16:10:25 UTC 2004


>Number:         73468
>Category:       ports
>Synopsis:       Update port: print/latex2slides to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 03 16:10:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/latex2slides/Makefile print/latex2slides/Makefile
--- /usr/ports/print/latex2slides/Makefile	Sat Apr 12 23:14:55 2003
+++ print/latex2slides/Makefile	Mon Nov  1 20:49:08 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	latex2slides
-PORTVERSION=	0.8.1
+PORTVERSION=	1.0
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,21 +16,24 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Produces a set of HTML/JPEG slides from a TeX or LaTeX source
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick \
 		dvips:${PORTSDIR}/print/teTeX \
-		convert:${PORTSDIR}/graphics/ImageMagick
+		${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
 
 USE_REINPLACE=	yes
 USE_PYTHON=	yes
 NO_BUILD=	yes
+PLIST_SUB=	PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
 
 MANCOMPRESSED=	yes
-MAN1=	latex2slides.1
+MAN1=		latex2slides.1
 
 post-patch:
-	@${REINPLACE_CMD} -e "s,/usr,${PREFIX},g ; \
-		s,share/man,man,g" ${WRKSRC}/install
-	@${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
+.for file in install latex2slides
+	@${REINPLACE_CMD} -e "s,'/usr/bin/,'${PREFIX}/bin/,g ; \
+		 s,'/usr/share/latex2slides/,'${DATADIR}/,g ; \
+		 s,'/usr/share/man/,'${MANPREFIX}/man/,g" ${WRKSRC}/${file}
+.endfor
 
 do-install:
 	@(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)
diff -urN /usr/ports/print/latex2slides/distinfo print/latex2slides/distinfo
--- /usr/ports/print/latex2slides/distinfo	Fri Jan 30 14:53:43 2004
+++ print/latex2slides/distinfo	Mon Nov  1 20:35:55 2004
@@ -1,2 +1,2 @@
-MD5 (latex2slides-0.8.1.tgz) = da72068e03a9e6d7a6b682bc32750f59
-SIZE (latex2slides-0.8.1.tgz) = 47113
+MD5 (latex2slides-1.0.tgz) = 2a322fce5ff82c32696f2c283002f446
+SIZE (latex2slides-1.0.tgz) = 52488
diff -urN /usr/ports/print/latex2slides/pkg-plist print/latex2slides/pkg-plist
--- /usr/ports/print/latex2slides/pkg-plist	Fri May 24 00:15:46 2002
+++ print/latex2slides/pkg-plist	Mon Nov  1 20:46:33 2004
@@ -1,28 +1,29 @@
 bin/latex2slides
-share/latex2slides/latex2slides-0.8.1/doc/documentation.html
-share/latex2slides/latex2slides-0.8.1/doc/faq.html
-share/latex2slides/latex2slides-0.8.1/doc/logo.jpg
-share/latex2slides/latex2slides-0.8.1/doc/manual.html
-share/latex2slides/latex2slides-0.8.1/doc/style.css
-share/latex2slides/latex2slides-0.8.1/icons/README
-share/latex2slides/latex2slides-0.8.1/icons/first.jpg
-share/latex2slides/latex2slides-0.8.1/icons/first.png
-share/latex2slides/latex2slides-0.8.1/icons/index.jpg
-share/latex2slides/latex2slides-0.8.1/icons/index.png
-share/latex2slides/latex2slides-0.8.1/icons/last.ico
-share/latex2slides/latex2slides-0.8.1/icons/last.jpg
-share/latex2slides/latex2slides-0.8.1/icons/last.png
-share/latex2slides/latex2slides-0.8.1/icons/next.ico
-share/latex2slides/latex2slides-0.8.1/icons/next.jpg
-share/latex2slides/latex2slides-0.8.1/icons/next.png
-share/latex2slides/latex2slides-0.8.1/icons/prev.jpg
-share/latex2slides/latex2slides-0.8.1/icons/prev.png
-share/latex2slides/latex2slides-0.8.1/samples/README
-share/latex2slides/latex2slides-0.8.1/samples/landscape.tex
-share/latex2slides/latex2slides-0.8.1/samples/landscape2.tex
-share/latex2slides/latex2slides-0.8.1/samples/portrait.tex
- at dirrm share/latex2slides/latex2slides-0.8.1/doc
- at dirrm share/latex2slides/latex2slides-0.8.1/icons
- at dirrm share/latex2slides/latex2slides-0.8.1/samples
- at dirrm share/latex2slides/latex2slides-0.8.1
- at dirrm share/latex2slides
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/documentation.html
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/faq.html
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/latex2slides.1.html
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/logo.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/manual.html
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc/style.css
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/README
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/first.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/first.png
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/index.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/index.png
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/last.ico
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/last.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/last.png
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/next.ico
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/next.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/next.png
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/prev.jpg
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons/prev.png
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/samples/README
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/samples/landscape.tex
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/samples/landscape2.tex
+%%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/samples/portrait.tex
+ at dirrm %%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/samples
+ at dirrm %%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/icons
+ at dirrm %%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%/doc
+ at dirrm %%DATADIR%%/%%PORTNAME%%-%%PORTVERSION%%
+ at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list