freebsd-ports/net/tcping/Makefile
Emanuel Haupt 195cfd61eb - Update to 1.3.6
- Now that the releases are tagged, move fetch to GitHub
- This release is licensed under the MIT license

Upstream issue:	https://github.com/mkirchner/tcping/issues/1
2019-10-24 15:47:47 +00:00

34 lines
617 B
Makefile

# Created by: Dryice Liu
# $FreeBSD$
PORTNAME= tcping
PORTVERSION= 1.3.6
CATEGORIES= net
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Do a TCP connect to the given IP/port combination
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= mkirchner
OPTIONS_DEFINE= DOCS
CFLAGS+= -DHAVE_HSTRERROR
PLIST_FILES= bin/tcping
PORTDOCS= README
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/tcping ${WRKSRC}/tcping.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcping ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>