1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/net/tcping/Makefile
2009-04-08 03:00:06 +00:00

31 lines
647 B
Makefile

# New ports collection makefile for: tcping
# Date created: 2003-12-16
# Whom: Dryice Liu
#
# $FreeBSD$
#
PORTNAME= tcping
PORTVERSION= 1.3.5
CATEGORIES= net
MASTER_SITES= http://www.linuxco.de/tcping/ \
http://dryice.name/computer/FreeBSD/distfiles/
MAINTAINER= dryice@dryice.name
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>