From owner-svn-ports-head@FreeBSD.ORG Mon Jan 27 13:35:11 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1591CA5; Mon, 27 Jan 2014 13:35:11 +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 B334418DD; Mon, 27 Jan 2014 13:35:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RDZBjc022230; Mon, 27 Jan 2014 13:35:11 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0RDZBR5022228; Mon, 27 Jan 2014 13:35:11 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401271335.s0RDZBR5022228@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 Jan 2014 13:35:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341404 - head/devel/bison X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 13:35:12 -0000 Author: bapt Date: Mon Jan 27 13:35:10 2014 New Revision: 341404 URL: http://svnweb.freebsd.org/changeset/ports/341404 QAT: https://qat.redports.org/buildarchive/r341404/ Log: Support stage Use options helpers Modified: head/devel/bison/Makefile head/devel/bison/pkg-plist Modified: head/devel/bison/Makefile ============================================================================== --- head/devel/bison/Makefile Mon Jan 27 13:31:45 2014 (r341403) +++ head/devel/bison/Makefile Mon Jan 27 13:35:10 2014 (r341404) @@ -8,7 +8,7 @@ CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= johans@FreeBSD.org -COMMENT= A parser generator from FSF, (mostly) compatible with Yacc +COMMENT= Parser generator from FSF, (mostly) compatible with Yacc BUILD_DEPENDS= m4>=1.4.16,1:${PORTSDIR}/devel/m4 RUN_DEPENDS= m4>=1.4.16,1:${PORTSDIR}/devel/m4 @@ -24,34 +24,21 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--disable-yacc -MAN1= bison.1 INFO= bison -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls +OPTIONS_SUB= yes post-extract: @${RM} -f ${WRKSRC}/doc/bison.info* @${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in -.if ! ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} 's/ install-exec-local//' ${WRKSRC}/lib/Makefile.in -.endif -.if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= calc++ post-install: - ${MKDIR} ${EXAMPLESDIR}/calc++ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/calc++ ${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \ - ${EXAMPLESDIR}/calc++ -.endif + ${STAGEDIR}${EXAMPLESDIR}/calc++ .include Modified: head/devel/bison/pkg-plist ============================================================================== --- head/devel/bison/pkg-plist Mon Jan 27 13:31:45 2014 (r341403) +++ head/devel/bison/pkg-plist Mon Jan 27 13:35:10 2014 (r341404) @@ -1,4 +1,5 @@ bin/bison +man/man1/bison.1.gz share/aclocal/bison-i18n.m4 %%DATADIR%%/README %%DATADIR%%/bison.m4