git: cd135dda26f3 - main - devel/hs-alex: Update to 3.5.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jun 2024 18:36:41 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd135dda26f3841506c72bcfa075c221b1c6a04d commit cd135dda26f3841506c72bcfa075c221b1c6a04d Author: Älven <alster@vinterdalen.se> AuthorDate: 2024-06-10 18:31:11 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-06-10 18:31:11 +0000 devel/hs-alex: Update to 3.5.1.0 PR: 279423 --- devel/hs-alex/Makefile | 11 ++++++----- devel/hs-alex/distinfo | 6 +++--- devel/hs-alex/pkg-descr | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/devel/hs-alex/Makefile b/devel/hs-alex/Makefile index 5c9e383157e3..48b18115a3a8 100644 --- a/devel/hs-alex/Makefile +++ b/devel/hs-alex/Makefile @@ -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> diff --git a/devel/hs-alex/distinfo b/devel/hs-alex/distinfo index eaaa3722ea42..fdf52d7b1d4c 100644 --- a/devel/hs-alex/distinfo +++ b/devel/hs-alex/distinfo @@ -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 diff --git a/devel/hs-alex/pkg-descr b/devel/hs-alex/pkg-descr index 7113cc828d34..b9516e791762 100644 --- a/devel/hs-alex/pkg-descr +++ b/devel/hs-alex/pkg-descr @@ -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++.