FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
hs-alex 3.1.3 devel on this many watch lists=2 search for ports that depend on this port
Tool for generating lexical analysers in Haskell
Maintained by: haskell@FreeBSD.org search for ports maintained by this maintainer
Port Added: 31 Jan 2003 22:25:33
Also Listed In: haskell
License: BSD3CLAUSE


Alex is a tool for generating lexical analysers in Haskell.  It takes a
description of tokens based on regular expressions and generates a
Haskell module containing code for scanning text efficiently.  It is
similar to the tool lex or flex for C/C++.

WWW: http://www.haskell.org/alex/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. lang/ghc
  2. lang/ghc
  3. devel/hs-QuickCheck
  4. textproc/docbook-xsl
  5. textproc/libxslt
  6. devel/gmake
  7. lang/gcc
  8. devel/binutils
  9. devel/autoconf
Required To Run:
  1. lang/ghc
  2. lang/ghc
  3. devel/hs-QuickCheck
  4. lang/gcc
Required Libraries:
  1. math/gmp
  2. converters/libiconv

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/devel/hs-alex/ && make install clean
To add the package: pkg install devel/hs-alex


Configuration Options
===> The following configuration options are available for hs-alex-3.1.3:
     DOCS=on: Build and/or install documentation
     DYNAMIC=on: Add support for dynamic linking
     HSCOLOUR=off: Colorize generated documentation by HsColour
     LLVM=off: Use the LLVM backend for code generation
     PROFILE=off: Add support for profiling
===> Use 'make config' to modify these settings

Master Sites:
  1. http://distcache.FreeBSD.org/ports-distfiles/cabal/
  2. http://hackage.haskell.org/package/alex-3.1.3/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-06-04
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      The Glorious Glasgow Haskell Compiler has been updated to version
      7.6.3 and Haskell Platform to 2013.2.0.0.  Hence it is recommended to
      rebuild or reinstall all the dependent ports by one of the following
      commands:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
      Note that prefixes used for hs- ports (Cabal packages) have been
      changed to PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION to
      enable more seamless upgrades in the future.
    
    
  • 2013-03-31
    Affects: users of */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Due to some unexpected dynamic linking problems, Haskell Cabal ports with
      binaries that link to their own libraries may not work.  With default
      configuration, the following ports are known to have this problem:
      Agda, BNFC, pandoc, and uuagc.  (Their port revision are now bumped.)
    
      In general, it is recommended to rebuild the port if you are
      experiencing that the corresponding binary will not start, e.g.:
    
      % agda
      Shared object "libHSAgda-2.3.2-ghc7.4.2.so" not found, required by "agda"
    
    
  • 2013-02-05
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that the recent devel/libffi update caused some breakage in the Haskell
      ports with the DYNAMIC option enabled.  The problem has been identified and
      fixed since then.  All Haskell ports have been updated to their latest stable
      versions or bumped as DYNAMIC is enabled by default.
    
      Hence it is recommended to rebuild or reinstall all ports depending on GHC
      by one of the following commands:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
    
  • 2012-12-20
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that the Glorious Glasgow Haskell Compiler has been updated to
      version 7.4.2.
    
      Please rebuild or reinstall all dependent ports by issuing one of the
      following commands, depending on the tool used:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
        or
      # pkg install -fR lang/ghc
    
    
    
  • 2012-06-03
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      Note that The Glorious Glasgow Haskell Compiler and the Haskell Platform
      have been updated to versions 7.4.1 and 2012.2.0.0, respectively.  At the
      same time, all Haskell ports have been updated to their latest working
      versions.
    
      To follow the changes, please issue one of the following commands
      (depending on the tool used):
    
      # portmaster -r ghc
        or
      # portupgrade -fr lang/ghc
    
    
    
  • 2012-02-13
    Affects: users of lang/ghc and */hs-*
    Author: pgj@FreeBSD.org
    Reason: 
      GHC has been updated to version 7.0.4, and Haskell Platform to version
      2011.4.0.0, and other Haskell ports are also updated to their Haskell
      Platform versions or latest versions.
    
      To update all affected ports:
    
      # portmaster -r lang/ghc
        or
      # portupgrade -r lang/ghc
    
    
  • 2011-05-09
    Affects: users of lang/ghc and */hs-*
    Author: ashish@FreeBSD.org
    Reason: 
      GHC has been updated to version 7.0.3 and other Haskell ports are also
      updated to their Haskell Platform versions or latest versions.
    
      To update all affected ports:
    
      # portmaster -r lang/ghc
        or
      # portupgrade -r lang/ghc
    
    

