mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
30 lines
611 B
Makefile
30 lines
611 B
Makefile
|
# 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/
|
||
|
|
||
|
MAINTAINER= dryice@liu.com.cn
|
||
|
COMMENT= Do a TCP connect to the given ip/port combination
|
||
|
|
||
|
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>
|