source: trunk/dports/science/lparse/Portfile

Last change on this file was 134193, checked in by larryv@…, 3 years ago

lparse: Refine universal fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 134193 2015-03-19 23:43:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                lparse
7version             1.1.2
8categories          science math
9maintainers         snc openmaintainer
10license             GPL
11description         prepare variable-free programs for smodels
12long_description    Smodels works with variable-free programs that \
13                    are quite cumbersome to generate by hand. Lparse \
14                    is a front-end that adds variables (and a lot of \
15                    other stuff) to the accepted language and \
16                    generates a variable-free simple logic program \
17                    that can be given to smodels. Lparse also \
18                    implements several other semantics (classical \
19                    negation, partial stable models) by translating \
20                    them into normal logic programs.
21homepage            http://www.tcs.hut.fi/Software/smodels
22
23platforms           darwin
24depends_build       port:bison
25
26master_sites        ${homepage}/src/
27
28checksums           rmd160  131f6ea6235eeb7529d2564bb9ce904e5bc2358a \
29                    sha256  886d29723f7188296e48584a4a32b8f111414acb7ca8490af28ef6b7f1717298
30
31patchfiles          fix-bison-version-detection.patch \
32                    respect-flags.patch \
33                    fix-recursive-make.patch \
34                    avoid-namespace-collisions.patch
35
36# Match default value from configure.
37configure.optflags  -O3
38
39# this configure argument is only used for installing
40configure.pre_args  --prefix=${destroot}${prefix}/bin
41
42# Not a typo; the build system basically thinks it's using a C compiler.
43configure.args     {CC="$CXX"}
44
45# configure doesn't recognize `--disable-dependency-tracking` (#40940).
46configure.universal_args-delete --disable-dependency-tracking
47
48build.target        lparse
49
50livecheck.type      regex
51livecheck.url       ${homepage}
52livecheck.regex     ${name}-(\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.