blob: 68f3f2a6548d64d6dca044047dd3f86b42e0de09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: gofer
# Version required: 2.30
# Date created: Wed Feb 1 01:51:59 PST 1995
# Whom: hsu
#
# $Id: Makefile,v 1.7 1996/10/19 05:56:26 max Exp $
#
DISTNAME = gofer230a
PKGNAME = gofer-2.30a
CATEGORIES+= lang
MASTER_SITES = ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
WRKSRC = ${WRKDIR}/src
LIBDIR = ${PREFIX}/lib/Gofer
do-install:
${MKDIR} -p ${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
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/gofer.1
.endif
${MKDIR} -p ${LIBDIR}/docs
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
.include <bsd.port.mk>
|