blob: 3388c9366a3b377ffdc85446868921a00c3af304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# -*- 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
name ledger-devel
version 3.0.0-20100615
homepage http://www.newartisans.com/software/ledger.html
categories finance
description A command-line, double-entry accounting tool.
long_description Ledger is a powerful, double-entry accounting system that \
is accessed from the UNIX command-line.
maintainers newartisans.com:johnw
platforms darwin
use_bzip2 yes
master_sites http://ftp.newartisans.com/pub/ledger/
distname ledger-${version}
checksums md5 980e819c4cb68b8777849a44316e0edc \
sha1 ff1b281ce6ddfeb5814ce59bd4d69b97ddb21f7e \
rmd160 a40e64bf21c9c132619b0921dee0e12299e3938a
depends_build port:automake \
port:autoconf \
port:libtool
depends_lib port:gettext \
port:gmp \
port:mpfr \
port:boost \
port:libedit
configure.args --with-extra-includes=${prefix}/include \
--with-extra-libs=${prefix}/lib
build.args DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs
destroot.args DESTDIR=${destroot}${prefix} \
DYLD_LIBRARY_PATH=${worksrcpath}/ledger/.libs \
docprefix=${destroot}/share/doc
variant debug description {Enable debug mode} {
configure.args-append --enable-debug=yes
}
variant icu description {Enable full Unicode support} {
if {[variant_isset python25]} {
depends_lib-delete port:boost+python25
depends_lib-append port:boost+icu+python25
} elsif {[variant_isset python26]} {
depends_lib-delete port:boost+python26
depends_lib-append port:boost+icu+python26
} else {
depends_lib-delete port:boost
depends_lib-append port:boost+icu
}
}
variant python25 description {build python 2.5 support} conflicts python26 {
set pyversion 2.5
if {[variant_isset icu]} {
depends_lib-delete port:boost+icu
depends_lib-append port:boost+icu+python25
} else {
depends_lib-delete port:boost
depends_lib-append port:boost+python25
}
depends_lib-append port:python25
}
variant python26 description {build python 2.6 support} conflicts python25 {
set pyversion 2.6
if {[variant_isset icu]} {
depends_lib-delete port:boost+icu
depends_lib-append port:boost+icu+python26
} else {
depends_lib-delete port:boost
depends_lib-append port:boost+python26
}
depends_lib-append port:python26
}
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.-\]+)\\.tar
|