Number of commits found: 51

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Aug 2014 22:34:52
Original commit files touched by this commit  3.1.3
Revision:364579
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.8.3
- Update Haskell Platform to version 2014.2.0.0
- Update Yesod Platform to version 1.2.13
- Update Gtk2Hs to version 0.12.5
- Update Pandoc to version 1.12.4.2
- Update git-annex to version 5.20140717
- Unbreak wxHaskell ports

Please note that port revisions for all the Haskell ports without version
changes are bumped.

New ports (69):

databases/hs-esqueleto: Type-safe EDSL for SQL queries on persistent backends
devel/hs-Glob: Globbing library
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Mar 2014 00:52:55
Original commit files touched by this commit  3.0.5_4
Revision:349475
pgj search for other commits by this committer
- Reroll and update bootstrap Haskell compilers to GHC 7.6.3 on 8.x and
  9.x in order to prevent run-time breakage after the recent changes in
  libiconv
- Bump port revision for lang/ghc and all dependents, as a consequence

Obtained from:	FreeBSD Haskell
10 Mar 2014 20:55:22
Original commit files touched by this commit  3.0.5_3
Revision:347809
gerald search for other commits by this committer
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
09 Jan 2014 21:32:14
Original commit files touched by this commit  3.0.5_2
Revision:339286
pgj search for other commits by this committer
- Stagify lang/ghc and all the Haskell Cabal ports
- Update HACKAGE_SITE to follow changes in upstream
- MAKE_ENV now sets LC_ALL and DESTDIR for Haskell Cabal ports
- Further minor cosmetical changes: replace USE_GMAKE with USES, get rid of
  ${DO_NADA}, some refactoring

Obtained from:	FreeBSD Haskell
09 Jan 2014 21:29:40
Original commit files touched by this commit  3.0.5_2
Revision:339285
pgj search for other commits by this committer
- Fix a run-time problem with lang/ghc on FreeBSD 10.0 and later, caused by
  the iconv changes (basically GHCi was rendered unusable)
- Fix build for x11-toolkits/hs-wxc, while here
- Bump port revision for all Haskell Cabal ports as they have to be rebuilt

PR:		ports/184806
Reported by:	many
Obtained from:	FreeBSD Haskell
MFH:		2014Q1
26 Oct 2013 00:52:36
Original commit files touched by this commit  3.0.5_1
Revision:331644
gerald search for other commits by this committer
Update to libmpc version 1.0.1 which brings the following fixes:

 - Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 17:04:44
Original commit files touched by this commit  3.0.5
Revision:327723
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 2)
04 Jun 2013 18:53:41
Original commit files touched by this commit  3.0.5
Revision:319894
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.6.3
- Update Haskell Platform to version 2013.2.0.0

Please note that port revisions for all the Haskell ports without version
changes are bumped.

Some highlights of the update:

- Fix PDF generation for pandoc [1]
- From now on, PREFIX/{lib,share,share/doc}/cabal/ghc-GHC_VERSION are used for
  hs- ports (Cabal packages) as prefixes to avoid problems when upgrading with
  portmaster(8) [2]
- Experimental support for LLVM-based code generation (disabled by default)
- Many simplifications, refactoring in bsd.cabal.mk
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Feb 2013 22:26:32
Original commit files touched by this commit  3.0.2_1
Revision:311736
pgj search for other commits by this committer
- Fix breakage in the DYNAMIC-enabled ports triggered by the recent
  devel/libffi update
- Enable multithreaded build for lang/ghc (i.e. mark MAKE_JOBS_SAFE)

Please note that port revision for all the Haskell ports without version
changes are bumped.

New ports (20):

devel/hs-MonadRandom                     0.1.8
devel/hs-base64-conduit                  0.5.1
devel/hs-bifunctors                      3.2
devel/hs-either                          3.1
devel/hs-errors                          1.3.1
devel/hs-generic-deriving                1.4.0
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Dec 2012 02:23:06
Original commit files touched by this commit  3.0.2
Revision:309275
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.4.2
- Update Haskell Platform to version 2012.4.0.0
- Update Gtk2Hs to 0.12.4
- Transfer maintainership of math/hs-math-functions to haskell@ [1]

Please note that port revisions for all the Haskell ports without version
changes are bumped.

Some further highlights of the update:
- Trim Makefile headers
- Enable dynamic libraries and dynamic linking by default
- Enable bootstrapping by versions of GHC and HsColour already installed
- Use GCC and binutils from ports

