mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
* Really upgrade to 2.0 this time! Bump PORTREVISION accordingly.
* Give maintainership to someone who obviously had more sleep. PR: ports/55553 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Pointy hat to: ME!
This commit is contained in:
parent
64740c8f28
commit
5e2a14700e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86900
@ -6,33 +6,39 @@
|
||||
|
||||
PORTNAME= alex
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel haskell
|
||||
MASTER_SITES= http://www.syntaxpolice.org/~ijones/alex/
|
||||
DISTNAME= ${PORTNAME}
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MASTER_SITES= http://www.haskell.org/alex/dist/
|
||||
PKGNAMEPREFIX= hs-
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= obraun@FreeBSD.org
|
||||
COMMENT= Alex is a Lex-like package for generating Haskell scanners
|
||||
MAINTAINER= stolz@i2.informatik.rwth-aachen.de
|
||||
COMMENT= Alex is a tool for generating lexical analysers in Haskell
|
||||
|
||||
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
||||
.if !defined(NOPORTDOCS)
|
||||
BUILD_DEPENDS+= jade:${PORTSDIR}/textproc/jade
|
||||
.endif
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/src
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= alex
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/alex ${PREFIX}/bin
|
||||
PLIST_SUB= "PORTVERSION=${PORTVERSION}"
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-build:
|
||||
${GMAKE} -C ${WRKSRC}/alex/doc ps
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
.for i in Alex.hs ctx.x lit.lx pp.x tiny.y xscan.x Tokens.x examples.x makefile state.x tkns.hs
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/$i ${EXAMPLESDIR}
|
||||
.endfor
|
||||
${FIND} ${WRKSRC}/alex/examples -type f -exec ${INSTALL_DATA} \{\} ${EXAMPLESDIR} \;
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/alex.ps ${WRKSRC}/doc/alex.pdf ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/alex/doc/alex.ps ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (alex-2.0/alex.tar.gz) = 3b109767f6fb0aaafed9170f99109aa5
|
||||
MD5 (alex-2.0-src.tar.bz2) = 14ff6abf21d81763b15afe151add9091
|
||||
|
@ -1,4 +1,5 @@
|
||||
Alex is a Lex-like package for generating Haskell scanners
|
||||
by Chris Dornan.
|
||||
Alex is a tool for generating lexical analysers in Haskell, given a description
|
||||
of the tokens to be recognised in the form of regular expressions. It is similar
|
||||
to the tool lex or flex for C/C++ by Chris Dornan and Simon Marlow.
|
||||
|
||||
WWW: http://www.syntaxpolice.org/~ijones/alex/
|
||||
WWW: http://www.haskell.org/alex/
|
||||
|
@ -1,16 +1,29 @@
|
||||
bin/alex
|
||||
bin/alex-%%PORTVERSION%%
|
||||
lib/alex-%%PORTVERSION%%/alex.bin
|
||||
lib/alex-%%PORTVERSION%%/AlexTemplate
|
||||
lib/alex-%%PORTVERSION%%/AlexTemplate-ghc
|
||||
lib/alex-%%PORTVERSION%%/AlexTemplate-ghc-debug
|
||||
lib/alex-%%PORTVERSION%%/AlexTemplate-debug
|
||||
lib/alex-%%PORTVERSION%%/AlexWrapper-basic
|
||||
lib/alex-%%PORTVERSION%%/AlexWrapper-posn
|
||||
lib/alex-%%PORTVERSION%%/AlexWrapper-monad
|
||||
lib/alex-%%PORTVERSION%%/AlexWrapper-gscan
|
||||
@dirrm lib/alex-%%PORTVERSION%%
|
||||
%%PORTDOCS%%share/doc/alex/alex.ps
|
||||
%%PORTDOCS%%share/doc/alex/alex.pdf
|
||||
%%PORTDOCS%%@dirrm share/doc/alex
|
||||
share/examples/alex/Alex.hs
|
||||
share/examples/alex/Makefile
|
||||
share/examples/alex/Tokens.x
|
||||
share/examples/alex/ctx.x
|
||||
share/examples/alex/Tokens_gscan.x
|
||||
share/examples/alex/Tokens_posn.x
|
||||
share/examples/alex/examples.x
|
||||
share/examples/alex/lit.lx
|
||||
share/examples/alex/makefile
|
||||
share/examples/alex/haskell.x
|
||||
share/examples/alex/lit.x
|
||||
share/examples/alex/pp.x
|
||||
share/examples/alex/state.x
|
||||
share/examples/alex/tiny.y
|
||||
share/examples/alex/tkns.hs
|
||||
share/examples/alex/xscan.x
|
||||
share/examples/alex/words.x
|
||||
share/examples/alex/words_monad.x
|
||||
share/examples/alex/words_posn.x
|
||||
@dirrm share/examples/alex
|
||||
|
Loading…
Reference in New Issue
Block a user