2003-07-18 00:50:55 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/07/17 22:55:35 grant Exp $
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
DISTNAME= haskell-cgi-20001206
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2000-12-06 23:05:56 +01:00
|
|
|
HOMEPAGE= http://www.informatik.uni-muenchen.de/~Sven.Panne/haskell_libs/CGI.html
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= CGI module for the Hugs Haskell 98 interpreter
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
DEPENDS+= hugs98-[0-9]*:../../lang/hugs
|
|
|
|
|
2001-05-06 04:02:09 +02:00
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
|
|
|
|
|
|
NO_BUILD= #defined
|
|
|
|
|
|
|
|
HUGS_PREFIX_DEFAULT= ${LOCALBASE}
|
|
|
|
EVAL_PREFIX+= HUGS_PREFIX=hugs
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
do-configure:
|
2001-05-06 04:04:27 +02:00
|
|
|
@for i in ${WRKSRC}/*; do \
|
|
|
|
${SED} -e 's:\/soft\/bin\/runhugs:'${HUGS_PREFIX}'/bin/runhugs:g' \
|
|
|
|
$$i > $$i.tmp && ${MV} $$i.tmp $$i; \
|
2001-05-06 04:02:09 +02:00
|
|
|
done
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CGI.lhs ${PREFIX}/share/hugs/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hugs-cgi
|
2001-05-06 04:02:09 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.cgi ${PREFIX}/share/examples/hugs-cgi
|
2000-12-06 23:05:56 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/hugs-cgi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/examples/hugs-cgi
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|