source: trunk/dports/security/libevt/Portfile @ 117733

Last change on this file since 117733 was 117733, checked in by ryandesign@…, 6 years ago

libevt: new port, version 20140112 (#42680)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
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: Portfile 117733 2014-03-10 06:44:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libevt
7version             20140112
8categories-append   security
9platforms           darwin
10maintainers         nomaintainer
11license             LGPL-3+
12
13description         Library and tooling to access the Windows Event Log (EVT) format
14
15long_description    ${description}
16
17homepage            https://code.google.com/p/libevt/
18master_sites        https://googledrive.com/host/0B3fBvzttpiiSYm01VnUtLXNUZ2M/
19
20distname            ${name}-alpha-${version}
21worksrcdir          ${name}-${version}
22
23checksums           md5     4a0040f9b941689362b8f48e56ad48e7 \
24                    rmd160  4e40a30f70a053b456619e7d9b9da8a6dddb3079 \
25                    sha256  51499e3e847230333c28ae58290e1a3dbb4ec34aeba2d31a35f3aaed3d64e778
26
27depends_lib         port:gettext
28
29
30
31## => do the manual way, in post-destroot ...
32#post-configure {
33#   ## FIXME! NOK, tons of other file
34#   reinplace "s|PYTHON_PACKAGE_DIR = /Library/Python/2.7/site-packages|PYTHON_PACKAGE_DIR = ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/Makefile
35#
36#}
37
38
39## FIXME: a way to split in two packages: lib and python bindings?
40
41default_variants +debug +python
42
43variant debug description {Enable verbose and debug output} {
44    configure.args-append --enable-verbose-output --enable-debug-output
45}
46
47## FIXME: howto point specific python?
48variant python description {Use python 2.7} {
49    depends_lib-append port:python27
50    configure.args-append --enable-python \
51        --with-pyprefix=`${prefix}/bin/python2.7-config --prefix`
52    post-destroot {
53        xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
54        foreach file [glob -directory ${destroot}/Library/Python/2.7/site-packages *] {
55            move ${file} ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
56        }
57    }
58}
59
60livecheck.type      regex
61livecheck.url       [lindex ${master_sites} 0]
62livecheck.regex     ${name}-alpha-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.