New ports (32):
(Only the first 15 lines of the commit message are shown above View all of this commit message)
03 Aug 2012 02:30:11
Original commit files touched by this commit  3.0.1_1
pgj search for other commits by this committer
- Teach the Haskell Cabal ports to use the new options framework
- Remove some cruft

Obtained from:	FreeBSD Haskell
03 Jun 2012 21:32:58
Original commit files touched by this commit  3.0.1
pgj search for other commits by this committer
- Update to 3.0.1

Obtained from:  FreeBSD Haskell
13 Feb 2012 03:49:33
Original commit files touched by this commit  2.3.5_1
pgj search for other commits by this committer
- Please welcome GHC 7.0.4

GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped.  Other per-port
updates are coming soon.

This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.

Thanks ashish@ for the help!

Obtained from:  FreeBSD Haskell
09 May 2011 05:28:57
Original commit files touched by this commit  2.3.5
ashish search for other commits by this committer
- Please welcome GHC 7.0.3

GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.

We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.

We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.

PR:             ports/156642
Approved by:    tabthorpe (mentor)
Obtained from:  FreeBSD Haskell
04 Dec 2010 07:34:27
Original commit files touched by this commit  2.3.3_1
ade search for other commits by this committer
Sync to new bsd.autotools.mk
16 Oct 2010 11:52:47
Original commit files touched by this commit  2.3.3_1
ade search for other commits by this committer
Punt autoconf267->autoconf268
15 Sep 2010 18:35:24
Original commit files touched by this commit  2.3.3_1
ade search for other commits by this committer
Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:    portmgr (for Mk/bsd.port.mk part)
Tested by:      Multiple -exp runs
08 Aug 2010 08:49:38
Original commit files touched by this commit  2.3.3
pgj search for other commits by this committer
- Add DIST_SUBDIR for Haskell Cabal ports (with default of "cabal")

Suggested by:   admi3
15 May 2010 18:57:57
Original commit files touched by this commit  2.3.3
pgj search for other commits by this committer
- Update to 2.3.3
12 May 2010 16:33:59
Original commit files touched by this commit  2.3.1_3
pgj search for other commits by this committer
Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports.  It promises both easier addition and
maintenance for Cabal-based ports.
19 Apr 2010 10:43:43
Original commit files touched by this commit  2.3.1_3
ale search for other commits by this committer
Switch to use newer GMP version.

PR:             ports/144487
Submitted by:   ale
Approved by:    portmgr (-exp run by erwin)
02 Sep 2009 15:38:45
Original commit files touched by this commit  2.3.1_2
pgj search for other commits by this committer
- Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
  port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
  with GHC 6.10.4

PR:             ports/137055, ports/137058, ports/137059, ports/137060,
ports/137061,
                ports/137062, ports/137063, ports/137063, ports/137064,
ports/137065,
                ports/137066, ports/137067, ports/137068, ports/137069,
ports/137070,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Jun 2009 11:59:16
Original commit files touched by this commit  2.3.1_1
pgj search for other commits by this committer
- Respect custom PREFIX, LOCALBASE
- Bump port revision

Reported by:    QAT
Approved by:    gabor (mentor)
24 Jan 2009 00:16:25
Original commit files touched by this commit  2.3.1
pgj search for other commits by this committer
- Update to 2.3.1
- Fix CONFIGURE_ARGS, PORTDOCS, PORTEXAMPLES

Approved by:    gabor
20 Aug 2008 00:57:32
Original commit files touched by this commit  2.2
ade search for other commits by this committer
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:      exp build run (erwin)
10 Feb 2008 10:45:15
Original commit files touched by this commit  2.2
obraun search for other commits by this committer
Update to 2.2.
30 Sep 2007 04:47:37
Original commit files touched by this commit  2.1.0_2
linimon search for other commits by this committer
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:             ports/116639
Submitted by:   aDe
19 May 2007 20:32:57
Original commit files touched by this commit  2.1.0_1
flz search for other commits by this committer
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
18 Feb 2007 16:35:09
Original commit files touched by this commit  2.1.0
obraun search for other commits by this committer
Upgrade to 2.1.0.
22 Jan 2006 08:30:12
Original commit files touched by this commit  2.0.1_1
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
12 Jan 2006 12:54:32
Original commit files touched by this commit  2.0.1_1
sem search for other commits by this committer
- Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.

While I'm here:
- Remove USE_MESA knob where it was (35 ports).
  It marked as depricated for 2 years.

