1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/net/netselect/Makefile
Dmitry Marakasov e638299edc - Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS

Approved by:	portmgr blanket
2015-08-28 13:39:56 +00:00

34 lines
826 B
Makefile

# Created by: Timothy Redaelli <drizzt@gufi.org>
# $FreeBSD$
PORTNAME= netselect
PORTVERSION= 0.3
CATEGORIES= net
MASTER_SITES= http://apenwarr.ca/netselect/ \
GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Ultrafast implementation of ping
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= SUID DOCS
OPTIONS_SUB= yes
SUID_DESC= Install with the setuid bit to allow use by non-root users
EXTRACT_AFTER_ARGS=netselect/netselect.c netselect/README
WRKSRC= ${WRKDIR}/${PORTNAME}
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
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>