From owner-svn-ports-all@FreeBSD.ORG Thu Jan 16 00:01:38 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 512B6ECE; Thu, 16 Jan 2014 00:01:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D29D1576; Thu, 16 Jan 2014 00:01:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0G01c7v096359; Thu, 16 Jan 2014 00:01:38 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0G01cA4096358; Thu, 16 Jan 2014 00:01:38 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401160001.s0G01cA4096358@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 16 Jan 2014 00:01:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339878 - head/devel/gindent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 00:01:38 -0000 Author: bapt Date: Thu Jan 16 00:01:37 2014 New Revision: 339878 URL: http://svnweb.freebsd.org/changeset/ports/339878 QAT: https://qat.redports.org/buildarchive/r339878/ Log: Reduce over inclusion of bsd.port.mk Use options helpers Modified: head/devel/gindent/Makefile Modified: head/devel/gindent/Makefile ============================================================================== --- head/devel/gindent/Makefile Thu Jan 16 00:00:04 2014 (r339877) +++ head/devel/gindent/Makefile Thu Jan 16 00:01:37 2014 (r339878) @@ -12,34 +12,26 @@ DISTNAME= indent-${PORTVERSION} MAINTAINER= johans@FreeBSD.org COMMENT= GNU indent +OPTIONS_DEFINE= DOCS NLS + GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -DBERKELEY_DEFAULTS=1 LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --program-prefix=g MAKE_JOBS_UNSAFE= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +OPTIONS_SUB= yes +NLS_CONFIGURE_OFF= --disable-nls INFO= indent -.include - post-patch: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/indent.html ${STAGEDIR}${DOCSDIR} -.endif -.include +.include