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

(-)/usr/ports/ftp/proftpd/Makefile (-3 / +5 lines)
Lines 7-13 Link Here
7
PORTNAME=	proftpd
7
PORTNAME=	proftpd
8
DISTVERSION=	1.3.1rc2
8
DISTVERSION=	1.3.1rc2
9
PORTREVISION=	2
9
PORTREVISION=	3
10
CATEGORIES=	ftp
10
CATEGORIES=	ftp
11
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
11
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
12
		ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/
12
		ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/
13
GNU_CONFIGURE=yes
13
GNU_CONFIGURE=yes
14
14
15
USE_RC_SUBR=	proftpd.sh
15
USE_RC_SUBR=	proftpd.sh
16
SUB_FILES=	pkg-message
16
17
18
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd
17
		--sysconfdir=${EXAMPLESDIR}/etc \
19
		--sysconfdir=${EXAMPLESDIR}/etc \
18
		--disable-sendfile
20
		--disable-sendfile
Lines 136-142 Link Here
136
CONFIGURE_ARGS+=	--enable-nls
138
CONFIGURE_ARGS+=	--enable-nls
137
USE_GETTEXT=yes
139
USE_GETTEXT=yes
138
PROFTPD_LIBS+=	-lintl -L${LOCALBASE}/lib
140
PROFTPD_LIBS+=	-lintl -L${LOCALBASE}/lib
139
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-nls-Makefile.in
140
.endif
141
.endif
141
142
142
#allow user to override
143
#allow user to override
Lines 229-234 Link Here
229
		-e 's:/usr/bin:${PREFIX}/bin:' \
230
		-e 's:/usr/bin:${PREFIX}/bin:' \
230
		${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \
231
		${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \
231
		${WRKSRC}/utils/ftpcount.1
232
		${WRKSRC}/utils/ftpcount.1
233
.if defined(WITH_NLS)
234
	${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g'
232
235
233
post-install:
236
post-install:
234
	@if [ ! -f ${PREFIX}/etc/proftpd.conf ]; then \
237
	@if [ ! -f ${PREFIX}/etc/proftpd.conf ]; then \
235
-exclude=CVS /usr/ports/ftp/proftpd/files/extra-patch-nls-Makefile.in /usr/ports/ftp/proftpd-new/files/extra-patch-nls-Makefile.in

Return to bug 109583