diff options
author | jtb <jtb> | 2000-12-06 22:05:56 +0000 |
---|---|---|
committer | jtb <jtb> | 2000-12-06 22:05:56 +0000 |
commit | 2fed370906507afe42cf09e8df031dcfa0fa44d2 (patch) | |
tree | 0b2f9cbc0217ba38f5a58124d8cf1b5797a59eb2 | |
parent | 52c93060330dbd72a487ae36bd27008339fbee23 (diff) | |
download | pkgsrc-2fed370906507afe42cf09e8df031dcfa0fa44d2.tar.gz |
Initial import of new "haskell-cgi" package:
CGI module for the Hugs Haskell 98 interpreter
-rw-r--r-- | www/haskell-cgi/Makefile | 28 | ||||
-rw-r--r-- | www/haskell-cgi/files/md5 | 3 | ||||
-rw-r--r-- | www/haskell-cgi/pkg/COMMENT | 1 | ||||
-rw-r--r-- | www/haskell-cgi/pkg/DESCR | 3 | ||||
-rw-r--r-- | www/haskell-cgi/pkg/PLIST | 12 |
5 files changed, 47 insertions, 0 deletions
diff --git a/www/haskell-cgi/Makefile b/www/haskell-cgi/Makefile new file mode 100644 index 00000000000..e66adf1f70a --- /dev/null +++ b/www/haskell-cgi/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/06 22:05:56 jtb Exp $ + +DISTNAME= haskell-cgi-20001206 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://www.informatik.uni-muenchen.de/~Sven.Panne/haskell_libs/CGI.html + +DEPENDS+= hugs98-[0-9]*:../../lang/hugs + +NO_BUILD= YES +EVAL_PREFIX+= PREFIX=hugs + +do-configure: + @for i in ${WRKSRC}/* ; do \ + ${SED} -e 's:\/soft\/bin\/runhugs:'${PREFIX}'/bin/runhugs:g' \ + < $$i > $$i.tmp && ${MV} $$i.tmp $$i ; done + +do-install: + ${INSTALL_DATA} ${WRKSRC}/CGI.lhs ${PREFIX}/share/hugs/lib + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hugs-cgi + for c in ${WRKSRC}/*.cgi ; do \ + ${INSTALL_SCRIPT} $$c ${PREFIX}/share/examples/hugs-cgi ; done + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/hugs-cgi + ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/examples/hugs-cgi + +.include "../../mk/bsd.pkg.mk" diff --git a/www/haskell-cgi/files/md5 b/www/haskell-cgi/files/md5 new file mode 100644 index 00000000000..f1d234556e5 --- /dev/null +++ b/www/haskell-cgi/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/06 22:05:56 jtb Exp $ + +MD5 (haskell-cgi-20001206.tar.gz) = dcd6d988b4fc30196a1e2e2d500c6da7 diff --git a/www/haskell-cgi/pkg/COMMENT b/www/haskell-cgi/pkg/COMMENT new file mode 100644 index 00000000000..fe256806ea2 --- /dev/null +++ b/www/haskell-cgi/pkg/COMMENT @@ -0,0 +1 @@ +CGI module for the Hugs Haskell 98 interpreter diff --git a/www/haskell-cgi/pkg/DESCR b/www/haskell-cgi/pkg/DESCR new file mode 100644 index 00000000000..39907aa6050 --- /dev/null +++ b/www/haskell-cgi/pkg/DESCR @@ -0,0 +1,3 @@ +This is a CGI module for the Hugs 98 Haskell interpreter. It can be +used with any webserver which supports CGI. Some example CGI scripts +are also included with the package. diff --git a/www/haskell-cgi/pkg/PLIST b/www/haskell-cgi/pkg/PLIST new file mode 100644 index 00000000000..bd98b3b2f11 --- /dev/null +++ b/www/haskell-cgi/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/06 22:05:56 jtb Exp $ +share/examples/hugs-cgi/Counter.cgi +share/examples/hugs-cgi/DownloadPapers.cgi +share/examples/hugs-cgi/EnvPassed.cgi +share/examples/hugs-cgi/Greetings.cgi +share/examples/hugs-cgi/HelloHTML.cgi +share/examples/hugs-cgi/HelloPlain.cgi +share/examples/hugs-cgi/README +share/examples/hugs-cgi/TODO +share/hugs/lib/CGI.lhs +@unexec rmdir %D/share/hugs/lib 2>/dev/null || true +@dirrm share/examples/hugs-cgi |