[Midnightbsd-cvs] mports [16080] trunk/devel/bison: modernize
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Mar 21 23:28:51 EDT 2014
Revision: 16080
http://svnweb.midnightbsd.org/mports/?rev=16080
Author: laffer1
Date: 2014-03-21 23:28:50 -0400 (Fri, 21 Mar 2014)
Log Message:
-----------
modernize
Modified Paths:
--------------
trunk/devel/bison/Makefile
trunk/devel/bison/pkg-plist
Modified: trunk/devel/bison/Makefile
===================================================================
--- trunk/devel/bison/Makefile 2014-03-22 03:20:09 UTC (rev 16079)
+++ trunk/devel/bison/Makefile 2014-03-22 03:28:50 UTC (rev 16080)
@@ -2,20 +2,23 @@
PORTNAME= bison
PORTVERSION= 2.7.1
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= ports at MidnightBSD.org
-COMMENT= A parser generator from FSF, (mostly) compatible with Yacc
+COMMENT= Parser generator from FSF, (mostly) compatible with Yacc
+
LICENSE= gpl3
+OPTIONS_DEFINE= EXAMPLES NLS
+
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_XZ= yes
-USE_CHARSETFIX= yes
+USES= charsetfix
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -23,27 +26,16 @@
CONFIGURE_ARGS+=--disable-yacc
-MAN1= bison.1
INFO= bison
-.include <bsd.mport.options.mk>
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
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:
@@ -50,6 +42,5 @@
${MKDIR} ${EXAMPLESDIR}/calc++
${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \
${EXAMPLESDIR}/calc++
-.endif
.include <bsd.port.mk>
Modified: trunk/devel/bison/pkg-plist
===================================================================
--- trunk/devel/bison/pkg-plist 2014-03-22 03:20:09 UTC (rev 16079)
+++ trunk/devel/bison/pkg-plist 2014-03-22 03:28:50 UTC (rev 16080)
@@ -1,4 +1,5 @@
bin/bison
+man/man1/bison.1.gz
share/aclocal/bison-i18n.m4
%%DATADIR%%/README
%%DATADIR%%/bison.m4
More information about the Midnightbsd-cvs
mailing list