1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/netselect/Makefile
Rong-En Fan b5be3c084e Add netselect 0.3, ultrafast implementation of ping.
PR:		ports/100338
Submitted by:	Timothy Redaelli <drizzt at gufi.org>
2006-07-15 17:14:45 +00:00

39 lines
828 B
Makefile

# New ports collection makefile for: netselect
# Date created: 15 July 2006
# Whom: Timothy Redaelli <drizzt@gufi.org>
#
# $FreeBSD$
#
PORTNAME= netselect
PORTVERSION= 0.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GENTOO} \
http://www.worldvisions.ca/~apenwarr/netselect/
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= drizzt@gufi.org
COMMENT= Ultrafast implementation of ping
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS= SUID "Install with the sticky bit (mode 4110)" off
.include <bsd.port.pre.mk>
.if defined(WITH_SUID)
BINMODE= 4110
.else
BINMODE= 0100
.endif
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>