1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/netselect/Makefile
Muhammad Moinur Rahman 288f9d6f40 net/netselect: Update version 0.3=>0.4
- Take MAINTAINERSHIP
2019-08-07 12:02:12 +00:00

36 lines
847 B
Makefile

# Created by: Timothy Redaelli <drizzt@gufi.org>
# $FreeBSD$
PORTNAME= netselect
PORTVERSION= 0.4
DISTVERSIONPREFIX=${PORTNAME}-
CATEGORIES= net
MAINTAINER= bofh@FreeBSD.org
COMMENT= Ultrafast implementation of ping
LICENSE= BSD3CLAUSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= apenwarr
OPTIONS_DEFINE= SUID DOCS
OPTIONS_SUB= yes
SUID_DESC= Install with the setuid bit to allow use by non-root users
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
${REINPLACE_CMD} -E -i "" -e 's|[[:blank:]]+$$||' ${WRKSRC}/README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>