openbsd-ports/lang/Gofer/Makefile

43 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
#
# $OpenBSD: Makefile,v 1.6 2000/02/22 20:27:33 turan Exp $
1998-02-03 01:01:57 -05:00
#
DISTNAME= gofer230a
PKGNAME= gofer-2.30a
CATEGORIES= lang
MASTER_SITES= ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
2000-02-10 19:37:15 -05:00
NEED_VERSION= 1.191
1998-02-03 01:01:57 -05:00
MAINTAINER= ports@OpenBSD.ORG
1998-02-03 01:01:57 -05:00
2000-02-12 01:29:49 -05:00
LICENSE_TYPE= BSD
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-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/src
1998-02-03 01:01:57 -05:00
LIBDIR= ${PREFIX}/lib/Gofer
MAN1= gofer.1
do-install:
mkdir -p ${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
mkdir -p ${LIBDIR}/docs
1998-02-03 01:01:57 -05:00
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
.include <bsd.port.mk>