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

Last change on this file since 20471 was 20471, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS

See this thread for more information:

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
1# $Id: Portfile 20471 2006-11-03 15:27:05Z $
3PortSystem 1.0
4name            socat
6categories      sysutils net
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.
17checksums       md5 17694e6390f3488c5318a2cb18ec9919
18worksrcdir      socat-1.4
19depends_lib             port:readline
20configure.env   CFLAGS="-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
25post-destroot {
26        file rename ${destroot}${prefix}/man/man1/socat.1 ${destroot}${prefix}/share/man/man1/socat.1
Note: See TracBrowser for help on using the repository browser.