blob: a891149a8dd22f1da1a498601b94c694dd474cb6 (
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
|
PORTNAME= tcping
PORTVERSION= 1.3.6
CATEGORIES= net
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Do a TCP connect to the given IP/port combination
WWW= https://github.com/mkirchner/tcping
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>
|