source: trunk/dports/net/socket/Portfile

Last change on this file was 125003, checked in by mf2k@…, 3 years ago

bastet cgit lastfmsubmitd lastmp libdlna libgcrypt libtasn1 libupnp libxslt mpd-devel opencdk pngpp py-fuse py-libxml2 py-mpdclient2 py-mutagen py-sclapp py24-libxslt py25-libxslt py26-libxslt py27-libxslt robotfindskitten scmpc socket ushare: Ports abandoned by sfiera. (#44785)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
2# $Id: Portfile 125003 2014-09-02 15:02:29Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                socket
7version             1.4
8categories          net
9platforms           darwin
10maintainers         nomaintainer
11description         an interface to TCP sockets at shell level
12long_description \
13    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.
14
15homepage            http://www.jnickelsen.de/socket/
16master_sites        ${homepage}
17checksums           md5     cab42be83b4c0aa42819cc95734c0c58 \
18                    sha1    52562b2600f7b214e8200db0ef43a395b7a6ccd7 \
19                    rmd160  f1fc8dd7574bc161b74f55a1e9c4893f43a451cc
20
21use_configure       no
22patchfiles          patch-Makefile.diff
23
24post-patch {
25    reinplace "s,@prefix@,${destroot}${prefix}," ${worksrcpath}/Makefile
26    if { [variant_isset universal] } {
27        reinplace "s,@cflags@,${configure.universal_cflags}," ${worksrcpath}/Makefile
28        reinplace "s,@ldflags@,${configure.universal_ldflags}," ${worksrcpath}/Makefile
29    } else {
30        reinplace "s,@cflags@,," ${worksrcpath}/Makefile
31        reinplace "s,@ldflags@,," ${worksrcpath}/Makefile
32    }
33}
34
35build.args          CC=${configure.cc}
36
37variant universal {}
Note: See TracBrowser for help on using the repository browser.