[111564] trunk/dports/python/py-gd/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 25 14:31:28 PDT 2013
Revision: 111564
https://trac.macports.org/changeset/111564
Author: ryandesign at macports.org
Date: 2013-09-25 14:31:28 -0700 (Wed, 25 Sep 2013)
Log Message:
-----------
py-gd: whitespace changes and reformatting; add modeline
Modified Paths:
--------------
trunk/dports/python/py-gd/Portfile
Modified: trunk/dports/python/py-gd/Portfile
===================================================================
--- trunk/dports/python/py-gd/Portfile 2013-09-25 21:29:42 UTC (rev 111563)
+++ trunk/dports/python/py-gd/Portfile 2013-09-25 21:31:28 UTC (rev 111564)
@@ -1,38 +1,43 @@
+# -*- 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
+PortSystem 1.0
PortGroup github 1.0
-PortGroup python 1.0
+PortGroup python 1.0
github.setup Solomoriah gdmodule 0.57 v
-name py-gd
-categories-append graphics
-maintainers nomaintainer
-platforms darwin
-description py-gd is a python wrapper for the GD library
-long_description py-gd is a python wrapper for the graphics library GD \
- so you can use python to create/manipulate images \
- (png, jpeg) by drawing lines, text, doing flood-fills, \
- etc.
+name py-gd
+categories-append graphics
+maintainers nomaintainer
+platforms darwin
+description py-gd is a python wrapper for the GD library
+
+long_description py-gd is a python wrapper for the graphics library GD \
+ so you can use python to create/manipulate images \
+ (png, jpeg) by drawing lines, text, doing flood-fills, \
+ etc.
+
checksums rmd160 93ad30d386737014ff33ac393fe3a304c28f3183 \
sha256 b3da19425f2cdcb8bb219a6cebc2b96b1ae3b8b1fb8a1a97a4154164e9b5516a
python.versions 24 25 26 27
if {$subport ne $name} {
- patchfiles patch-Setup.py.diff
-
- depends_lib-append port:gd2 port:giflib
-
- post-patch {
+ patchfiles patch-Setup.py.diff
+
+ depends_lib-append \
+ port:gd2 \
+ port:giflib
+
+ post-patch {
file rename ${worksrcpath}/Setup.py ${worksrcpath}/_Setup.py
file rename ${worksrcpath}/_Setup.py ${worksrcpath}/setup.py
reinplace "s|PREFIX|${prefix}|g" ${worksrcpath}/setup.py
}
-
- build.env LDFLAGS="-L${prefix}/lib"
-
+
+ build.env LDFLAGS="-L${prefix}/lib"
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} README gd-ref.html \
install_notes.html ${destroot}${prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130925/a8ea2cbb/attachment.html>
More information about the macports-changes
mailing list