[26618] trunk/dports/textproc/lout
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 30 16:06:07 PDT 2007
Revision: 26618
http://trac.macosforge.org/projects/macports/changeset/26618
Author: jmpp at macports.org
Date: 2007-06-30 16:06:06 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Commit patch to textproc/lout, per ticket #12209. Closes #12209.
Modified Paths:
--------------
trunk/dports/textproc/lout/Portfile
Added Paths:
-----------
trunk/dports/textproc/lout/files/
trunk/dports/textproc/lout/files/patch-haskellf.diff
trunk/dports/textproc/lout/files/patch-prg2lout.c.diff
Modified: trunk/dports/textproc/lout/Portfile
===================================================================
--- trunk/dports/textproc/lout/Portfile 2007-06-30 19:41:02 UTC (rev 26617)
+++ trunk/dports/textproc/lout/Portfile 2007-06-30 23:06:06 UTC (rev 26618)
@@ -2,9 +2,10 @@
PortSystem 1.0
name lout
version 3.35
+revision 1
categories textproc
platforms darwin freebsd
-maintainers ggreif at gmail.com
+maintainers gmail.com:ggreif
description A text formatting system similar to TeX, but simpler
long_description \
Lout is a text-formatting system and a purely functional programming \
@@ -17,9 +18,12 @@
sha1 4716f76d59d50c96fd4493ebab9120d0461f89ff \
rmd160 88414d1b5aae1f4713d619a3dcee2d0f6df51045
+patchfiles patch-haskellf.diff patch-prg2lout.c.diff
+
use_configure no
build.args PREFIX=${prefix}
destroot.env LOUTLIB=${destroot}${prefix}/lout.lib
destroot.args PREFIX=${destroot}${prefix}
+
Added: trunk/dports/textproc/lout/files/patch-haskellf.diff
===================================================================
--- trunk/dports/textproc/lout/files/patch-haskellf.diff (rev 0)
+++ trunk/dports/textproc/lout/files/patch-haskellf.diff 2007-06-30 23:06:06 UTC (rev 26618)
@@ -0,0 +1,80 @@
+--- include/haskellf.orig 2007-06-29 20:55:40.000000000 +0200
++++ include/haskellf 2007-06-29 20:28:04.000000000 +0200
+@@ -1,12 +1,16 @@
+
+ ###############################################################################
+ # #
+-# Lout @HaskellSetup package for formatting Haskell programs #
++# Lout @HaskellSetup package for formatting Haskell programs #
+ # #
+ # Version 1.0 #
+ # Thorsten Seitz #
+ # 17 December 2001 #
+ # #
++# Version 1.1 #
++# Gabor Greif #
++# 29 June 2007 #
++# #
+ # This package uses a filtered body parameter to convert program source #
+ # code into Lout source. The filter program is prg2lout, which is #
+ # distributed with Lout and should be compiled and installed wherever #
+@@ -33,7 +37,7 @@
+ named fixedtabin { 4 } # tab interval
+ named fixedtabout { 4s } # tab width
+
+- named fixedbraces { Base } # braces face
++ named fixedbraces { Base } # braces face
+ named fixedidentifiers { Base } # identifier face
+ named fixedkeywords { Base } # keyword face
+ named fixedoperators { Base } # operator face
+@@ -42,8 +46,8 @@
+ named fixedcomments { Base } # comment face
+ named fixedlinenumbers { Base } # line numbers face
+
+- named fixedleftbracesformat right @Body { @Body } # left braces format
+- named fixedrightbracesformat right @Body { @Body } # right braces format
++ named fixedleftbracesformat right @Body { @Body } # left braces format
++ named fixedrightbracesformat right @Body { @Body } # right braces format
+ named fixedidentifiersformat right @Body { @Body } # identifier format
+ named fixedkeywordsformat right @Body { @Body } # keyword format
+ named fixedoperatorsformat right @Body { @Body } # operators format
+@@ -61,8 +65,8 @@
+ named varyingtabin { 4 } # tab interval
+ named varyingtabout { 1.5f } # tab width
+
+- named varyingbraces { Base } # braces face
+- named varyingidentifiers { Slope } # identifier face
++ named varyingbraces { Base } # braces face
++ named varyingidentifiers { Slope } # identifier face
+ named varyingkeywords { Bold } # keyword face
+ named varyingoperators { Base } # operator face
+ named varyingnumbers { Base } # number face
+@@ -70,8 +74,8 @@
+ named varyingcomments { Base } # comment face
+ named varyinglinenumbers { Base } # line numbers face
+
+- named varyingleftbracesformat right @Body { @Body } # left braces format
+- named varyingrightbracesformat right @Body { @Body } # right braces format
++ named varyingleftbracesformat right @Body { @Body } # left braces format
++ named varyingrightbracesformat right @Body { @Body } # right braces format
+ named varyingidentifiersformat right @Body { @Body } # identifier format
+ named varyingkeywordsformat right @Body { @Body } # keyword format
+ named varyingoperatorsformat right @Body { @Body } # operators format
+@@ -89,7 +93,7 @@
+ named symboltabin { 4 } # tab interval
+ named symboltabout { 1.7f } # tab width
+
+- named symbolbraces { Base } # braces face
++ named symbolbraces { Base } # braces face
+ named symbolidentifiers { Slope } # identifier face
+ named symbolkeywords { Bold } # keyword face
+ named symboloperators { Symbol Base } # operator face
+@@ -395,7 +399,7 @@
+ def @PC # for formatting comments
+ right x
+ {
+- @PCnoDelim { "{"@Symb minus{x}@Symb minus"}" }
++ @PCnoDelim { "{"{@Symb minus}x{@Symb minus}"}" }
+ }
+
+
Added: trunk/dports/textproc/lout/files/patch-prg2lout.c.diff
===================================================================
--- trunk/dports/textproc/lout/files/patch-prg2lout.c.diff (rev 0)
+++ trunk/dports/textproc/lout/files/patch-prg2lout.c.diff 2007-06-30 23:06:06 UTC (rev 26618)
@@ -0,0 +1,29 @@
+--- prg2lout.c.orig 2007-06-29 20:57:03.000000000 +0200
++++ prg2lout.c 2007-06-29 20:10:36.000000000 +0200
+@@ -586,7 +586,7 @@
+ TOKEN CCharacterToken = {
+ U "character", /* used by error messages involving this token */
+ PRINT_WHOLE_QUOTED, /* print this token in quotes etc. as usual */
+- U "@PC", /* Lout command for formatting characters */
++ U "@PS", /* Lout command for formatting characters */
+ U "", /* no alternate command */
+ U "", /* no following command */
+ FALSE, /* token allowed anywhere, not just start of line */
+@@ -631,7 +631,7 @@
+ TOKEN EiffelCharacterToken = {
+ U "character", /* used by error messages involving this token */
+ PRINT_WHOLE_QUOTED, /* print this token in quotes etc. as usual */
+- U "@PC", /* Lout command for formatting characters */
++ U "@PS", /* Lout command for formatting characters */
+ U "", /* no alternate command */
+ U "", /* no following command */
+ FALSE, /* token allowed anywhere, not just start of line */
+@@ -764,7 +764,7 @@
+ TOKEN HaskellCharacterToken = {
+ U "character", /* used by error messages involving this token */
+ PRINT_WHOLE_QUOTED, /* print this token in quotes etc. as usual */
+- U "@PC", /* Lout command for formatting characters */
++ U "@PS", /* Lout command for formatting characters */
+ U "", /* no alternate command */
+ U "", /* no following command */
+ FALSE, /* token allowed anywhere, not just start of line */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070630/7b2218d4/attachment.html
More information about the macports-changes
mailing list