Date: Mon, 27 Jan 2014 13:35:11 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341404 - head/devel/bison Message-ID: <201401271335.s0RDZBR5022228@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - -.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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401271335.s0RDZBR5022228>