mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
4a9e5ca3b8
- Install sendfile.cf.sample by default - Additional Makefile tweaks [1] PR: ports/120342 Submitted by: Stefan Sec Zehl <sec@42.org> (maintainer) Approved by: maintainer timeout (two weeks) [1]
40 lines
1013 B
Makefile
40 lines
1013 B
Makefile
# New ports collection makefile for: sendfile
|
|
# Date created: 30 Oct 1997
|
|
# Whom: sec@42.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sendfile
|
|
PORTVERSION= 2.1a
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.belwue.de/pub/unix/sendfile/current/
|
|
DISTNAME= ${PORTNAME}-20010216
|
|
|
|
MAINTAINER= sec@42.org
|
|
COMMENT= Simple Asynchronous File Transfer Reference Implementation
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= makeconfig
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}"
|
|
USE_RC_SUBR= sendfiled
|
|
MAKE_ARGS+= BATCH=true
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAN1= sendfile.1 sendmsg.1 receive.1 fetchfile.1 utf7encode.1 \
|
|
wlock.1
|
|
MAN7= fetchfile.7
|
|
MAN8= sendfiled.8
|
|
MLINKS= utf7encode.1 utf7decode.1
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|