aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proftpd
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-27 00:39:14 +0800
committerbapt <bapt@FreeBSD.org>2013-04-27 00:39:14 +0800
commita9e406d4f73b8159743603b7499b85c6e084503f (patch)
treed124c4d6f965d5152806ebfbf40e1b5a25860ddb /ftp/proftpd
parent8057e31698ebdc787d8715981347b119d4799a21 (diff)
downloadfreebsd-ports-gnome-a9e406d4f73b8159743603b7499b85c6e084503f.tar.gz
freebsd-ports-gnome-a9e406d4f73b8159743603b7499b85c6e084503f.tar.zst
freebsd-ports-gnome-a9e406d4f73b8159743603b7499b85c6e084503f.zip
Convert from USE_GETTEXT to USES= gettext
While here: - Trim some headers - Convert to new options framework
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>