Source
xxxxxxxxxx
# -*- 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
PortSystem 1.0
name elinks-devel
conflicts elinks
version 0.12pre6
revision 3
categories www
maintainers nomaintainer
platforms darwin
description Full-Featured Text WWW Browser
long_description ELinks is an advanced and well-established \
feature-rich text mode web (HTTP/FTP/..) browser.
license GPL-2
homepage http://elinks.or.cz/
depends_build port:pkgconfig
depends_lib port:bzip2 \
port:expat \
port:gettext \
port:libiconv \
port:libidn \
path:lib/libssl.dylib:openssl \
port:spidermonkey \
port:tre \
port:zlib
distname elinks-${version}
master_sites ${homepage}download/
checksums rmd160 68703f9fa8862c243a8083833d8447d4e09280ff \
sha256 c0b3a7871f4aea954b0a66d5bbc6ce6de55ad17aa25aba3987f775707067c800
patchfiles patch-Makefile.lib.diff \
patch-configure.diff
variant universal {}
post-patch {
reinplace "s|@ARCHS@|[get_canonical_archflags]|g" ${worksrcpath}/Makefile.lib
}
configure.args --disable-256-colors \
--disable-88-colors \
--disable-debug \
--disable-fsp \
--disable-smb \
--disable-true-color \
--enable-bittorrent \
--enable-cgi \
--enable-exmode \
--enable-finger \
--enable-gopher \
--enable-html-highlight \
--enable-nntp \
--with-idn \
--with-libiconv \
--with-openssl \
--with-spidermonkey=${prefix} \
--with-tre \
--without-gc \
--without-gnutls \
--without-gpm \
--without-gssapi \
--without-guile \
--without-lua \
--without-lzma \
--without-perl \
--without-python \
--without-ruby \
--without-see \
--without-x \
--without-xterm
if {${os.major} < 11 || ${os.platform} ne "darwin"} {
configure.args-delete --without-gc
configure.args-append --with-gc
depends_lib-append path:include/gc.h:boehmgc
}
use_parallel_build no
# elinks-0.12pre5/src/ecmascript/Makefile needs GNU Make 3.81 or later
# due to the "else" followed by a conditional.
platform darwin 8 {
depends_build-append port:gmake
build.cmd ${prefix}/bin/gmake
}
compiler.blacklist llvm-gcc-4.2