mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# New ports collection makefile for: gofer
|
|
# Date created: Wed Feb 1 01:51:59 PST 1995
|
|
# Whom: hsu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gofer
|
|
PORTVERSION= 2.30a
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
|
|
DISTNAME= gofer230a
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
LIBDIR= ${PREFIX}/lib/Gofer
|
|
MAN1= gofer.1
|
|
|
|
do-install:
|
|
${MKDIR} ${LIBDIR}
|
|
${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} ${LIBDIR}/docs
|
|
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
|
|
|
|
.include <bsd.port.mk>
|