aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcping/Makefile
blob: 574894213150f77f10f0aa139a6a75cbb869cb5c (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
# New ports collection makefile for:    tcping
# Date created:     2003-12-16
# Whom:         Dryice Liu
#
# $FreeBSD$
#

PORTNAME=   tcping
PORTVERSION=    1.3.3
CATEGORIES= net
MASTER_SITES=   http://stud.fh-heilbronn.de/~kirchner/tcping/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= dryice@liu.com.cn
COMMENT=    Do a TCP connect to the given IP/port combination

USE_GPG?=   yes
SIG_FILES=  ${DISTNAME}${EXTRACT_SUFX}.asc
DOCS=       README

do-build:
    cd ${WRKSRC} && \
    ${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tcping ${PREFIX}/bin/tcping
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>