blob: 7df0c9be64f4fefa47529af71c680b481aabab6c (
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
32
33
34
35
36
37
38
|
# 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>
|