aboutsummaryrefslogtreecommitdiff
path: root/ftp/oftpd
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-03-17 23:38:44 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-03-17 23:38:44 +0000
commit610629a50fc63eb779078dd48b44021e3852bbbb (patch)
tree7af3faeb9a9bfed09be492ca7dc584ebc354d229 /ftp/oftpd
parentc1d2a776da6e3812732fdb6f46902f4b305316fe (diff)
downloadports-610629a50fc63eb779078dd48b44021e3852bbbb.tar.gz
ports-610629a50fc63eb779078dd48b44021e3852bbbb.zip
Notes
Diffstat (limited to 'ftp/oftpd')
-rw-r--r--ftp/oftpd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/ftp/oftpd/Makefile b/ftp/oftpd/Makefile
index acbf8e8f5e45..11f302199b22 100644
--- a/ftp/oftpd/Makefile
+++ b/ftp/oftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oftpd
PORTVERSION= 0.3.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= http://www.time-travellers.org/oftpd/ \
http://atreides.freenix.no/~anders/
@@ -23,6 +23,11 @@ CONFIGURE_ENV+= LIBS="-pthread"
MAN8= oftpd.8
+post-patch:
+.if defined(MAX_NUM_CLIENTS)
+ @${PERL} -pi -e "s,MAX_NUM_CLIENTS 300,MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}," ${WRKSRC}/src/oftpd.h
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin/oftpd
.if !defined(NOPORTDOCS)