From bc62127a69294fd3340ea793685953d98ff835dc Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 26 Apr 2013 16:39:14 +0000 Subject: Convert from USE_GETTEXT to USES= gettext While here: - Trim some headers - Convert to new options framework --- ftp/proftpd/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'ftp/proftpd') 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 +.include .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 +.include -- cgit v1.2.3