Date: Wed, 13 Aug 2003 18:04:08 +0200 (CEST) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obraun@FreeBSD.org Subject: ports/55553: [patch] Update port: devel/hs-alex: Update to 2.0 Message-ID: <200308131604.h7DG48u2098223@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200308131610.h7DGADr2029249@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55553 >Category: ports >Synopsis: [patch] Update port: devel/hs-alex: Update to 2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 13 09:10:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.8-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue Aug 5 15:53:30 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: - Update to 2.0 - Take maintainership >How-To-Repeat: >Fix: --- hs-alex begins here --- diff -urN /usr/ports/devel/hs-alex/Makefile hs-alex/Makefile --- /usr/ports/devel/hs-alex/Makefile Tue Mar 4 23:08:53 2003 +++ hs-alex/Makefile Wed Aug 13 17:56:58 2003 @@ -5,34 +5,39 @@ # $FreeBSD: ports/devel/hs-alex/Makefile,v 1.2 2003/02/20 17:06:46 knu Exp $ PORTNAME= alex -PORTVERSION= 1.1 +PORTVERSION= 2.0 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= ports@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 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -BUILD_WRKSRC= ${WRKSRC}/src -MAKEFILE= makefile -ALL_TARGET= alex +PLIST_SUB= "PORTVERSION=${PORTVERSION}" + +.if !defined(NOPORTDOCS) +post-build: + ${GMAKE} -C ${WRKSRC}/alex/doc ps +.endif -do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/alex ${PREFIX}/bin +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> diff -urN /usr/ports/devel/hs-alex/distinfo hs-alex/distinfo --- /usr/ports/devel/hs-alex/distinfo Wed Jan 29 16:49:18 2003 +++ hs-alex/distinfo Wed Aug 13 17:09:36 2003 @@ -1 +1 @@ -MD5 (alex-1.1/alex.tar.gz) = 3b109767f6fb0aaafed9170f99109aa5 +MD5 (alex-2.0-src.tar.bz2) = 14ff6abf21d81763b15afe151add9091 diff -urN /usr/ports/devel/hs-alex/pkg-descr hs-alex/pkg-descr --- /usr/ports/devel/hs-alex/pkg-descr Wed Jan 29 17:07:19 2003 +++ hs-alex/pkg-descr Wed Aug 13 17:51:00 2003 @@ -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/ diff -urN /usr/ports/devel/hs-alex/pkg-plist hs-alex/pkg-plist --- /usr/ports/devel/hs-alex/pkg-plist Thu Jan 30 09:20:40 2003 +++ hs-alex/pkg-plist Wed Aug 13 17:47:07 2003 @@ -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 --- hs-alex ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308131604.h7DG48u2098223>