aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 16:39:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 16:39:14 +0000
commitbc62127a69294fd3340ea793685953d98ff835dc (patch)
treed124c4d6f965d5152806ebfbf40e1b5a25860ddb /ftp/proftpd
parente8dd5f52410bdf2a989023706699373d47296008 (diff)
downloadports-bc62127a69294fd3340ea793685953d98ff835dc.tar.gz
ports-bc62127a69294fd3340ea793685953d98ff835dc.zip
Notes
Diffstat (limited to 'ftp/proftpd')
-rw-r--r--ftp/proftpd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 112073ec50fc..97e76d2d1cb7 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: proftpd
-# Date created: 26 January 1998
-# Whom: Stephane Legrand
-#
+# Created by: Stephane Legrand
# $FreeBSD$
-#
PORTNAME?= proftpd
PORTVERSION?= 1.3.4c
@@ -100,7 +96,7 @@ PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}"
.endif #!defined(_BUILDING_PROFTPD_MODULE)
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(USE_OPENSSL)
CFLAGS+= -DHAVE_OPENSSL -I${OPENSSLINC}
@@ -163,7 +159,7 @@ CONFIGURE_ARGS+= --disable-ipv6
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --enable-nls
-USE_GETTEXT=yes
+USES+= gettext
PROFTPD_LIBS+= -lintl -L${LOCALBASE}/lib
PLIST_SUB+= NLS=""
.else
@@ -270,4 +266,4 @@ post-install:
@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/
.endif #!defined(_BUILDING_PROFTPD_MODULE)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>