Ticket #47100: Portfile

File Portfile, 1.0 KB (added by jul_bsd@…, 9 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6PortGroup           python 1.0
7
8name                py-maec
9version             4.1.0.11
10license             BSD
11maintainers         nomaintainer
12description         An API for parsing and creating MAEC content.
13long_description    ${description}
14platforms           darwin
15homepage            https://pypi.python.org/pypi/maec
16master_sites        https://pypi.python.org/packages/source/m/maec/
17distname            maec-${version}
18
19checksums           rmd160  21f1104857b30e21cbf8af7fc27e4756e740d392 \
20                    sha256  e0832611f68336a997d2be61980e7f1c29827df218be9277f6357f24649fb970
21
22python.versions     27 34
23python.default_version     27
24
25if {${name} ne ${subport}} {
26    depends_build       port:py${python.version}-lxml port:py${python.version}-cybox
27}
28
29livecheck.type      regex
30livecheck.url       ${homepage}
31livecheck.regex     "maec-(\\d+\\.\\d+\\.\\d+\\.\\d+).tar.gz"
32