You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name socket
|
|
version 1.4
|
|
categories net
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
description an interface to TCP sockets at shell level
|
|
long_description \
|
|
Socket(1) implements an interface to TCP sockets at shell level. Client and server sockets can be used from shell scripts or interactively. Socket can also run a program with stdin, stdout, and stderr connected to the socket connection. A number of sample shell scripts are included.
|
|
|
|
homepage http://www.jnickelsen.de/socket/
|
|
master_sites ${homepage}
|
|
checksums md5 cab42be83b4c0aa42819cc95734c0c58 \
|
|
sha1 52562b2600f7b214e8200db0ef43a395b7a6ccd7 \
|
|
rmd160 f1fc8dd7574bc161b74f55a1e9c4893f43a451cc
|
|
|
|
use_configure no
|
|
patchfiles patch-Makefile.diff
|
|
|
|
post-patch {
|
|
reinplace "s,@prefix@,${destroot}${prefix}," ${worksrcpath}/Makefile
|
|
reinplace "s,@cflags@,[get_canonical_archflags cc]," ${worksrcpath}/Makefile
|
|
reinplace "s,@ldflags@,[get_canonical_archflags ld]," ${worksrcpath}/Makefile
|
|
}
|
|
|
|
build.args CC=${configure.cc}
|
|
|
|
variant universal {}
|