source: trunk/dports/sysutils/socat/Portfile @ 28548

Last change on this file since 28548 was 28548, checked in by mww@…, 13 years ago

replace configure.env as far as possible

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 28548 2007-09-03 13:34:51Z mww@macports.org $
2
3PortSystem 1.0
4name            socat
5version         1.4.2.0
6categories      sysutils net
7maintainers     md@hudora.de
8platforms       darwin
9description     netcat on steroids
10long_description        \
11 socat is a relay for bidirectional data transfer between two independent data \
12 channels. Each of these data channels may be a file, pipe, device (serial line \
13 etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an \
14 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \
15 GNU line editor (readline), a program, or a combination of two of these.
16master_sites    http://www.dest-unreach.org/socat/download/
17checksums       md5 17694e6390f3488c5318a2cb18ec9919
18worksrcdir      socat-1.4
19depends_lib             port:readline
20configure.cflags-append "-L${prefix}/lib -lreadline"
21post-configure {
22    reinplace "s|\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|\$(INSTALL) -d -m 755 \$(DESTDIR)\$(MANDEST)/man1/\\\n\\\t\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|g" \
23              ${worksrcpath}/Makefile
24}
25post-destroot {
26        file rename ${destroot}${prefix}/man/man1/socat.1 ${destroot}${prefix}/share/man/man1/socat.1
27}
Note: See TracBrowser for help on using the repository browser.