Files

50 lines
1.8 KiB
Tcl

# -*- 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
PortGroup github 1.0
PortGroup openssl 1.0
openssl.branch 1.0
github.setup nark wire 31e7093bbd19ae0d354f044cb70ef39d9427b669
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 2014.04.22
revision 1
categories net
maintainers nomaintainer
license BSD
description wire is an UNIX command-line client for the Wired 2.0 protocol
long_description {*}${description}
homepage https://wired.read-write.fr/products/wire
checksums rmd160 962c0b0466cf77d9f143851e7533d5a8bda9fec6 \
sha256 c1e2d40d7f38f86efb781269bd20484db44ad77302726ffbe130e343b04e6b24 \
size 129572
use_autoreconf yes
autoreconf.args -vi
configure.checks.implicit_function_declaration.whitelist-append strchr
depends_build-append port:pkgconfig
depends_lib-append port:libiconv \
port:libwired \
port:libxml2 \
port:ncurses \
port:readline \
port:sqlite3
patchfiles patch-configure.ac.diff \
patch-makefile.in.diff
post-extract {
copy ${filespath}/config.m4 ${worksrcpath}/libwired
}
post-patch {
reinplace -W ${worksrcpath} "s|__PREFIX__|${prefix}|g" Makefile.in libwired/config.m4
reinplace -W ${worksrcpath} "s|__DESTROOT__|${destroot}|g" Makefile.in
# https://github.com/nark/wire/issues/10
delete ${worksrcpath}/config.guess ${worksrcpath}/config.sub ${worksrcpath}/install-sh
}