1995-02-08 09:41:13 +00:00
|
|
|
# New ports collection makefile for: gofer
|
|
|
|
# Date created: Wed Feb 1 01:51:59 PST 1995
|
|
|
|
# Whom: hsu
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1995-02-08 09:41:13 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= gofer
|
|
|
|
PORTVERSION= 2.30a
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1996-11-17 06:12:51 +00:00
|
|
|
MASTER_SITES= ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
|
2000-04-12 06:21:15 +00:00
|
|
|
DISTNAME= gofer230a
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1996-11-12 02:19:40 +00:00
|
|
|
MAINTAINER= hsu@FreeBSD.org
|
|
|
|
|
1996-11-17 06:12:51 +00:00
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
|
|
LIBDIR= ${PREFIX}/lib/Gofer
|
|
|
|
MAN1= gofer.1
|
1995-02-08 09:41:13 +00:00
|
|
|
|
1995-04-24 11:29:30 +00:00
|
|
|
do-install:
|
1996-11-12 02:19:40 +00:00
|
|
|
${MKDIR} ${LIBDIR}
|
1996-10-19 05:56:26 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.prelude ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/src/prelude.h ${LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/src/gofc.h ${LIBDIR}
|
|
|
|
/usr/bin/perl -pi -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${LIBDIR}/gofc.h
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/src/runtime.o ${LIBDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/scripts/gofer ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/scripts/goferc ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/src/gofer ${LIBDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/src/gofc ${LIBDIR}
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/docs/gofer.1 ${PREFIX}/man/man1
|
1996-11-12 02:19:40 +00:00
|
|
|
${MKDIR} ${LIBDIR}/docs
|
1996-10-19 05:56:26 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
|
1995-02-08 09:41:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|