This isn't maintained any longer, and, according to Don Stewart, should
be removed. (And it doesn't build with recent Haskell compilers).
This commit is contained in:
parent
cf75de7983
commit
c77f37b021
@ -1,34 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2006/11/20 13:07:19 espie Exp $
|
||||
# $FreeBSD: ports/devel/hs-hpl/Makefile,v 1.11 2004/03/11 07:48:11 obraun Exp $
|
||||
|
||||
# only for archs to which the GHC ffi has been ported
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
COMMENT= "Haskell library for concurrent and distributed programming"
|
||||
|
||||
V= 0.4.3
|
||||
DISTNAME= hs-ports-${V}
|
||||
CATEGORIES= devel
|
||||
MAINTAINER= Don Stewart <dons@openbsd.org>
|
||||
HOMEPAGE= http://www.cse.unsw.edu.au/~chak/haskell/ports/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
DISTFILES= ports-${V}.tar.gz
|
||||
|
||||
MODULES= lang/ghc
|
||||
|
||||
WRKDIST= ${WRKDIR}/ports-${V}
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=--prefix=${PREFIX}
|
||||
SUBST_VARS+= V
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKDIST}/tests && sh test.sh
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (ports-0.4.3.tar.gz) = ssebiFR1OXF2iXzLo78mbg==
|
||||
RMD160 (ports-0.4.3.tar.gz) = DQv4iF3PXQcYAbUGFepSZ0aeFiM=
|
||||
SHA1 (ports-0.4.3.tar.gz) = CNllpZv+noCD72pl3p5t7Or9nYo=
|
||||
SHA256 (ports-0.4.3.tar.gz) = oqLgKi5A4GVZzGbabdd4eEE5t2xHOFGzoTD3U/ASm4M=
|
||||
SIZE (ports-0.4.3.tar.gz) = 67528
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2004/05/09 10:30:22 dons Exp $
|
||||
|
||||
install package spec
|
||||
|
||||
--- Makefile.orig 2004-05-08 10:57:59.000000000 +1000
|
||||
+++ Makefile 2004-05-08 10:58:17.000000000 +1000
|
||||
@@ -93,6 +93,7 @@ install: all
|
||||
$(DESTDIR)$(pkgimportdir)/`$(BASENAME) $$hi`;\
|
||||
$(INSTALL_DATA) $$hi $(DESTDIR)$(pkgimportdir)/`$(BASENAME) $$hi`;\
|
||||
done
|
||||
+ $(INSTALL_DATA) package.conf.in $(DESTDIR)$(pkglibdir)/package.conf.in
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-mk_config_mk_in,v 1.1.1.1 2004/05/09 10:30:22 dons Exp $
|
||||
|
||||
Install with canonical name
|
||||
|
||||
--- mk/config.mk.in.orig 2000-06-04 21:25:22.000000000 +1000
|
||||
+++ mk/config.mk.in 2004-05-09 15:12:53.000000000 +1000
|
||||
@@ -64,7 +64,7 @@ docdir = $(datadir)/doc
|
||||
|
||||
DESTDIR =
|
||||
|
||||
-PACKAGE = ports
|
||||
+PACKAGE = hs-ports
|
||||
PCKVERSION = @PORTS_VERSION@
|
||||
|
||||
pkgdatadir = $(datadir)/$(PACKAGE)-$(PCKVERSION)
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-package_conf_in,v 1.2 2005/03/26 03:37:09 dons Exp $
|
||||
|
||||
package spec
|
||||
|
||||
--- package.conf.in.orig 2004-05-08 11:13:10.000000000 +1000
|
||||
+++ package.conf.in 2004-05-08 11:15:17.000000000 +1000
|
||||
@@ -0,0 +1,15 @@
|
||||
+Package
|
||||
+ {name = "ports",
|
||||
+ import_dirs = ["${PREFIX}/lib/hs-ports-0.4.3/ghc6/import"],
|
||||
+ source_dirs = [],
|
||||
+ library_dirs = ["${PREFIX}/lib/hs-ports-0.4.3/ghc6"],
|
||||
+ hs_libraries = ["portsHS"],
|
||||
+ extra_libraries = [],
|
||||
+ include_dirs = [],
|
||||
+ c_includes = [],
|
||||
+ package_deps = ["concurrent", "posix", "lang", "haskell98"],
|
||||
+ extra_ghc_opts = [],
|
||||
+ extra_cc_opts = [],
|
||||
+ extra_ld_opts = [],
|
||||
+ framework_dirs = [],
|
||||
+ extra_frameworks = []}
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-ports-config_in,v 1.1.1.1 2004/05/09 10:30:22 dons Exp $
|
||||
|
||||
Have the old-style config mechanism report the same information as the
|
||||
package system.
|
||||
|
||||
--- ports-config.in.orig 2001-06-24 23:48:35.000000000 +1000
|
||||
+++ ports-config.in 2004-05-09 15:12:53.000000000 +1000
|
||||
@@ -73,10 +73,10 @@ while test $# -gt 0; do
|
||||
shift
|
||||
done
|
||||
|
||||
-libdir=@libdir@/ports-@PORTS_VERSION@
|
||||
+libdir=@libdir@/hs-ports-@PORTS_VERSION@
|
||||
bindir=@bindir@
|
||||
|
||||
-syslibs="-package concurrent -package lang -package posix"
|
||||
+syslibs="-package concurrent -package lang -package posix -package haskell98"
|
||||
|
||||
if test "$echo_prefix" = "yes"; then
|
||||
echo $prefix
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-tests_test_sh,v 1.1.1.1 2004/05/09 10:30:22 dons Exp $
|
||||
|
||||
Regress script
|
||||
|
||||
--- tests/test.sh.orig 2004-05-07 21:46:03.000000000 +1000
|
||||
+++ tests/test.sh 2004-05-07 21:46:03.000000000 +1000
|
||||
@@ -0,0 +1,10 @@
|
||||
+#!/bin/sh
|
||||
+
|
||||
+gmake
|
||||
+
|
||||
+./ProcPipe
|
||||
+./Simple
|
||||
+./SimpleProc
|
||||
+
|
||||
+# run wc -c
|
||||
+cat *.hs | ./TestProcesses /usr/bin/wc -c
|
@ -1,17 +0,0 @@
|
||||
The Haskell Ports Library (HPL) supports concurrent and distributed
|
||||
computing in the IO monad _without_ relying on mutable variables.
|
||||
Instead, it supplies monotone single-assignment variables and ports
|
||||
abstractions.
|
||||
|
||||
Ports are an abstraction for modelling variables whose values evolve
|
||||
over time without the need to resort to mutable variable, such as
|
||||
IORefs. More precisely, a port represents all values that a
|
||||
time-dependent variable successively takes as a stream, where each
|
||||
element of the stream corresponds to a state change - we can also say
|
||||
that a port represents a time series. Moreover, a port supports
|
||||
concurrent construction of the time series, or stream of values.
|
||||
|
||||
Ports are ideally suited for purely functional GUI interfaces that
|
||||
completely avoid the use of mutable variables. It is planned to extend
|
||||
the library to interaction between different processes possibly
|
||||
located on distinct processing nodes.
|
@ -1,5 +0,0 @@
|
||||
To link against the library, add:
|
||||
|
||||
-package ports
|
||||
|
||||
to the GHC command line
|
@ -1,19 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2005/03/26 03:37:09 dons Exp $
|
||||
bin/ports-config
|
||||
lib/hs-ports-${V}/
|
||||
lib/hs-ports-${V}/ghc6/
|
||||
lib/hs-ports-${V}/ghc6/import/
|
||||
lib/hs-ports-${V}/ghc6/import/HPL.hi
|
||||
lib/hs-ports-${V}/ghc6/import/PortThreads.hi
|
||||
lib/hs-ports-${V}/ghc6/import/Ports.hi
|
||||
lib/hs-ports-${V}/ghc6/import/PortsConfig.hi
|
||||
lib/hs-ports-${V}/ghc6/import/PortsVersion.hi
|
||||
lib/hs-ports-${V}/ghc6/import/Processes.hi
|
||||
lib/hs-ports-${V}/ghc6/import/SVars.hi
|
||||
lib/hs-ports-${V}/ghc6/import/ThreadUtils.hi
|
||||
lib/hs-ports-${V}/ghc6/libportsHS.a
|
||||
lib/hs-ports-${V}/ghc6/package.conf.in
|
||||
@exec /bin/cat %D/lib/hs-ports-${V}/ghc6/package.conf.in | /usr/bin/env PREFIX=%D %D/bin/ghc-pkg -u
|
||||
@exec /bin/rm -f %D/lib/ghc-6.2.2/package.conf.old
|
||||
@unexec %D/bin/ghc-pkg -r ports
|
||||
@unexec /bin/rm -f %D/lib/ghc-6.2.2/package.conf.old
|
Loading…
Reference in New Issue
Block a user