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,32 +1,33 @@ PORTNAME= alex -PORTVERSION= 3.5.0.0 +PORTVERSION= 3.5.1.0 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org 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 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++.