[78337] trunk/dports/editors/jed/Portfile

jmr at macports.org jmr at macports.org
Tue May 3 20:12:49 PDT 2011


Revision: 78337
          http://trac.macports.org/changeset/78337
Author:   jmr at macports.org
Date:     2011-05-03 20:12:49 -0700 (Tue, 03 May 2011)
Log Message:
-----------
jed: add x11 variant (#24311)

Modified Paths:
--------------
    trunk/dports/editors/jed/Portfile

Modified: trunk/dports/editors/jed/Portfile
===================================================================
--- trunk/dports/editors/jed/Portfile	2011-05-04 01:38:42 UTC (rev 78336)
+++ trunk/dports/editors/jed/Portfile	2011-05-04 03:12:49 UTC (rev 78337)
@@ -39,6 +39,9 @@
 
 destroot {
     xinstall ${worksrcpath}/src/objs/jed ${destroot}${prefix}/bin
+    if {[variant_isset x11]} {
+        xinstall ${worksrcpath}/src/objs/xjed ${destroot}${prefix}/bin
+    }
 
     xinstall ${worksrcpath}/doc/manual/jed.1 ${destroot}${prefix}/share/man/man1/
 
@@ -64,6 +67,12 @@
     }
 }
 
+variant x11 description {Build xjed} {
+    depends_lib-append port:Xft2
+    configure.args-append --with-x
+    build.target-append xjed
+}
+
 livecheck.type              regex
 livecheck.url               ${homepage}download.html
 livecheck.regex             { is ([0-9.-]+) }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110503/2492da33/attachment.html>


More information about the macports-changes mailing list