aboutsummaryrefslogtreecommitdiff
path: root/editors/ssed
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 07:01:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 07:01:48 +0000
commit9882047ad2debf17d1d69d7de5c31ceb017d2c81 (patch)
tree9bb92c7ef944cb6f89581b84d95897330d992111 /editors/ssed
parentb8e1c3bed3b64b17d1608afcc98f81e96341ce89 (diff)
downloadports-9882047ad2debf17d1d69d7de5c31ceb017d2c81.tar.gz
ports-9882047ad2debf17d1d69d7de5c31ceb017d2c81.zip
Finish converting e* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Notes
Notes: svn path=/head/; revision=317474
Diffstat (limited to 'editors/ssed')
-rw-r--r--editors/ssed/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile
index e1343fda9876..825cee580c68 100644
--- a/editors/ssed/Makefile
+++ b/editors/ssed/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ssed
-# Date created: 28 May 2002
-# Whom: verm
-#
+# Created by: verm
# $FreeBSD$
-#
PORTNAME= sed
PORTVERSION= 3.62
@@ -20,13 +16,15 @@ CONFIGURE_ARGS= --program-prefix=s
MAN1= ssed.1
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>