diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-07 12:31:13 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-07 12:31:13 +0800 |
commit | 8d7b2990c95c008d3addb6fa5c4dd8065fb0f34c (patch) | |
tree | 4aa513cca5940e845f301742ec06ee4d46be99f6 | |
parent | 9ed7259432722ae721b42f94bc251d8de3621967 (diff) | |
download | freebsd-ports-gnome-8d7b2990c95c008d3addb6fa5c4dd8065fb0f34c.tar.gz freebsd-ports-gnome-8d7b2990c95c008d3addb6fa5c4dd8065fb0f34c.tar.zst freebsd-ports-gnome-8d7b2990c95c008d3addb6fa5c4dd8065fb0f34c.zip |
Convert to OptionsNG
PR: ports/172422
Submitted by: Michael Gmelin <freebsd@grem.de>
-rw-r--r-- | devel/binutils/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 09ad74669c9d..6eada69a712e 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: binutils -# Date created: 9 July 2009 -# Whom: Martin Matuska <mm@FreeBSD.org> -# +# Created by: Martin Matuska <mm@FreeBSD.org> # $FreeBSD$ -# PORTNAME= binutils PORTVERSION= 2.22 @@ -23,7 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:${PORTSDIR}/math/gmp \ CONFLICTS= libbfd-[0-9]* -OPTIONS= NLS "Enable National Language Support" off +OPTIONS_DEFINE= NLS LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB @@ -69,7 +65,7 @@ INFO= as \ configure \ ld -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> # Actual earliest version may differ slightly .if ${OSVERSION} >= 900044 @@ -79,7 +75,7 @@ PLIST_SUB+= GOLD="" PLIST_SUB+= GOLD="@comment " .endif -.if defined(WITH_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else @@ -100,4 +96,4 @@ post-install: @${FIND} -ds ${PREFIX}/${CONFIGURE_TARGET} -type d | \ ${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |