pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/alex Import alex-3.1.4 from wip/alex



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26ae46542e5d
branches:  trunk
changeset: 646745:26ae46542e5d
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 14 09:01:33 2015 +0000

description:
Import alex-3.1.4 from wip/alex

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 tools lex and flex for C/C++.

Alex takes a description of tokens based on regular expressions and
generates a Haskell module containing code for scanning text
efficiently. Alex is designed to be familiar to exisiting lex users,
although it does depart from lex in a number of ways.

diffstat:

 devel/alex/DESCR         |   8 ++++++++
 devel/alex/Makefile      |  23 +++++++++++++++++++++++
 devel/alex/PLIST         |  19 +++++++++++++++++++
 devel/alex/buildlink3.mk |  16 ++++++++++++++++
 devel/alex/distinfo      |   5 +++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r 3404f4deba0f -r 26ae46542e5d devel/alex/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/alex/DESCR  Sat Feb 14 09:01:33 2015 +0000
@@ -0,0 +1,8 @@
+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 tools lex and flex for C/C++.
+
+Alex takes a description of tokens based on regular expressions and
+generates a Haskell module containing code for scanning text
+efficiently. Alex is designed to be familiar to exisiting lex users,
+although it does depart from lex in a number of ways.
diff -r 3404f4deba0f -r 26ae46542e5d devel/alex/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/alex/Makefile       Sat Feb 14 09:01:33 2015 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2015/02/14 09:01:33 pho Exp $
+
+DISTNAME=      alex-3.1.4
+PKGNAME=       ${DISTNAME}
+CATEGORIES=    devel
+
+MAINTAINER=    esg%sdf.lonestar.org@localhost
+COMMENT=       Tool for generating lexical analysers in Haskell
+LICENSE=       modified-bsd
+
+USE_TOOLS+=    autoconf
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+pre-configure:
+       cd ${WRKSRC}/doc && autoconf && ./configure
+
+post-install:
+       ${INSTALL_MAN} ${WRKSRC}/doc/alex.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-QuickCheck/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3404f4deba0f -r 26ae46542e5d devel/alex/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/alex/PLIST  Sat Feb 14 09:01:33 2015 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/14 09:01:33 pho Exp $
+bin/alex
+man/man1/alex.1
+share/${PKGNAME}/AlexTemplate
+share/${PKGNAME}/AlexTemplate-debug
+share/${PKGNAME}/AlexTemplate-ghc
+share/${PKGNAME}/AlexTemplate-ghc-debug
+share/${PKGNAME}/AlexTemplate-ghc-nopred
+share/${PKGNAME}/AlexWrapper-basic
+share/${PKGNAME}/AlexWrapper-basic-bytestring
+share/${PKGNAME}/AlexWrapper-gscan
+share/${PKGNAME}/AlexWrapper-monad
+share/${PKGNAME}/AlexWrapper-monad-bytestring
+share/${PKGNAME}/AlexWrapper-monadUserState
+share/${PKGNAME}/AlexWrapper-monadUserState-bytestring
+share/${PKGNAME}/AlexWrapper-posn
+share/${PKGNAME}/AlexWrapper-posn-bytestring
+share/${PKGNAME}/AlexWrapper-strict-bytestring
+share/doc/${PKGNAME}/LICENSE
diff -r 3404f4deba0f -r 26ae46542e5d devel/alex/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/alex/buildlink3.mk  Sat Feb 14 09:01:33 2015 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/02/14 09:01:33 pho Exp $
+
+BUILDLINK_TREE+=       alex
+
+.if !defined(ALEX_BUILDLINK3_MK)
+ALEX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.alex+=   alex>=3.1.4
+BUILDLINK_ABI_DEPENDS.alex+=   alex>=3.1.4
+BUILDLINK_PKGSRCDIR.alex?=     ../../devel/alex
+BUILDLINK_DEPMETHOD.alex?=     build
+
+.include "../../devel/hs-QuickCheck/buildlink3.mk"
+.endif # ALEX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -alex
diff -r 3404f4deba0f -r 26ae46542e5d devel/alex/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/alex/distinfo       Sat Feb 14 09:01:33 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/14 09:01:33 pho Exp $
+
+SHA1 (alex-3.1.4.tar.gz) = c9ab9bb8bbcc0cfe84086da872bb98b3fe67f946
+RMD160 (alex-3.1.4.tar.gz) = c708edb7f57eeb11b2bdb6b45bf3a1dab6de2ec8
+Size (alex-3.1.4.tar.gz) = 101827 bytes



Home | Main Index | Thread Index | Old Index