[21170] trunk/dports/textproc/lhs2tex/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 10 12:56:50 PST 2007


Revision: 21170
          http://trac.macosforge.org/projects/macports/changeset/21170
Author:   gwright at macports.org
Date:     2007-01-10 12:56:50 -0800 (Wed, 10 Jan 2007)

Log Message:
-----------
Version bump to 1.12.

Modified Paths:
--------------
    trunk/dports/textproc/lhs2tex/Portfile

Modified: trunk/dports/textproc/lhs2tex/Portfile
===================================================================
--- trunk/dports/textproc/lhs2tex/Portfile	2007-01-10 20:31:05 UTC (rev 21169)
+++ trunk/dports/textproc/lhs2tex/Portfile	2007-01-10 20:56:50 UTC (rev 21170)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name		lhs2tex
-version		1.11
-revision	1
+version		1.12
 categories	print textproc
 platforms	darwin
 maintainers	gwright at macports.org
@@ -17,25 +16,26 @@
 
 use_bzip2	yes
 
-checksums	md5 16fb6a150bc1ab5e22c66f52f11cec54
+checksums	md5 28128946bbae640c28ac3f97f07841c5
 
 depends_build	port:ghc	\
 		port:teTeX
 
-patchfiles	patch-config.mk.in
+configure	{ cd ${worksrcpath}
+		  system "runhaskell Setup configure --ghc --prefix=${prefix}"
+		}
 
-post-destroot	{ xinstall -d -m 755 ${destroot}${prefix}/share/${name}/doc
-		  xinstall -c -m 644 ${worksrcpath}/doc/Guide2.pdf \
-				     ${destroot}${prefix}/share/${name}/doc
+build		{ cd ${worksrcpath}
+		  system "runhaskell Setup build -v"
 		}
 
-# run mktexlsr so the polytable files are found, then remind the
-# user to set the LHS2TEX environment variable:
+destroot	{ cd ${worksrcpath}
+		  system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
+		}
 
-post-activate	{ system "mktexlsr"
+#post-destroot	{ xinstall -d -m 755 ${destroot}${prefix}/share/${name}/doc
+#		  file rename ${destroot}${prefix}/share/doc/Guide2.pdf \
+#			      ${destroot}${prefix}/share/${name}/doc
+#		  file delete ${destroot}${prefix}/share/doc
+#		}
 
-		  ui_msg "You must set the environment variable LHS2TEX to"
-		  ui_msg "${prefix}/share/lhs2tex so that the lhs2tex binary"
-		  ui_msg "can find its style files."
-		}
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070110/0329484e/attachment.html


More information about the macports-changes mailing list