devel/alex: Update to 3.4.0.0 Changes in 3.4.0.0 [Andreas Abel, 2023-06-20] * New wrappers to lex strict Text: strict-text, posn-strict-text, monad-strict-text and monadUserState-strict-text (PR #240). These complement the existing wrappers for String and ByteString. * Tested with GHC 7.0 - 9.6.2. Changes in 3.3.0.0 [Andreas Abel, 2023-05-25] * Add an Ord instance to AlexPosn (Issue #233). This breaks developments that define their own (orphan) instance Ord AlexPosn. If this is the derived stock instance, the fix is to delete the orphan instance and require build-tool-depends: alex:alex >= 3.3.0.0. * Switch to Haskell PVP versioning with four digits. * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.4 [Andreas Abel, 2023-05-02] * The user-supplied "epilogue" Haskell code is now put last in the generated file. This enables use of Template Haskell in the epilogue. (Issue #125.) * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.3 [Andreas Abel, 2023-04-14] * Amend last change (3.2.7.2) so that Alex-generated code does not need LANGUAGE PatternGuards. * Tested with GHC 7.0 - 9.6.1. Change in 3.2.7.2 [Andreas Abel, 2023-04-03] * Fix bug with out-of-bound access to alex_check array. (Surfaced with GHC's JS backend, fixed by Sylvain Henry in PR #223.) * Tested with GHC 7.0 - 9.6.1.diff -r1.15 -r1.16 pkgsrc/devel/alex/Makefile
(pho)
@@ -1,34 +1,12 @@ | @@ -1,34 +1,12 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2023/10/09 04:54:04 pho Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2023/10/26 13:07:44 pho Exp $ | |
2 | 2 | |||
3 | DISTNAME= alex-3.2.7.1 | 3 | DISTNAME= alex-3.4.0.0 | |
4 | PKGNAME= ${DISTNAME} | 4 | PKGNAME= ${DISTNAME} | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
7 | 6 | |||
8 | MAINTAINER= esg@sdf.lonestar.org | 7 | MAINTAINER= esg@sdf.lonestar.org | |
9 | COMMENT= Tool for generating lexical analysers in Haskell | 8 | COMMENT= Tool for generating lexical analysers in Haskell | |
10 | LICENSE= modified-bsd | 9 | LICENSE= modified-bsd | |
11 | 10 | |||
12 | USE_TOOLS+= autoconf gmake | |||
13 | TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | |||
14 | TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 | |||
15 | TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | |||
16 | ||||
17 | CONFIGURE_ENV+= fp_cv_dir_docbook_xsl=${PREFIX}/share/xsl/docbook | |||
18 | CONFIGURE_ENV+= ac_cv_path_DbLatexCmd= # empty | |||
19 | pre-configure: | |||
20 | ${RUN}cd ${WRKSRC}/doc && autoconf && ${PKGSRC_SETENV} ${CONFIGURE_ENV} \ | |||
21 | ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ./configure | |||
22 | ||||
23 | post-build: | |||
24 | ${RUN}cd ${WRKSRC}/doc && ${GMAKE} | |||
25 | ||||
26 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PREFIX}/share/doc/${PKGBASE} | |||
27 | post-install: | |||
28 | ${INSTALL_MAN} ${WRKSRC}/doc/alex.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | |||
29 | for f in ${WRKSRC}/doc/alex/*; do \ | |||
30 | ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/; \ | |||
31 | done | |||
32 | ||||
33 | .include "../../mk/haskell.mk" | 11 | .include "../../mk/haskell.mk" | |
34 | .include "../../mk/bsd.pkg.mk" | 12 | .include "../../mk/bsd.pkg.mk" |
@@ -1,24 +1,5 @@ | @@ -1,24 +1,5 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2022/02/11 09:47:44 pho Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2023/10/26 13:07:44 pho Exp $ | |
2 | bin/alex | 2 | bin/alex | |
3 | man/man1/alex.1 | |||
4 | share/doc/alex/about.html | |||
5 | share/doc/alex/alex-files.html | |||
6 | share/doc/alex/api.html | |||
7 | share/doc/alex/basic-api.html | |||
8 | share/doc/alex/bug-reports.html | |||
9 | share/doc/alex/charsets.html | |||
10 | share/doc/alex/fptools.css | |||
11 | share/doc/alex/index.html | |||
12 | share/doc/alex/introduction.html | |||
13 | share/doc/alex/invoking.html | |||
14 | share/doc/alex/license.html | |||
15 | share/doc/alex/regexps.html | |||
16 | share/doc/alex/relnotes-20.html | |||
17 | share/doc/alex/relnotes-210.html | |||
18 | share/doc/alex/relnotes-22.html | |||
19 | share/doc/alex/syntax.html | |||
20 | share/doc/alex/types.html | |||
21 | share/doc/alex/wrappers.html | |||
22 | share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE | 3 | share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE | |
23 | share/${HS_PLATFORM}/${PKGNAME}/AlexTemplate.hs | 4 | share/${HS_PLATFORM}/${PKGNAME}/AlexTemplate.hs | |
24 | share/${HS_PLATFORM}/${PKGNAME}/AlexWrappers.hs | 5 | share/${HS_PLATFORM}/${PKGNAME}/AlexWrappers.hs |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2022/02/11 09:47:44 pho Exp $ | 1 | $NetBSD: distinfo,v 1.9 2023/10/26 13:07:44 pho Exp $ | |
2 | 2 | |||
3 | BLAKE2s (alex-3.2.7.1.tar.gz) = cd6f948f68df789358b38e72d11c315923c29c1b183f53fd01cf88f4ac253401 | 3 | BLAKE2s (alex-3.4.0.0.tar.gz) = 439e713d03056744d625c3d7c31681e120ae17243dfbb83ebddbf8c1ca767d93 | |
4 | SHA512 (alex-3.2.7.1.tar.gz) = f8ff12de874b905449fdda0d704f9e4ac30fa3e60e965f82d7bb2d6e3974cf926f85134d32878c48faf0ec4a002ea7240cf6696e1cbcad25a0eebb9d1850cc07 | 4 | SHA512 (alex-3.4.0.0.tar.gz) = 4e35238c4e9a383d148f8c8535f7cabe2b6735fb242e5819aafb4695299134342baa95817cbba49b05f6ccc23ee978fa1b7c30a2aa162b53482f5c9feab55fb6 | |
5 | Size (alex-3.2.7.1.tar.gz) = 108229 bytes | 5 | Size (alex-3.4.0.0.tar.gz) = 86841 bytes |