View | Details | Raw Unified | Return to bug 36022
Collapse All | Expand All

(-)oftpd/Makefile (-1 / +6 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	oftpd
8
PORTNAME=	oftpd
9
PORTVERSION=	0.3.6
9
PORTVERSION=	0.3.6
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	ftp
11
CATEGORIES=	ftp
12
MASTER_SITES=	http://www.time-travellers.org/oftpd/ \
12
MASTER_SITES=	http://www.time-travellers.org/oftpd/ \
13
		http://www.freenix.no/~anders/
13
		http://www.freenix.no/~anders/
Lines 22-27 Link Here
22
CONFIGURE_ENV+=	LIBS="-pthread"
22
CONFIGURE_ENV+=	LIBS="-pthread"
23
23
24
MAN8=		oftpd.8
24
MAN8=		oftpd.8
25
26
post-patch:
27
.if defined(MAX_NUM_CLIENTS)
28
	@${PERL} -pi -e "s,MAX_NUM_CLIENTS 300,MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}," ${WRKSRC}/src/oftpd.h
29
.endif
25
30
26
do-install:
31
do-install:
27
	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin/oftpd
32
	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin/oftpd

Return to bug 36022