blob: 9a5d87e990b1441818537f067dbd3e006d153468 (
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
36
|
# 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.3 1995/04/15 05:44:23 asami Exp $
#
DISTNAME = gofer230a
PKGNAME = gofer-2.30a
CATEGORIES+= languages
MASTER_SITES = ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
WRKSRC = ${WRKDIR}/src
LIBDIR = ${PREFIX}/lib/Gofer
install: build
-mkdir -p ${LIBDIR}
-mkdir -p ${PREFIX}/man/man1
-mkdir -p ${PREFIX}/bin
install -c -m 444 ${WRKDIR}/*.prelude ${LIBDIR}
install -c -m 444 ${WRKDIR}/src/prelude.h ${LIBDIR}
install -c -m 444 ${WRKDIR}/src/gofc.h ${LIBDIR}
perl -pi -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${LIBDIR}/gofc.h
install -c -m 444 ${WRKDIR}/src/runtime.o ${LIBDIR}
install -c -m 555 ${WRKDIR}/scripts/gofer ${PREFIX}/bin
install -c -m 555 ${WRKDIR}/scripts/goferc ${PREFIX}/bin
install -c -m 555 ${WRKDIR}/src/gofer ${LIBDIR}
install -c -m 555 ${WRKDIR}/src/gofc ${LIBDIR}
install -c -m 444 ${WRKDIR}/docs/gofer.1 ${PREFIX}/man/man1
-rm -f ${PREFIX}/man/man1/gofer.1.gz
gzip -9 ${PREFIX}/man/man1/gofer.1
-mkdir -p ${LIBDIR}/docs
install -c -m 444 ${WRKDIR}/docs/* ${LIBDIR}/docs
.include <bsd.port.mk>
|