[Midnightbsd-cvs] mports [24302] trunk/textproc/flex: update flex to 2.6.4

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 10 18:58:00 EDT 2018


Revision: 24302
          http://svnweb.midnightbsd.org/mports/?rev=24302
Author:   laffer1
Date:     2018-09-10 18:57:59 -0400 (Mon, 10 Sep 2018)
Log Message:
-----------
update flex to 2.6.4

Modified Paths:
--------------
    trunk/textproc/flex/Makefile
    trunk/textproc/flex/distinfo
    trunk/textproc/flex/pkg-descr
    trunk/textproc/flex/pkg-plist

Modified: trunk/textproc/flex/Makefile
===================================================================
--- trunk/textproc/flex/Makefile	2018-09-10 12:51:45 UTC (rev 24301)
+++ trunk/textproc/flex/Makefile	2018-09-10 22:57:59 UTC (rev 24302)
@@ -2,22 +2,21 @@
 # $FreeBSD: ports/textproc/flex/Makefile,v 1.4 2008/02/28 13:24:48 sat Exp $
 
 PORTNAME=	flex
-PORTVERSION=	2.5.39
-PORTREVISION=	2
+PORTVERSION=	2.6.4
 CATEGORIES=	textproc
-MASTER_SITES=	SF/${PORTNAME}
+MASTER_SITES=	https://github.com/westes/flex/releases/download/v${PORTVERSION}/
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Fast lexical analyzer generator
 
-LICENSE=	bsd2
+LICENSE=	bsd3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man \
-		gm4:${PORTSDIR}/devel/m4
-RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
+BUILD_DEPENDS=	help2man:misc/help2man \
+		gm4:devel/m4
+RUN_DEPENDS=	gm4:devel/m4
 
-USES=		bison gmake libtool makeinfo tar:bzip2
+USES=		bison gmake libtool makeinfo
 GNU_CONFIGURE=	yes
 # install flex header to its own dir to avoid conflict with system flex.
 CONFIGURE_ARGS=	--includedir=${PREFIX}/include/flex --disable-shared
@@ -25,8 +24,10 @@
 INSTALL_TARGET=	install-strip
 
 INFO=		flex
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFINE=	DOCS EXAMPLES NLS
 OPTIONS_SUB=	yes
 NLS_USES=	gettext iconv
 NLS_CONFIGURE_ENABLE=	nls
@@ -35,6 +36,11 @@
 	${REINPLACE_CMD} -Ee 's/tests//' \
 		-e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \
 		${WRKSRC}/Makefile.in
-	${RM} -f ${WRKSRC}/doc/*.info*
+	${RM} ${WRKSRC}/doc/*.info*
 
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${CP} -r ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
+	${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile.am
+
 .include <bsd.port.mk>

Modified: trunk/textproc/flex/distinfo
===================================================================
--- trunk/textproc/flex/distinfo	2018-09-10 12:51:45 UTC (rev 24301)
+++ trunk/textproc/flex/distinfo	2018-09-10 22:57:59 UTC (rev 24302)
@@ -1,2 +1,3 @@
-SHA256 (flex-2.5.39.tar.bz2) = add2b55f3bc38cb512b48fad7d72f43b11ef244487ff25fc00aabec1e32b617f
-SIZE (flex-2.5.39.tar.bz2) = 1612101
+TIMESTAMP = 1529775608
+SHA256 (flex-2.6.4.tar.gz) = e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
+SIZE (flex-2.6.4.tar.gz) = 1419096

Modified: trunk/textproc/flex/pkg-descr
===================================================================
--- trunk/textproc/flex/pkg-descr	2018-09-10 12:51:45 UTC (rev 24301)
+++ trunk/textproc/flex/pkg-descr	2018-09-10 22:57:59 UTC (rev 24302)
@@ -10,4 +10,4 @@
 expressions for each rule. Whenever it finds a match, it executes the
 corresponding C code.
 
-WWW: http://flex.sourceforge.net/
+WWW: https://github.com/westes/flex

Modified: trunk/textproc/flex/pkg-plist
===================================================================
--- trunk/textproc/flex/pkg-plist	2018-09-10 12:51:45 UTC (rev 24301)
+++ trunk/textproc/flex/pkg-plist	2018-09-10 22:57:59 UTC (rev 24302)
@@ -2,15 +2,7 @@
 bin/flex++
 include/flex/FlexLexer.h
 lib/libfl.a
-lib/libfl_pic.a
 man/man1/flex.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/ONEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/flex.pdf
 %%NLS%%share/locale/ca/LC_MESSAGES/flex.mo
 %%NLS%%share/locale/da/LC_MESSAGES/flex.mo
 %%NLS%%share/locale/de/LC_MESSAGES/flex.mo



More information about the Midnightbsd-cvs mailing list