openbsd-ports/lang/Gofer/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

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-10-27 09:12:47 -05:00
# $OpenBSD: Makefile,v 1.15 2002/10/27 14:12:47 naddy Exp $
1998-02-03 01:01:57 -05:00
#
COMMENT= "lazy functional language"
1998-02-03 01:01:57 -05:00
DISTNAME= gofer230a
PKGNAME= gofer-2.30a
CATEGORIES= lang
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
# 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
2002-10-27 09:12:47 -05:00
NO_REGRESS= Yes
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>