source: trunk/dports/archivers/arj/Portfile

Last change on this file was 135125, checked in by ryandesign@…, 2 years ago

arj: remove unneeded libtool dependencies

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 135125 2015-04-15 20:19:22Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                arj
7version             3.10.22
8revision            1
9categories          archivers sysutils
10platforms           darwin
11description         create and extract files from dos .arj archives
12license             GPL-2
13maintainers         snc openmaintainer
14long_description    ${description}
15homepage            http://arj.sourceforge.net/
16master_sites        sourceforge:arj
17use_autoconf        yes
18autoconf.dir        ${worksrcpath}/gnu
19configure.dir       ${autoconf.dir}
20
21checksums           rmd160  80f8a1a8cd203f73def8e957d96563a4dba80153 \
22                    sha256  589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db
23
24patchfiles          patch-configure.in patch-environ.c \
25                    patch-makefile.in patch-postproc.c \
26                    patch-uxspec.c
27
28post-patch {
29    # as: Flag option -o has already been seen!
30    reinplace {s|-o$@|-o $@|g} ${worksrcpath}/gnu/makefile.in
31
32    # strnlen() is already defined
33    platform darwin {
34        if {${os.major} > 10} {
35            reinplace s|strnlen|arjstrnlen|g ${worksrcpath}/fardata.c
36        }
37    }
38
39}
40
41pre-configure {
42    xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${autoconf.dir}
43}
44
45build.target        prepare all
46build.args          CC="${configure.cc} [get_canonical_archflags]"
47
48livecheck.type      regex
49livecheck.url       ${homepage}
50livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
51
52use_parallel_build  no
Note: See TracBrowser for help on using the repository browser.