2000-01-04 08:13:52 +00:00
|
|
|
# New ports collection makefile for: datapipe
|
|
|
|
# Date created: 04 January 2000
|
|
|
|
# Whom: Daniel Baker <dbaker@FreeBSD.org> <dbaker@cuckoo.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= datapipe
|
|
|
|
PORTVERSION= 1.0
|
2005-07-01 17:13:34 +00:00
|
|
|
PORTREVISION= 1
|
2000-01-04 08:13:52 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/unsupported/ \
|
|
|
|
http://http.distributed.net/pub/dcti/unsupported/
|
|
|
|
|
2004-02-11 12:27:19 +00:00
|
|
|
MAINTAINER= roam@FreeBSD.org
|
2004-02-11 03:03:05 +00:00
|
|
|
COMMENT= Bind a local port and connect it to a remote socket
|
2000-01-04 08:13:52 +00:00
|
|
|
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/datapipe
|
|
|
|
|
2005-07-01 17:13:34 +00:00
|
|
|
OPTIONS= REUSEADDR "Reuse the listening socket address" on \
|
|
|
|
NOFORK "Do not fork and background" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_REUSEADDR)
|
|
|
|
CFLAGS+= -DDATAPIPE_REUSEADDR
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_NOFORK)
|
|
|
|
CFLAGS+= -DDATAPIPE_NOFORK
|
|
|
|
PKGNAMESUFFIX+=-nofork
|
|
|
|
.endif
|
|
|
|
|
2000-01-04 08:13:52 +00:00
|
|
|
do-build:
|
2000-01-12 07:52:50 +00:00
|
|
|
${CC} ${CFLAGS} -o ${WRKDIR}/${DISTNAME}/datapipe ${WRKDIR}/${DISTNAME}/datapipe.c
|
2000-01-04 08:13:52 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/datapipe ${PREFIX}/bin
|
|
|
|
|
2005-07-01 17:13:34 +00:00
|
|
|
.include <bsd.port.post.mk>
|