svn commit: r305426 - head/devel/binutils
Eitan Adler
eadler at FreeBSD.org
Sun Oct 7 04:31:14 UTC 2012
Author: eadler
Date: Sun Oct 7 04:31:13 2012
New Revision: 305426
URL: http://svn.freebsd.org/changeset/ports/305426
Log:
Convert to OptionsNG
PR: ports/172422
Submitted by: Michael Gmelin <freebsd at grem.de>
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Sun Oct 7 03:55:19 2012 (r305425)
+++ head/devel/binutils/Makefile Sun Oct 7 04:31:13 2012 (r305426)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: binutils
-# Date created: 9 July 2009
-# Whom: Martin Matuska <mm at FreeBSD.org>
-#
+# Created by: Martin Matuska <mm at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= binutils
PORTVERSION= 2.22
@@ -23,7 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.s
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}/, at dirrm ,' >> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list