[90969] trunk/dports/x11/advi/Portfile

jmr at macports.org jmr at macports.org
Tue Mar 20 06:04:24 PDT 2012


Revision: 90969
          https://trac.macports.org/changeset/90969
Author:   jmr at macports.org
Date:     2012-03-20 06:04:24 -0700 (Tue, 20 Mar 2012)
Log Message:
-----------
advi: update to 1.10.2

Modified Paths:
--------------
    trunk/dports/x11/advi/Portfile

Modified: trunk/dports/x11/advi/Portfile
===================================================================
--- trunk/dports/x11/advi/Portfile	2012-03-20 12:24:06 UTC (rev 90968)
+++ trunk/dports/x11/advi/Portfile	2012-03-20 13:04:24 UTC (rev 90969)
@@ -3,9 +3,9 @@
 PortSystem  1.0
 
 name		advi
-version     	1.6.0
-revision	2
+version     	1.10.2
 categories  	x11 graphics
+license     	LGPL
 maintainers 	nomaintainer
 platforms   	darwin
 description 	TeX DVI previewer
@@ -13,23 +13,25 @@
     Active-DVI is an O'Caml Unix-platform DVI previewer and a \
     programmable presenter for slides written in LaTeX.
 
-homepage        http://pauillac.inria.fr/advi/
+homepage        http://advi.inria.fr/
 
-# same format as the original, .tgz
-master_sites	macports
-# master_sites	ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/
-extract.suffix	.tgz
+master_sites	${homepage}
 
 livecheck.type	regex
 livecheck.url	${homepage}
 livecheck.regex	Version (\[0-9.\]+)
 
-checksums	sha1 881b130ad361e803fccebd6cc5a82bd4b90efff2
+checksums	rmd160 7609b68e1a05b1057bb8f5c9e5c413c5d8111263 \
+            sha256 01556d20896db57c1d05961b2dd48a44d2fbca2adb10d4a9ded732bcf6cb0cc6
 
 # you can install hevea if you want additional functionality
 depends_run \
-	bin:tex:texlive
+	path:bin/kpsewhich:texlive-basic
 
+depends_build \
+    port:ocaml-findlib \
+    port:ImageMagick
+
 depends_lib \
 	port:ocaml \
 	port:camlimages \
@@ -37,25 +39,9 @@
 	port:xpm \
 	port:freetype
 
-destroot {
-		xinstall -m 755 -W ${worksrcpath} advi.bin \
-			 ${destroot}${prefix}/bin/advi
-		xinstall -m 755 -W ${worksrcpath} advi.byt \
-			 ${destroot}${prefix}/bin
-		xinstall -d ${destroot}${prefix}/share/texmf/tex/latex/${name}
-		xinstall -m 644 -W ${worksrcpath} doc/splash.dvi \
-			 doc/scratch_write_splash.dvi \
-			 doc/scratch_draw_splash.dvi tex/advilogo.eps \
-			 tex/bar.eps tex/caml.eps tex/advi-annot.sty \
-			 tex/advi-slides.sty tex/argv.sty \
-			 tex/superpose.sty tex/advi-graphicx.sty \
-			 tex/advi.sty tex/bubble.sty \
-			 tex/xwindows-colors.sty \
-			 ${destroot}${prefix}/share/texmf/tex/latex/${name}
-		xinstall -m 444 -W ${worksrcpath} doc/advi.1 \
-			 ${destroot}${prefix}/share/man/man1
+post-activate {
+	system "${prefix}/bin/mktexlsr"
 }
-
-post-install {
-		ui_msg "You should run texhash now."
+post-deactivate {
+    system "${prefix}/bin/mktexlsr"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120320/bca23d6f/attachment.html>


More information about the macports-changes mailing list