diff options
Diffstat (limited to 'lang/generic-haskell/pkg-install')
-rw-r--r-- | lang/generic-haskell/pkg-install | 39 |
1 files changed, 0 insertions, 39 deletions
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 |