1998-02-24 21:28:17 +01:00
|
|
|
# New ports collection makefile for: sendfile
|
1998-03-01 22:51:04 +01:00
|
|
|
# Date created: 30 Oct 1997
|
1998-02-24 21:28:17 +01:00
|
|
|
# Whom: sec@42.org
|
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1998-02-24 21:28:17 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= sendfile
|
2001-03-06 18:24:23 +01:00
|
|
|
PORTVERSION= 2.1a
|
2008-03-11 02:41:13 +01:00
|
|
|
PORTREVISION= 2
|
1998-02-24 21:28:17 +01:00
|
|
|
CATEGORIES= net
|
2008-03-11 02:41:13 +01:00
|
|
|
MASTER_SITES= ftp://ftp.belwue.de/pub/unix/sendfile/current/
|
|
|
|
DISTNAME= ${PORTNAME}-20010216
|
1998-02-24 21:28:17 +01:00
|
|
|
|
|
|
|
MAINTAINER= sec@42.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Simple Asynchronous File Transfer Reference Implementation
|
1998-02-24 21:28:17 +01:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2008-03-11 02:41:13 +01:00
|
|
|
CONFIGURE_SCRIPT= makeconfig
|
1998-02-24 21:28:17 +01:00
|
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}"
|
2008-03-11 02:41:13 +01:00
|
|
|
USE_RC_SUBR= sendfiled
|
|
|
|
MAKE_ARGS+= BATCH=true
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1998-02-24 21:28:17 +01:00
|
|
|
|
1998-08-17 02:43:46 +02:00
|
|
|
MAN1= sendfile.1 sendmsg.1 receive.1 fetchfile.1 utf7encode.1 \
|
|
|
|
wlock.1
|
1998-03-01 22:51:04 +01:00
|
|
|
MAN7= fetchfile.7
|
|
|
|
MAN8= sendfiled.8
|
2000-03-09 21:00:41 +01:00
|
|
|
MLINKS= utf7encode.1 utf7decode.1
|
1998-08-17 02:43:46 +02:00
|
|
|
|
2008-03-11 02:41:13 +01:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/sendfile.cf ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/sendfile.cf.sample ${PREFIX}/etc/sendfile.cf ; \
|
|
|
|
fi
|
|
|
|
@if [ ! -f ${PREFIX}/etc/sendfile.deny ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/sendfile.deny.sample ${PREFIX}/etc/sendfile.deny ; \
|
|
|
|
fi
|
|
|
|
|
2010-03-20 16:45:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 900007
|
|
|
|
BROKEN= fails to build with new utmpx
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|