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

We also have a status page: https://freshports.wordpress.com/

Port details
hs-DrIFT Program to derive type class instances
2.4.2_3 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: haskell@FreeBSD.org search for ports maintained by this maintainer
Port Added: 10 Aug 2014 22:35:20
Also Listed In: haskell
License: BSD3CLAUSE
DrIFT is a type sensitive preprocessor for Haskell.  It extracts type
declarations and directives from modules.  The directives cause rules to
be fired on the parsed type declarations, generating new code which is
then appended to the bottom of the input file.  The rules are expressed
as Haskell code, and it is intended that the user can add new rules as
required.  DrIFT automates instance derivation for classes that aren't
supported by the standard compilers.  In addition, instances can be
produced in separate modules to that containing the type declaration.
This allows instances to be derived for a type after the original module
has been compiled.  As a bonus, simple utility functions can also be
produced from a type.

WWW: http://repetae.net/computer/haskell/DrIFT/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (3 items)
  1. /usr/local/share/licenses/hs-DrIFT-2.4.2_3/catalog.mk
  2. /usr/local/share/licenses/hs-DrIFT-2.4.2_3/LICENSE
  3. /usr/local/share/licenses/hs-DrIFT-2.4.2_3/BSD3CLAUSE
  4. Collapse this list.

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

PKGNAME: hs-DrIFT

distinfo:

TIMESTAMP = 1499627812
SHA256 (cabal/DrIFT-2.4.2.tar.gz) = 742a0b12f16a9da215a29c8284ae379734a70e7811a5f4b1a02dba2873751cf0
SIZE (cabal/DrIFT-2.4.2.tar.gz) = 69676


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

Build dependencies:
  1. ghc : lang/ghc
  2. ghc>=8.0.2 : lang/ghc
  3. hs-old-time>=0 : devel/hs-old-time
  4. hs-random>=0 : devel/hs-random
  5. gcc6 : lang/gcc6
  6. as : devel/binutils
Runtime dependencies:
  1. ghc : lang/ghc
  2. ghc>=8.0.2 : lang/ghc
  3. hs-old-time>=0 : devel/hs-old-time
  4. hs-random>=0 : devel/hs-random
  5. gcc6 : lang/gcc6
Library dependencies:
  1. libgmp.so : math/gmp
  2. libiconv.so : converters/libiconv
There are no ports dependent upon this port

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

USES:
iconv:translit

Master Sites:
    There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-08-08
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      The Glorious Glasgow Haskell Compiler has been updated to version
      8.0.2.  Hence it is recommended to rebuild or reinstall all the
      dependent ports and the lang/ghc port itself in one of the following
      ways:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
    
      In case of pkg(8), it is probably safer to remove all the GHC-dependent
      packages along with GHC and reinstall everything from scratch.  For
      example:
    
      # pkg query "%ro" ghc > ghc-pkgs.txt
      # pkg delete -y lang/ghc
    
      In ghc-pkgs.txt, check and remove all the packages that have been moved
      on the update, then use this command:
    
      # pkg install -y `cat ghc-pkgs.txt`
    
    
  • 2015-08-20
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      The Glorious Glasgow Haskell Compiler has been updated to version
      7.10.2 and Haskell Platform has been removed.  As a result, it is
      recommended to rebuild or reinstall all the dependent ports and the
      lang/ghc port itself in one of the following ways:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
    
      In case of pkg(8), it is probably safer to remove all the GHC-dependent
      packages along with GHC and reinstall everything from scratch.  For
      example:
    
      # pkg query "%ro" ghc > ghc-pkgs.txt
      # pkg delete -y lang/ghc
    
      In ghc-pkgs.txt, check and remove all the packages that have been moved,
      then:
    
      # pkg install -y `cat ghc-pkgs.txt`
    
    
  • 2014-08-10
    Affects: users of lang/ghc and */hs-*
    Author: haskell@FreeBSD.org
    Reason: 
      The Glorious Glasgow Haskell Compiler has been updated to version
      7.8.3 and Haskell Platform to 2014.2.0.0.  Hence it is recommended to
      rebuild or reinstall all the dependent ports and the lang/ghc port
      itself by one of the following commands:
    
      # portmaster -w -r ghc
        or
      # portupgrade -fr lang/ghc
    
      If you use pkg(8) then it is just safer to remove all the GHC-dependent
      packages along with GHC and reinstall everything from scratch.
      Something alone these lines may work:
    
      # pkg query "%ro" > ghc-pkgs.txt
      # pkg delete -y lang/ghc
      # pkg install -y `cat ghc-pkgs.txt | grep -Ev "/hs-(haskeline|terminfo|transformers|xhtml)"
    
    
  • 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
    
    
Port Moves
  • port moved here from devel/hs-drift on 2014-08-10
    REASON: Renamed: Converted to use the Cabal framework

Number of commits found: 5

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
08 Aug 2017 17:21:46
Original commit files touched by this commit  2.4.2_3
Revision:447548
tcberner search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 8.0.2
- Simplified port by only suporting GCC, and creating a build.mk file
- Update Pandoc to 1.19.2.1
- Update git-annex to 6.20170520
- Update Darcs to 2.12.5
- Update Gtk2Hs to 0.13.2.2
- Update Agda to 2.5.2

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

See the UPDATING file for instructions.

New ports (63):
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2015 19:59:04
Original commit files touched by this commit  2.4.2_2
Revision:397395
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (A-F).
20 Aug 2015 23:02:17
Original commit files touched by this commit  2.4.2_2
Revision:394918
pgj search for other commits by this committer
- Update The Glorious Glasgow Haskell Compiler to version 7.10.2
- Include a patch for addressing timer issues [1]
- Add support for building both GHC and Haskell ports with Clang, either from
  ports or the base system
- Discontinue supporting Haskell Platform, use Stackage instead as a
  reference
- Drop support for FreeBSD 8.x, optimize bootstrap compiler tarballs
- Update Gtk2Hs to version 0.13 [2]
- Update Pandoc to version 1.15.0.6
- Update git-annex to version 5.20150727
- Update Darcs to 2.10 [3]
- Unbreak wxHaskell ports

Please note that port revisions for all the Haskell ports without version
changes are bumped.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.4.2_1
Revision:367888
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
10 Aug 2014 22:34:52
Original commit files touched by this commit  2.4.2
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)

Number of commits found: 5

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libXcursorDec 17
libXfont2Dec 17
libXfont2Dec 17
globalDec 16
jenkinsDec 15
jenkins-ltsDec 15
gitlabDec 14
nodeDec 14
node4Dec 14
node6Dec 14
node8Dec 14
torDec 14
asterisk13Dec 13
asterisk13*Dec 13
asterisk13*Dec 13

18 vulnerabilities affecting 90 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2017-12-17 18:50:28


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32140
Broken 123
Deprecated 48
Ignore 359
Forbidden 0
Restricted 173
No CDROM 77
Vulnerable 41
Expired 10
Set to expire 40
Interactive 0
new 24 hours 4
new 48 hours11
new 7 days34
new fortnight108
new month42954

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