head	1.2;
access;
symbols
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2005.11.05.09.07.32;	author kris;	state dead;
branches;
next	1.1;

1.1
date	2005.02.08.15.58.21;	author vs;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove expired ports
@
text
@#!/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
@


1.1
log
@Update to 1.42
@
text
@@

