aboutsummaryrefslogtreecommitdiffstats
path: root/net/netcat/Makefile
blob: 67acfc0ac24cd65c95646c7d736046d40f8f6d6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ex:ts=8
# Ports collection makefile for:  netcat
# Date created:           Thur Nov 21, 1996
# Whom:               David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#

PORTNAME=   netcat
PORTVERSION=    1.10
PORTREVISION=   2
CATEGORIES= net ipv6
MASTER_SITES=   ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/  \
        ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/  \
        http://www.planetmirror.com/pub/lprng/TOOLS/
DISTNAME=   nc110
EXTRACT_SUFX=   .tgz

PATCH_SITES=    ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/
PATCHFILES= nc-v6-20000918.patch.gz
PATCH_DIST_STRIP=   -p1

MAINTAINER= sumikawa@FreeBSD.org
COMMENT=    Simple utility which reads and writes data across network connections

NO_WRKSUBDIR=   yes
ALL_TARGET= freebsd

PLIST_FILES=    bin/nc
PORTDOCS=   README
MAN1=       nc.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin
    ${INSTALL_MAN} ${FILESDIR}/nc.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>