2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/10/28 06:30:16 asau Exp $
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
DISTNAME= haskell-cgi-20001206
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-02-22 20:24:37 +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
|
|
|
|
|
2007-02-22 20:24:37 +01:00
|
|
|
NO_BUILD= yes
|
2001-05-06 04:02:09 +02:00
|
|
|
|
|
|
|
HUGS_PREFIX_DEFAULT= ${LOCALBASE}
|
|
|
|
EVAL_PREFIX+= HUGS_PREFIX=hugs
|
2000-12-06 23:05:56 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= share/hugs/lib
|
|
|
|
|
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:
|
2011-03-17 10:57:55 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/CGI.lhs ${DESTDIR}${PREFIX}/share/hugs/lib
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/hugs-cgi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.cgi ${DESTDIR}${PREFIX}/share/examples/hugs-cgi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/examples/hugs-cgi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/examples/hugs-cgi
|
2000-12-06 23:05:56 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|