1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/tcping/Makefile
Jimmy Olgeni e929aea23c Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
This round is @FreeBSD.org residents except teams.
2017-11-02 21:41:47 +00:00

31 lines
663 B
Makefile

# Created by: 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@FreeBSD.org
COMMENT= Do a TCP connect to the given IP/port combination
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/tcping
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcping ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>