Add hs-alex 1.1, alex is a Lex-like package for generating Haskell scanners.

PR:		ports/47644
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
This commit is contained in:
Oliver Braun 2003-01-31 22:24:58 +00:00
parent a92d5ca579
commit b7f2ff0214
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74387
6 changed files with 60 additions and 0 deletions

View file

@ -229,6 +229,7 @@
SUBDIR += gvd
SUBDIR += happydoc
SUBDIR += hp48cc
SUBDIR += hs-alex
SUBDIR += hs-buddha
SUBDIR += hs-c2hs
SUBDIR += hs-drift

37
devel/hs-alex/Makefile Normal file
View file

@ -0,0 +1,37 @@
# New ports collection makefile for: alex
# Date created: 29 January 2003
# Whom: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
PORTNAME= alex
PORTVERSION= 1.1
CATEGORIES= devel haskell
MASTER_SITES= http://www.syntaxpolice.org/~ijones/alex/
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= hs-
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= makefile
ALL_TARGET= alex
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/alex ${PREFIX}/bin
${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
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/alex.ps ${WRKSRC}/doc/alex.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
devel/hs-alex/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (alex-1.1/alex.tar.gz) = 3b109767f6fb0aaafed9170f99109aa5

View file

@ -0,0 +1 @@
Alex is a Lex-like package for generating Haskell scanners

4
devel/hs-alex/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
Alex is a Lex-like package for generating Haskell scanners
by Chris Dornan.
WWW: http://www.syntaxpolice.org/~ijones/alex/

16
devel/hs-alex/pkg-plist Normal file
View file

@ -0,0 +1,16 @@
bin/alex
%%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/Tokens.x
share/examples/alex/ctx.x
share/examples/alex/examples.x
share/examples/alex/lit.lx
share/examples/alex/makefile
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
@dirrm share/examples/alex