summaryrefslogtreecommitdiff
path: root/lang/generic-haskell
diff options
context:
space:
mode:
Diffstat (limited to 'lang/generic-haskell')
-rw-r--r--lang/generic-haskell/Makefile63
-rw-r--r--lang/generic-haskell/distinfo2
-rw-r--r--lang/generic-haskell/files/patch-mkAGdepend.in8
-rw-r--r--lang/generic-haskell/pkg-descr10
-rw-r--r--lang/generic-haskell/pkg-install39
-rw-r--r--lang/generic-haskell/pkg-plist77
6 files changed, 0 insertions, 199 deletions
diff --git a/lang/generic-haskell/Makefile b/lang/generic-haskell/Makefile
deleted file mode 100644
index 72bcfeeff450..000000000000
--- a/lang/generic-haskell/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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.42
-CATEGORIES= lang haskell
-MASTER_SITES= http://www.cs.uu.nl/research/projects/generic-haskell/compiler/coral/
-DISTNAME= gh-${PORTVERSION}-source
-
-MAINTAINER= haskell@FreeBSD.org
-COMMENT= The Generic Haskell compiler
-
-BROKEN= "Not compatible with latest GHC yet"
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
-BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
- bash:${PORTSDIR}/shells/bash
-
-.if !defined(WITHOUT_HUGS) # otherwise the gh-hugs-wrapper won't work
-BUILD_DEPENDS+= hugs:${PORTSDIR}/lang/hugs
-PLIST_SUB+= HUGS=""
-.else
-PLIST_SUB+= HUGS="@comment "
-.endif
-
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-.include <bsd.port.pre.mk>
-
-.if exists(${LOCALBASE}/bin/DrIFT)
-BROKEN= "Does not build with devel/hs-drift installed"
-.endif
-
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../configure
-CONFIGURE_ARGS= --without-upx
-USE_GMAKE= yes
-ALL_TARGET=
-INSTALL_TARGET= install
-
-GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
-PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
-
-PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}/build
-GHLIBDIR= ${PREFIX}/${DISTNAME:S/-source//}
-PLIST_SUB+= GH=${DISTNAME:S/-source//}
-
-post-install:
-.if defined(WITHOUT_HUGS)
- @${RM} ${PREFIX}/bin/gh-hugs
-.endif
- @${SH} ${PKGINSTALL} generic-haskell POST-INSTALL
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${CP} -R ${WRKDIR}/${DISTNAME:S/-source//}/doc/* ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/lang/generic-haskell/distinfo b/lang/generic-haskell/distinfo
deleted file mode 100644
index 192a06a1e9e9..000000000000
--- a/lang/generic-haskell/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (gh-1.42-source.tar.gz) = a741b61650f6898681857dcc07fb6564
-SIZE (gh-1.42-source.tar.gz) = 1423697
diff --git a/lang/generic-haskell/files/patch-mkAGdepend.in b/lang/generic-haskell/files/patch-mkAGdepend.in
deleted file mode 100644
index 7b09e11e4d2d..000000000000
--- a/lang/generic-haskell/files/patch-mkAGdepend.in
+++ /dev/null
@@ -1,8 +0,0 @@
---- mkAGdepend.in.orig Thu Feb 10 09:04:58 2005
-+++ mkAGdepend.in Thu Feb 10 09:05:08 2005
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/usr/local/bin/bash
-
- # special purpose version of mkAGdepend to be used by GH build system
- #
diff --git a/lang/generic-haskell/pkg-descr b/lang/generic-haskell/pkg-descr
deleted file mode 100644
index 4c6099090821..000000000000
--- a/lang/generic-haskell/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-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-install b/lang/generic-haskell/pkg-install
deleted file mode 100644
index e565647bcfa9..000000000000
--- a/lang/generic-haskell/pkg-install
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# exit on errors, use a sane path and install prefix
-# (stolen from x11/xplore)
-set -e
-PATH=/bin:/usr/bin:/sbin:/usr/sbin:
-PREFIX=${PREFIX:-${PKG_PREFIX:-/usr/local}}
-
-case $2 in
- PRE-INSTALL)
- : nothing to pre-install for this port
- ;;
- POST-INSTALL)
- # inlined copy of WRKSRC/generic-haskell.pkg below:
- libdir=${PREFIX}/gh-1.42/lib
- ${PREFIX}/bin/ghc-pkg -a <<EOF
-Package {
- name = "generic-haskell",
- import_dirs = ["${libdir}"],
- source_dirs = [],
- library_dirs = ["${libdir}"],
- hs_libraries = ["HSgeneric-haskell"],
- extra_libraries = [],
- include_dirs = [],
- c_includes = [],
- package_deps = ["base","haskell98"],
- extra_ghc_opts = [],
- extra_cc_opts = [],
- extra_ld_opts = []
-}
-EOF
- ;;
- *)
- echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/lang/generic-haskell/pkg-plist b/lang/generic-haskell/pkg-plist
deleted file mode 100644
index 786059764183..000000000000
--- a/lang/generic-haskell/pkg-plist
+++ /dev/null
@@ -1,77 +0,0 @@
-bin/gh
-bin/gh-ghc
-bin/gh-ghci
-bin/testGH
-%%HUGS%%bin/gh-hugs
-%%GH%%/bin/gh
-%%GH%%/bin/gh-bin
-%%GH%%/bin/gh-ghc
-%%GH%%/bin/gh-ghci
-%%GH%%/bin/gh-hugs
-%%GH%%/bin/testGH
-%%GH%%/bin/testGH-bin
-%%GH%%/lib/GH/Datatypes.ghi
-%%GH%%/lib/GH/Datatypes.hi
-%%GH%%/lib/GH/Datatypes.hs
-%%GH%%/lib/GH/Library.ghi
-%%GH%%/lib/GH/Library.hi
-%%GH%%/lib/GH/Library.hs
-%%GH%%/lib/GH/Library/Bounds.ghi
-%%GH%%/lib/GH/Library/Bounds.hi
-%%GH%%/lib/GH/Library/Bounds.hs
-%%GH%%/lib/GH/Library/Collect.ghi
-%%GH%%/lib/GH/Library/Collect.hi
-%%GH%%/lib/GH/Library/Collect.hs
-%%GH%%/lib/GH/Library/Compare.ghi
-%%GH%%/lib/GH/Library/Compare.hi
-%%GH%%/lib/GH/Library/Compare.hs
-%%GH%%/lib/GH/Library/DeepSeq.ghi
-%%GH%%/lib/GH/Library/DeepSeq.hi
-%%GH%%/lib/GH/Library/DeepSeq.hs
-%%GH%%/lib/GH/Library/Enum.ghi
-%%GH%%/lib/GH/Library/Enum.hi
-%%GH%%/lib/GH/Library/Enum.hs
-%%GH%%/lib/GH/Library/Eq.ghi
-%%GH%%/lib/GH/Library/Eq.hi
-%%GH%%/lib/GH/Library/Eq.hs
-%%GH%%/lib/GH/Library/Map.ghi
-%%GH%%/lib/GH/Library/Map.hi
-%%GH%%/lib/GH/Library/Map.hs
-%%GH%%/lib/GH/Library/MapM.ghi
-%%GH%%/lib/GH/Library/MapM.hi
-%%GH%%/lib/GH/Library/MapM.hs
-%%GH%%/lib/GH/Library/ReadShow.ghi
-%%GH%%/lib/GH/Library/ReadShow.hi
-%%GH%%/lib/GH/Library/ReadShow.hs
-%%GH%%/lib/GH/Library/Reduce.ghi
-%%GH%%/lib/GH/Library/Reduce.hi
-%%GH%%/lib/GH/Library/Reduce.hs
-%%GH%%/lib/GH/Library/Table.ghi
-%%GH%%/lib/GH/Library/Table.hi
-%%GH%%/lib/GH/Library/Table.hs
-%%GH%%/lib/GH/Library/ZipWith.ghi
-%%GH%%/lib/GH/Library/ZipWith.hi
-%%GH%%/lib/GH/Library/ZipWith.hs
-%%GH%%/lib/GH/Prelude.ghi
-%%GH%%/lib/GH/Prelude.hi
-%%GH%%/lib/GH/Prelude.hs
-%%GH%%/lib/HSgeneric-haskell.o
-%%GH%%/lib/interfaces/Char.ghi
-%%GH%%/lib/interfaces/List.ghi
-%%GH%%/lib/interfaces/Maybe.ghi
-%%GH%%/lib/interfaces/Monad.ghi
-%%GH%%/lib/interfaces/Prelude.ghi
-%%GH%%/lib/libHSgeneric-haskell.a
-%%GH%%/lib/optimizer/OptimizerPrelude.hs
-@dirrm %%GH%%/bin
-@dirrm %%GH%%/lib/GH/Library
-@dirrm %%GH%%/lib/GH
-@dirrm %%GH%%/lib/interfaces
-@dirrm %%GH%%/lib/optimizer
-@dirrm %%GH%%/lib
-@dirrm %%GH%%
-%%PORTDOCS%%%%DOCSDIR%%/GHUsersGuide.pdf
-%%PORTDOCS%%%%DOCSDIR%%/RELEASE
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec %D/bin/ghc-pkg -r generic-haskell
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old