aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÄlven <alster@vinterdalen.se>2024-06-10 18:31:11 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-06-10 18:31:11 +0000
commitcd135dda26f3841506c72bcfa075c221b1c6a04d (patch)
tree1388295e0749e049154a195bda4cffbde24a44ca
parent06672786b3dd896db3c2444d8432b0de47530385 (diff)
downloadports-cd135dda26f3841506c72bcfa075c221b1c6a04d.tar.gz
ports-cd135dda26f3841506c72bcfa075c221b1c6a04d.zip
devel/hs-alex: Update to 3.5.1.0
PR: 279423
-rw-r--r--devel/hs-alex/Makefile11
-rw-r--r--devel/hs-alex/distinfo6
-rw-r--r--devel/hs-alex/pkg-descr8
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++.