PR:             ports/90247
Submitted by:   Ermal Lu?i <eri--@albabsd.org>
01 Jun 2005 23:50:15
Original commit files touched by this commit  2.0.1
jmallett search for other commits by this committer
Give hs-alex port some sexualoving - anecdotal evidence suggests that the most
recent update fixed the build problem against the version of GHC we've got, and
fixed things on >=5.x, and all that lovely.  So mark it un-BROKEN.  If it shows
up BROKEN again, I'll handle appropriately.
20 Apr 2005 12:37:00
Original commit files touched by this commit  2.0.1
vs search for other commits by this committer
- Update to 2.0.1
- Fetch pre-built docs since we can't build it ourselves: fop requires
    Java which I didn't want to pull in and passivetex barfs.
- Treat examples as documentation
17 Dec 2004 06:54:40
Original commit files touched by this commit  2.0_2
kris search for other commits by this committer
BROKEN on >= 5.x: Does not compile
13 Oct 2004 15:31:59
Original commit files touched by this commit  2.0_2
erwin search for other commits by this committer
Add missed category in previous commit and unbreak INDEX (again).
13 Oct 2004 09:28:08
Original commit files touched by this commit  2.0_2
vs search for other commits by this committer
Add dependency on 'dvips'

Reported by: cluster via kris
15 Aug 2004 21:24:50
Original commit files touched by this commit  2.0_2
vs search for other commits by this committer
Unbreak: Revert to .tar.gz instead of bzip2.
14 Aug 2004 21:40:50
Original commit files touched by this commit  2.0_2
kris search for other commits by this committer
BROKEN: Unfetchable
26 Jul 2004 12:06:07
Original commit files touched by this commit  2.0_2
vs search for other commits by this committer
Remove mirror.ac.uk from MASTERSITES in Haskell(-related) ports.

PR:             ports/69481
Submitted by:   Tim Bishop
16 Jul 2004 15:44:18
Original commit files touched by this commit  2.0_2
vs search for other commits by this committer
Minor portlint-spree, including fixes for package-building hs-tclhaskell-ghc
and hs-c2hs on the cluster (for 4.X).
11 May 2004 19:22:26
Original commit files touched by this commit  2.0_2
obraun search for other commits by this committer
Add the mirror http://www.mirror.ac.uk/sites/www.haskell.org/ to MASTER_SITES.

Pointed out by: Simon Marlow <simonmar@microsoft.com>
18 Mar 2004 08:44:45
Original commit files touched by this commit  2.0_2
obraun search for other commits by this committer
Add SIZE.

Submitted by:   trevor
07 Mar 2004 10:14:14
Original commit files touched by this commit  2.0_2
obraun search for other commits by this committer
Set maintainer to haskell@.
04 Feb 2004 05:21:48
Original commit files touched by this commit  2.0_2
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
07 Nov 2003 09:08:46
Original commit files touched by this commit  2.0_1
obraun search for other commits by this committer
Add dependency on correct DocBook.

PR:             ports/59030
Submitted by:   maintainer
13 Oct 2003 15:18:23
Original commit files touched by this commit  2.0_1
obraun search for other commits by this committer
Add dependency on textproc/dsssl-docbook-modular.

PR:             ports/57953
Submitted by:   maintainer
16 Aug 2003 13:40:55
Original commit files touched by this commit  2.0_1
olgeni search for other commits by this committer
Add jadetex to BUILD_DEPENDS.
13 Aug 2003 18:44:10
Original commit files touched by this commit  2.0_1
obraun search for other commits by this committer
* 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!
13 Aug 2003 15:09:13
Original commit files touched by this commit  2.0
obraun search for other commits by this committer
* Upgrade to 2.0.
* Grab maintainership.
20 Feb 2003 17:07:10
Original commit files touched by this commit  1.1
knu search for other commits by this committer
De-pkg-comment.
31 Jan 2003 22:24:58
Original commit files touched by this commit  1.1
obraun search for other commits by this committer
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>

Number of commits found: 51

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
fileAug 21
py-djangoAug 21
py-django-develAug 21
py-django14Aug 21
py-django15Aug 21
php53Aug 18
phpmyadminAug 17
chromiumAug 13
serfAug 11
subversionAug 11
subversion17Aug 11
nginxAug 09
nginx-develAug 09
mingw32-opensslAug 06
opensslAug 06

8 vulnerabilities affecting 14 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24474
Broken 221
Deprecated 772
Ignore 566
Forbidden 36
Restricted 261
No CDROM 101
Vulnerable 23
Expired 0
Set to expire 767
Interactive 0
new 24 hours 12
new 48 hours15
new 7 days44
new fortnight149
new month228

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.