aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-green-card
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-08-26 13:36:50 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-08-26 13:36:50 +0000
commita6c0334406c4bfa0e854728e897fab7e253c069a (patch)
tree628109eef886ff45e769f8da2489f2c396a49e10 /devel/hs-green-card
parent161b5c8633a111f81b1766cb73247ce74b9fff86 (diff)
downloadports-a6c0334406c4bfa0e854728e897fab7e253c069a.tar.gz
ports-a6c0334406c4bfa0e854728e897fab7e253c069a.zip
Notes
Diffstat (limited to 'devel/hs-green-card')
-rw-r--r--devel/hs-green-card/Makefile32
-rw-r--r--devel/hs-green-card/distinfo1
-rw-r--r--devel/hs-green-card/files/patch-src::Makefile12
-rw-r--r--devel/hs-green-card/pkg-comment1
-rw-r--r--devel/hs-green-card/pkg-descr8
-rw-r--r--devel/hs-green-card/pkg-plist26
6 files changed, 80 insertions, 0 deletions
diff --git a/devel/hs-green-card/Makefile b/devel/hs-green-card/Makefile
new file mode 100644
index 000000000000..64a5b778b72f
--- /dev/null
+++ b/devel/hs-green-card/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: green-card
+# Date created: 01 June 2002
+# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= green-card
+PORTVERSION= 2.04
+CATEGORIES= devel
+MASTER_SITES= http://www.galois.com/~sof/
+DISTNAME= gc-${PORTVERSION}
+
+MAINTAINER= obraun@informatik.unibw-muenchen.de
+
+BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
+
+WRKSRC= ${WRKDIR}/gc-${PORTVERSION}
+
+USE_GMAKE= yes
+ALL_TARGET= all
+
+do-install:
+ @(cd ${WRKSRC}/src && ${CP} green-card ${PREFIX}/bin)
+ -@mkdir ${PREFIX}/lib/green-card
+ @(cd ${WRKSRC}/lib/ghc && ${CP} StdDIS.* libHSgreencard.a ${PREFIX}/lib/green-card)
+.if !defined(NOPORTDOCS)
+ @(cd ${WRKSRC}/doc && ${CP} -R green-card ${PREFIX}/share/doc \
+ && ${CP} green-card.dvi.gz green-card.ps.gz ${DOCSDIR})
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/hs-green-card/distinfo b/devel/hs-green-card/distinfo
new file mode 100644
index 000000000000..cd110730e5ab
--- /dev/null
+++ b/devel/hs-green-card/distinfo
@@ -0,0 +1 @@
+MD5 (gc-2.04.tar.gz) = e55e57222d0f962025bfdadc13d13f29
diff --git a/devel/hs-green-card/files/patch-src::Makefile b/devel/hs-green-card/files/patch-src::Makefile
new file mode 100644
index 000000000000..9c168a15e363
--- /dev/null
+++ b/devel/hs-green-card/files/patch-src::Makefile
@@ -0,0 +1,12 @@
+--- src/Makefile.orig Wed May 1 23:27:47 2002
++++ src/Makefile Wed May 1 23:28:02 2002
+@@ -1,9 +1,6 @@
+ # (GNU) Makefile for Green Card (GHC)
+
+ ### User serviceable parts ###
+-HC = /path/to/ghc
+-CC = gcc
+-RM = rm
+
+ # Options to compile the sources with.
+
diff --git a/devel/hs-green-card/pkg-comment b/devel/hs-green-card/pkg-comment
new file mode 100644
index 000000000000..1740ffaefde1
--- /dev/null
+++ b/devel/hs-green-card/pkg-comment
@@ -0,0 +1 @@
+A foreign function interface preprocessor for Haskell
diff --git a/devel/hs-green-card/pkg-descr b/devel/hs-green-card/pkg-descr
new file mode 100644
index 000000000000..e90df2606632
--- /dev/null
+++ b/devel/hs-green-card/pkg-descr
@@ -0,0 +1,8 @@
+Green Card is a foreign function interface preprocessor for Haskell,
+simplifying the task of interfacing Haskell programs to external libraries
+(which are normally exposed via C interfaces).
+
+WWW: http://haskell.org/greencard/
+
+-- Oliver Braun
+obraun@informatik.unibw-muenchen.de
diff --git a/devel/hs-green-card/pkg-plist b/devel/hs-green-card/pkg-plist
new file mode 100644
index 000000000000..c593838e66f4
--- /dev/null
+++ b/devel/hs-green-card/pkg-plist
@@ -0,0 +1,26 @@
+bin/green-card
+lib/green-card/StdDIS.gc
+lib/green-card/StdDIS.hi
+lib/green-card/StdDIS.hs
+lib/green-card/StdDIS.o
+lib/green-card/libHSgreencard.a
+%%PORTDOCS%%share/doc/green-card/directives.html
+%%PORTDOCS%%share/doc/green-card/dis-std.html
+%%PORTDOCS%%share/doc/green-card/dis.html
+%%PORTDOCS%%share/doc/green-card/docbook.css
+%%PORTDOCS%%share/doc/green-card/extensions.html
+%%PORTDOCS%%share/doc/green-card/fill-in.html
+%%PORTDOCS%%share/doc/green-card/goals.html
+%%PORTDOCS%%share/doc/green-card/green-card.dvi.gz
+%%PORTDOCS%%share/doc/green-card/green-card.ps.gz
+%%PORTDOCS%%share/doc/green-card/greencard.html
+%%PORTDOCS%%share/doc/green-card/import.html
+%%PORTDOCS%%share/doc/green-card/invoking.html
+%%PORTDOCS%%share/doc/green-card/motivation.html
+%%PORTDOCS%%share/doc/green-card/overview.html
+%%PORTDOCS%%share/doc/green-card/proc-spec.html
+%%PORTDOCS%%share/doc/green-card/related.html
+%%PORTDOCS%%share/doc/green-card/type-sig.html
+%%PORTDOCS%%share/doc/green-card/using.html
+%%PORTDOCS%%@dirrm share/doc/green-card
+@dirrm lib/green-card