[126878] trunk/dports/python/py-chm/Portfile

larryv at macports.org larryv at macports.org
Thu Oct 16 13:36:03 PDT 2014


Revision: 126878
          https://trac.macports.org/changeset/126878
Author:   larryv at macports.org
Date:     2014-10-16 13:36:03 -0700 (Thu, 16 Oct 2014)
Log Message:
-----------
py-chm: Add modeline, rearrange, and reformat

Modified Paths:
--------------
    trunk/dports/python/py-chm/Portfile

Modified: trunk/dports/python/py-chm/Portfile
===================================================================
--- trunk/dports/python/py-chm/Portfile	2014-10-16 20:36:01 UTC (rev 126877)
+++ trunk/dports/python/py-chm/Portfile	2014-10-16 20:36:03 UTC (rev 126878)
@@ -1,33 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-PortGroup python 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name			py-chm
-version			0.8.4
-revision                1
-categories		python textproc
-platforms		darwin
-maintainers		nomaintainer
-description		PyCHM is a set of Python bindings for Jed Wing's chmlib.
-long_description	${description}
+name                py-chm
+version             0.8.4
+revision            1
+categories-append   textproc
+platforms           darwin
+maintainers         nomaintainer
 
-homepage		http://gnochm.sourceforge.net/pychm.html
-master_sites	sourceforge:gnochm
-distname		pychm-${version}
-checksums		sha1 73104f4a351dc1450a16f07680d772817b05442d
+description         PyCHM is a set of Python bindings for Jed Wing's chmlib.
+long_description    ${description}
+homepage            http://gnochm.sourceforge.net/pychm.html
 
-python.versions	24 25 26 27
+master_sites        sourceforge:gnochm
+distname            pychm-${version}
+checksums           sha1 73104f4a351dc1450a16f07680d772817b05442d
 
+python.versions     24 25 26 27
+
 if {${name} ne ${subport}} {
-    depends_lib-append	port:chmlib
+    depends_lib-append  port:chmlib
 
-    patchfiles          patch-no-inline.diff
+    patchfiles      patch-no-inline.diff
 
-    build.env	CFLAGS=-I${prefix}/include \
-				LDFLAGS=-L${prefix}/lib
+    build.env       CFLAGS=-I${prefix}/include \
+                    LDFLAGS=-L${prefix}/lib
 
-    post-destroot	{
+    post-destroot {
         xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog NEWS README \
             ${destroot}${prefix}/share/doc/${subport}
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141016/b185e37d/attachment.html>


More information about the macports-changes mailing list