mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
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:
parent
a92d5ca579
commit
b7f2ff0214
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74387
@ -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
37
devel/hs-alex/Makefile
Normal 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
1
devel/hs-alex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (alex-1.1/alex.tar.gz) = 3b109767f6fb0aaafed9170f99109aa5
|
1
devel/hs-alex/pkg-comment
Normal file
1
devel/hs-alex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Alex is a Lex-like package for generating Haskell scanners
|
4
devel/hs-alex/pkg-descr
Normal file
4
devel/hs-alex/pkg-descr
Normal 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
16
devel/hs-alex/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user