source: trunk/dports/python/py-libxslt/Portfile @ 28206

Last change on this file since 28206 was 28206, checked in by sfiera@…, 13 years ago

Fixing port lint, obscuring maintainer addresses on my ports, plus a couple of unmaintained ones I was last to commit to.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 28206 2007-08-24 17:24:55Z sfiera@macports.org $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-libxslt
7version                 2.6.21
8categories              python textproc
9platforms               darwin
10maintainers             sfiera openmaintainer
11description             Python bindings for libxslt
12long_description        ${description}
13
14homepage                http://xmlsoft.org/
15master_sites            ftp://xmlsoft.org/libxml2/python/
16distname                libxml2-python-${version}
17checksums               md5 229dd2b3d110a77defeeaa73af83f7f3
18patchfiles              patch-setup.py.diff
19
20depends_lib-append      port:libxslt \
21                        port:py-libxml2 \
22                        port:zlib
23
24build.env               LDFLAGS=-L${prefix}/lib
25
26post-patch {
27  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
28}
29
30post-destroot {
31  # strip out anything not related to libxslt, so py-libxml2 doesn't conflict
32  # with py-libxml2
33  cd ${destroot}
34  fs-traverse file . {
35    if {[file isfile ${file}]} {
36      if {![string match "*xslt*" ${file}]} {
37          file delete ${file}
38      }
39    }
40  }
41}
42
43livecheck.check         md5
44livecheck.url           ftp://xmlsoft.org/libxml2/python/
45livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11
Note: See TracBrowser for help on using the repository browser.