1998-02-03 01:01:57 -05:00
|
|
|
# OpenBSD makefile for: gofer
|
|
|
|
# Version required: 2.30.
|
|
|
|
# Date created: 31 January 1998
|
|
|
|
# Whom: Don Schmidt
|
|
|
|
#
|
2002-03-21 16:09:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2002/03/21 21:09:16 espie Exp $
|
1998-02-03 01:01:57 -05:00
|
|
|
#
|
|
|
|
|
2001-05-05 21:27:52 -04:00
|
|
|
COMMENT= "lazy functional language"
|
|
|
|
|
1998-02-03 01:01:57 -05:00
|
|
|
DISTNAME= gofer230a
|
|
|
|
PKGNAME= gofer-2.30a
|
|
|
|
CATEGORIES= lang
|
2002-03-21 16:09:16 -05:00
|
|
|
NEED_VERSION= 1.515
|
2000-05-26 00:21:15 -04:00
|
|
|
|
|
|
|
MASTER_SITES= http://www.cse.ogi.edu/~mpj/goferarc/
|
1998-02-03 01:01:57 -05:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: BSD
|
2000-05-26 00:21:15 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2000-05-26 00:21:15 -04:00
|
|
|
WRKDIST= ${WRKDIR}/src
|
1998-02-03 01:01:57 -05:00
|
|
|
LIBDIR= ${PREFIX}/lib/Gofer
|
2000-05-26 00:21:15 -04:00
|
|
|
|
1998-02-03 01:01:57 -05:00
|
|
|
do-install:
|
2000-05-26 00:21:15 -04:00
|
|
|
${INSTALL_DATA_DIR} ${LIBDIR}
|
1998-02-03 01:01:57 -05: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
|
2000-05-26 00:21:15 -04:00
|
|
|
${INSTALL_DATA_DIR} ${LIBDIR}/docs
|
1998-02-03 01:01:57 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|