[20598] trunk/dports/www/elinks/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 8 12:33:44 PST 2006


Revision: 20598
          http://trac.macosforge.org/projects/macports/changeset/20598
Author:   mas at macports.org
Date:     2006-11-08 12:33:44 -0800 (Wed, 08 Nov 2006)

Log Message:
-----------
Closes #10990. Add variant +col256 for 256 colour support.

Modified Paths:
--------------
    trunk/dports/www/elinks/Portfile

Modified: trunk/dports/www/elinks/Portfile
===================================================================
--- trunk/dports/www/elinks/Portfile	2006-11-08 20:30:32 UTC (rev 20597)
+++ trunk/dports/www/elinks/Portfile	2006-11-08 20:33:44 UTC (rev 20598)
@@ -19,6 +19,12 @@
 
 depends_lib      port:openssl port:zlib port:bzip2 port:expat
 
+variant col256 {
+	post-extract {
+		reinplace "s|CONFIG_256_COLORS=no|CONFIG_256_COLORS=yes|" ${worksrcpath}/features.conf
+	}
+}
+
 configure.args   --mandir=${prefix}/share/man \
                  --disable-nls \
                  --without-guile --without-lua --without-gnutls \

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


More information about the macports-changes mailing list