[136535] trunk/dports/irc/xchat2/Portfile

larryv at macports.org larryv at macports.org
Wed May 20 21:42:44 PDT 2015


Revision: 136535
          https://trac.macports.org/changeset/136535
Author:   larryv at macports.org
Date:     2015-05-20 21:42:44 -0700 (Wed, 20 May 2015)
Log Message:
-----------
xchat2: Rearrange and reformat (NFC)

Modified Paths:
--------------
    trunk/dports/irc/xchat2/Portfile

Modified: trunk/dports/irc/xchat2/Portfile
===================================================================
--- trunk/dports/irc/xchat2/Portfile	2015-05-21 02:19:13 UTC (rev 136534)
+++ trunk/dports/irc/xchat2/Portfile	2015-05-21 04:42:44 UTC (rev 136535)
@@ -6,79 +6,87 @@
 name                xchat2
 version             2.8.8
 revision            9
-set branch          [join [lrange [split ${version} .] 0 1] .]
+set branch [join [lrange [split ${version} .] 0 1] .]
 categories          irc
+platforms           darwin
+license             GPL-2+
 maintainers         nomaintainer
+
 description         GTK+2 IRC client
+long_description    XChat2 is a graphical IRC client based on GTK2 \
+                    that has many features and can be scripted with \
+                    Perl and/or Python.
 homepage            http://www.xchat.org/
-platforms           darwin
-license             GPL-2+
 
-long_description \
-    XChat2 is a graphical IRC client based on GTK2 that has \
-    many features and can be scripted with Perl and/or Python.
+depends_build       port:pkgconfig
+depends_lib         port:gtk2 \
+                    port:libpng \
+                    port:libsexy \
+                    path:bin/perl:perl5
 
 master_sites        http://xchat.org/files/source/${branch}/
 patch_sites         http://xchat.org/files/source/${branch}/patches/
 
 distname            xchat-${version}
 use_bzip2           yes
-
 checksums           md5     6775c44f38e84d06c06c336b32c4a452 \
                     sha1    a4ac161e4e40f4bbabc492675a1ff4380dba8d68 \
                     rmd160  1bc3e0ff00e15c83588dd21a3ef3e8e34f953331
 
-depends_build       port:pkgconfig
-depends_lib         port:gtk2 port:libsexy path:bin/perl:perl5 port:libpng
-
-patchfiles          patch-gtk2.19.7.diff patch-glib-2.32.diff patch-gmodule.diff
-patch.pre_args      -p1
-
 post-extract {
     system "touch ${worksrcpath}/NEWS"
     system "touch ${worksrcpath}/ABOUT-NLS"
 }
 
+patch.pre_args      -p1
+patchfiles          patch-gtk2.19.7.diff \
+                    patch-glib-2.32.diff \
+                    patch-gmodule.diff
+
 use_autoconf        yes
 
-configure.args      --disable-python --disable-mmx --enable-ipv6 \
-                    --disable-openssl --disable-dependency-tracking
+configure.args      --disable-python \
+                    --disable-mmx \
+                    --enable-ipv6 \
+                    --disable-openssl \
+                    --disable-dependency-tracking
+
 universal_variant   no
 
 variant xft conflicts quartz description "Enable Xft2 font support" {
-    configure.args-append --enable-xft
+    configure.args-append   --enable-xft
 }
 
 variant ssl description "Enable SSL using openssl" {
-    configure.args-delete --disable-openssl
-    configure.args-append --enable-openssl
-    depends_lib-append port:openssl
+    configure.args-delete   --disable-openssl
+    configure.args-append   --enable-openssl
+    depends_lib-append      port:openssl
 }
 
 variant quartz conflicts xft {
-    configure.args-append --disable-xlib
+    configure.args-append   --disable-xlib
 }
 
 variant python25 description "Enable Python plugin, using python25" conflicts python26 python27 {
-    configure.args-delete --disable-python
-    configure.args-append --enable-python
-    depends_lib-append port:python25
-    configure.env pythonpath="${prefix}/bin/python2.5"
+    configure.args-delete   --disable-python
+    configure.args-append   --enable-python
+    depends_lib-append      port:python25
+    configure.env           pythonpath="${prefix}/bin/python2.5"
 }
 
 variant python26 description "Enable Python plugin, using python26" conflicts python25 python27 {
-    configure.args-delete --disable-python
-    configure.args-append --enable-python
-    depends_lib-append port:python26
-    configure.env pythonpath="${prefix}/bin/python2.6"
+    configure.args-delete   --disable-python
+    configure.args-append   --enable-python
+    depends_lib-append      port:python26
+    configure.env           pythonpath="${prefix}/bin/python2.6"
 }
 
 variant python27 description "Enable Python plugin, using python27" conflicts python25 python26 {
-    configure.args-delete --disable-python
-    configure.args-append --enable-python
-    depends_lib-append port:python27
-    configure.env pythonpath="${prefix}/bin/python2.7"
+    configure.args-delete   --disable-python
+    configure.args-append   --enable-python
+    depends_lib-append      port:python27
+    configure.env           pythonpath="${prefix}/bin/python2.7"
 }
 
-livecheck.url       http://www.xchat.org/files/source/${branch}/?S=D
-livecheck.regex     xchat-(\[0-9.\]+)${extract.suffix}
+livecheck.url   http://www.xchat.org/files/source/${branch}/?S=D
+livecheck.regex xchat-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150520/febada7f/attachment.html>


More information about the macports-changes mailing list