Files
Ryan Schmidt ca5e9b42d4 netpipes: Fix flags, universal, implicit functions
Use the right compiler and MacPorts flags and add universal variant.

Fix implicit declaration of string functions.

Closes: https://trac.macports.org/ticket/61670

And modernize checksums.
2020-12-07 03:17:10 -06:00

44 lines
1.5 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
name netpipes
version 4.2
revision 1
checksums rmd160 26c982c0b9e4382d96335f10a5e54813f776db29 \
sha256 6eed89b661ae9f2ac0d383414ca964abea8a115f8fba0f7ab37b49b565ffb2a8 \
size 74977
categories net sysutils
platforms darwin
maintainers nomaintainer
license GPL-2+
description utilities that provide the functionality of pipes over a network
long_description Netpipes is a collection of utilities which attempts \
to provide the functionality of pipes over a network.
homepage http://web.purplefrog.com/~thoth/netpipes/netpipes.html
master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/kris/
distname ${distname}-export
extract.mkdir yes
patchfiles implicit.patch
use_configure no
variant universal {}
build.args CC=${configure.cc} \
CDEBUGFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
LDLIBS="${configure.ldflags} [get_canonical_archflags ld]"
destroot.destdir INSTROOT=${destroot}${prefix} \
INSTMAN=${destroot}${prefix}/share/man
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9.\]+)-export${extract.suffix}$
livecheck.type regex