source: trunk/dports/archivers/ucl/Portfile

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

ucl: add universal variant and fix builds for non-default build_arch; don't look for a Fortran compiler; indicate GPL-2+ license; use unversioned docdir

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 87929 2011-12-13 02:14:34Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               muniversal 1.0
5
6name                    ucl
7version                 1.03
8revision                1
9categories              archivers
10platforms               darwin
11maintainers             nomaintainer
12license                 GPL-2+
13
14description             A data compression library with low memory usage
15
16long_description \
17                                UCL implements a number of compression algorithms that \
18                                achieve an excellent compression ratio while allowing *very* \
19                                fast decompression. Decompression requires no additional memory.
20
21homepage                http://www.oberhumer.com/opensource/ucl/
22master_sites    ${homepage}download/
23
24checksums               md5 852bd691d8abc75b52053465846fba34 \
25                                sha1 5847003d136fbbca1334dd5de10554c76c755f7c \
26                                rmd160 d1b50127d482481c125eabff9a9c157d491c4a6a
27
28configure.args  --enable-shared
29
30configure.env   F77=no
31
32# Because the configure script doesn't save the LDFLAGS MacPorts sets.
33merger_arch_flag        no
34merger_arch_compiler    yes
35if {![variant_isset universal]} {
36        configure.cc-append     [get_canonical_archflags]
37}
38
39post-destroot {
40        set docdir ${prefix}/share/doc/${name}
41        xinstall -d ${destroot}${docdir}
42        xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README THANKS TODO \
43                ${destroot}${docdir}
44}
45
46livecheck.type  regex
47livecheck.url   ${homepage}
48livecheck.regex "Version (\\d+(?:\\.\\d+)*)"
49
Note: See TracBrowser for help on using the repository browser.