devel/hs-alex: Update to 3.5.1.0

PR:		279423
This commit is contained in:
Älven 2024-06-10 21:31:11 +03:00 committed by Gleb Popov
parent 06672786b3
commit cd135dda26
3 changed files with 13 additions and 12 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= alex
PORTVERSION= 3.5.0.0
PORTVERSION= 3.5.1.0
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@ -7,26 +7,27 @@ COMMENT= Tool for generating lexical analysers in Haskell
WWW= https://www.haskell.org/alex/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cabal
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= examples/*
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|ALEX=../dist/build/alex/alex|ALEX=${PREFIX}/bin/alex|' \
-e 's|--template=..||g' \
${WRKSRC}/examples/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1704139514
SHA256 (cabal/alex-3.5.0.0/alex-3.5.0.0.tar.gz) = caed9f23b4bc1cdd6f8083b79a0bb86ba86ed81ab9a1238fe0e13ed544809fed
SIZE (cabal/alex-3.5.0.0/alex-3.5.0.0.tar.gz) = 85601
TIMESTAMP = 1717146941
SHA256 (cabal/alex-3.5.1.0/alex-3.5.1.0.tar.gz) = c92efe86f8eb959ee03be6c04ee57ebc7e4abc75a6c4b26551215d7443e92a07
SIZE (cabal/alex-3.5.1.0/alex-3.5.1.0.tar.gz) = 85982

View file

@ -1,4 +1,4 @@
Alex is a tool for generating lexical analysers in Haskell. It takes a
description of tokens based on regular expressions and generates a
Haskell module containing code for scanning text efficiently. It is
similar to the tool lex or flex for C/C++.
Alex is a tool for generating lexical analysers in Haskell.
It takes a description of tokens based on regular expressions and
generates a Haskell module containing code for scanning text efficiently.
It is similar to the tool lex or flex for C/C++.