source: trunk/dports/net/netcat/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            netcat
6version         1.10
7revision        2
8categories      net
9maintainers     darkart.com:opendarwin.org
10description     Utility for managing network connections
11long_description        Netcat is a simple Unix utility which reads and writes data across \
12                        network connections using TCP or UDP protocol.  It is designed to be a \
13                        reliable "back-end" tool that can be used directly or easily driven by \
14                        other programs and scripts.  At the same time it is a feature-rich \
15                        network debugging and exploration tool, since it can create almost any \
16                        kind of connection you would need and has several interesting built-in \
17                        capabilities.
18platforms       darwin freebsd
19master_sites    ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/ \
20                ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/ \
21
22##              http://public.www.planetmirror.com/pub/lprng/TOOLS/netcat
23##              http://downloads.planetmirror.com/pub/lprng/TOOLS/netcat/nc110.tgz
24
25## provide a 'homepage' to make "port lint" happy...
26homepage    http://nc110.sourceforge.net/
27
28##
29## build the version string to match how netcat is distributed
30regsub -all     "\\." ${version} "" num
31## and appropriately name the distfile
32distfiles       nc${num}.tgz
33extract.mkdir   yes
34
35checksums       md5 402632f2fe01c169ff19a0ad6e9d608c
36
37platform darwin 6 {
38# Some version of Darwin 6 don't understand -s when linking
39        patchfiles-append       patch-Makefile
40}
41
42use_configure   no
43build.target    generic
44
45destroot {
46              xinstall -m 755 -d ${destroot}${prefix}/share/doc/netcat
47              xinstall -m 755 -s -W ${worksrcpath} nc ${destroot}${prefix}/bin
48              xinstall -m 644 -W ${worksrcpath} README ${destroot}${prefix}/share/doc/netcat
49}
Note: See TracBrowser for help on using the repository browser.