diff options
author | jtb <jtb@pkgsrc.org> | 2000-12-06 22:05:56 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2000-12-06 22:05:56 +0000 |
commit | da1898a4e22cc0e0872a933763dbb1c8c3869480 (patch) | |
tree | 0b2f9cbc0217ba38f5a58124d8cf1b5797a59eb2 /www/haskell-cgi/Makefile | |
parent | 79b0f1c7b6cfcf27edc116568b02b003dea13ba0 (diff) | |
download | pkgsrc-da1898a4e22cc0e0872a933763dbb1c8c3869480.tar.gz |
Initial import of new "haskell-cgi" package:
CGI module for the Hugs Haskell 98 interpreter
Diffstat (limited to 'www/haskell-cgi/Makefile')
-rw-r--r-- | www/haskell-cgi/Makefile | 28 |
1 files changed, 28 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" |