mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
40 lines
844 B
Makefile
40 lines
844 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= ports@FreeBSD.org
|
|
COMMENT= Ultrafast implementation of ping
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= SUID
|
|
SUID_DESC= Install with the sticky bit (mode 4110)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSUID}
|
|
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.mk>
|