diff options
author | obraun <obraun@FreeBSD.org> | 2002-08-22 23:31:43 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2002-08-22 23:31:43 +0800 |
commit | 63acc95600b570e0a8b8a98f7389b70ab660e01a (patch) | |
tree | 4334e557f92a06b70623d0c53bda53218afbf194 /lang | |
parent | cd2e0da2ab4a150045cab379a073a469711a130e (diff) | |
download | freebsd-ports-gnome-63acc95600b570e0a8b8a98f7389b70ab660e01a.tar.gz freebsd-ports-gnome-63acc95600b570e0a8b8a98f7389b70ab660e01a.tar.zst freebsd-ports-gnome-63acc95600b570e0a8b8a98f7389b70ab660e01a.zip |
Add generic-haskell 1.23, the Generic Haskell compiler.
PR: ports/40239
Approved by: dwcjr (mentor)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/generic-haskell/Makefile | 42 | ||||
-rw-r--r-- | lang/generic-haskell/distinfo | 1 | ||||
-rw-r--r-- | lang/generic-haskell/pkg-comment | 1 | ||||
-rw-r--r-- | lang/generic-haskell/pkg-descr | 10 | ||||
-rw-r--r-- | lang/generic-haskell/pkg-plist | 54 |
6 files changed, 109 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index e35ccb602a16..f954b2e6c456 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -55,6 +55,7 @@ SUBDIR += gcc32 SUBDIR += gcc33 SUBDIR += gcl + SUBDIR += generic-haskell SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc-doc diff --git a/lang/generic-haskell/Makefile b/lang/generic-haskell/Makefile new file mode 100644 index 000000000000..f9f51de86d4d --- /dev/null +++ b/lang/generic-haskell/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: generic-haskell +# Date created: 05 July 2002 +# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de> +# +# $FreeBSD$ + +PORTNAME= generic-haskell +PORTVERSION= 1.23 +CATEGORIES= lang +MASTER_SITES= http://www.cs.uu.nl/research/projects/generic-haskell/compiler/beryl/ +DISTNAME= gh-${PORTVERSION}-source + +MAINTAINER= obraun@FreeBSD.org + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc + +USE_REINPLACE= yes +HAS_CONFIGURE= yes +USE_GMAKE= yes +ALL_TARGET= gh + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//} +GHLIBDIR= ${PREFIX}/lib/generic-haskell + +post-patch: + @${REINPLACE_CMD} -e 's|@prefix@|${PREFIX}|' ${WRKSRC}/src/Makefile.in + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/src/gh ${PREFIX}/bin + @${MKDIR} ${GHLIBDIR} + @${CP} -R ${WRKSRC}/lib/*.gh[is] ${GHLIBDIR} + @${CP} -R ${WRKSRC}/lib/*.h[is] ${GHLIBDIR} + @${MKDIR} ${GHLIBDIR}/Exts + @${CP} -R ${WRKSRC}/lib/Exts/*.gh[is] ${GHLIBDIR}/Exts + @${MKDIR} ${GHLIBDIR}/Std + @${CP} -R ${WRKSRC}/lib/Std/*.gh[is] ${GHLIBDIR}/Std +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/lang/generic-haskell/distinfo b/lang/generic-haskell/distinfo new file mode 100644 index 000000000000..3f3fc4dcc388 --- /dev/null +++ b/lang/generic-haskell/distinfo @@ -0,0 +1 @@ +MD5 (gh-1.23-source.tar.gz) = 8a04bb55a1ae718849b82c13c2a02e40 diff --git a/lang/generic-haskell/pkg-comment b/lang/generic-haskell/pkg-comment new file mode 100644 index 000000000000..957f332b8ba9 --- /dev/null +++ b/lang/generic-haskell/pkg-comment @@ -0,0 +1 @@ +The Generic Haskell compiler diff --git a/lang/generic-haskell/pkg-descr b/lang/generic-haskell/pkg-descr new file mode 100644 index 000000000000..4c6099090821 --- /dev/null +++ b/lang/generic-haskell/pkg-descr @@ -0,0 +1,10 @@ +Generic Haskell extends Haskell with type-indexed values, kind-indexed values, +generic abstraction, and generic application. + +The Generic Haskell compiler generates ordinary Haskell code which can be run +or compiled using lang/ghc, lang/nhc98 or lang/hugs. + +WWW: http://www.generic-haskell.org/ + +-- Oliver Braun +obraun@informatik.unibw-muenchen.de diff --git a/lang/generic-haskell/pkg-plist b/lang/generic-haskell/pkg-plist new file mode 100644 index 000000000000..e01cef9f14bb --- /dev/null +++ b/lang/generic-haskell/pkg-plist @@ -0,0 +1,54 @@ +bin/gh +lib/generic-haskell/Bounds.ghi +lib/generic-haskell/Bounds.ghs +lib/generic-haskell/Collect.ghi +lib/generic-haskell/Collect.ghs +lib/generic-haskell/Compare.ghi +lib/generic-haskell/Compare.ghs +lib/generic-haskell/Datatypes.ghi +lib/generic-haskell/Datatypes.ghs +lib/generic-haskell/DeepSeq.ghi +lib/generic-haskell/DeepSeq.ghs +lib/generic-haskell/Eq.ghi +lib/generic-haskell/Eq.ghs +lib/generic-haskell/GHPrelude.ghi +lib/generic-haskell/GHPrelude.ghs +lib/generic-haskell/GHPrelude.hs +lib/generic-haskell/Map.ghi +lib/generic-haskell/Map.ghs +lib/generic-haskell/MapM.ghi +lib/generic-haskell/MapM.ghs +lib/generic-haskell/Prelude.ghi +lib/generic-haskell/ReadShow.ghi +lib/generic-haskell/ReadShow.ghs +lib/generic-haskell/Reduce.ghi +lib/generic-haskell/Reduce.ghs +lib/generic-haskell/Table.ghi +lib/generic-haskell/Table.ghs +lib/generic-haskell/ZipWith.ghi +lib/generic-haskell/ZipWith.ghs +lib/generic-haskell/Exts/IOExts.ghi +lib/generic-haskell/Exts/IORef.ghi +lib/generic-haskell/Exts/Pretty.ghi +lib/generic-haskell/Std/Array.ghi +lib/generic-haskell/Std/CPUTime.ghi +lib/generic-haskell/Std/Char.ghi +lib/generic-haskell/Std/Complex.ghi +lib/generic-haskell/Std/IO.ghi +lib/generic-haskell/Std/Ix.ghi +lib/generic-haskell/Std/List.ghi +lib/generic-haskell/Std/Locale.ghi +lib/generic-haskell/Std/Maybe.ghi +lib/generic-haskell/Std/Monad.ghi +lib/generic-haskell/Std/Numeric.ghi +lib/generic-haskell/Std/Prelude.ghi +lib/generic-haskell/Std/Random.ghi +lib/generic-haskell/Std/Ratio.ghi +lib/generic-haskell/Std/System.ghi +lib/generic-haskell/Std/Time.ghi +%%PORTDOCS%%share/doc/generic-haskell/GHUsersGuide.pdf +%%PORTDOCS%%share/doc/generic-haskell/RELEASE +%%PORTDOCS%%@dirrm share/doc/generic-haskell +@dirrm lib/generic-haskell/Exts +@dirrm lib/generic-haskell/Std +@dirrm lib/generic-haskell |