1995-02-08 09:41:13 +00:00
|
|
|
# New ports collection makefile for: gofer
|
|
|
|
# Version required: 2.30
|
|
|
|
# Date created: Wed Feb 1 01:51:59 PST 1995
|
|
|
|
# Whom: hsu
|
|
|
|
#
|
1995-11-22 13:13:16 +00:00
|
|
|
# $Id: Makefile,v 1.5 1995/04/24 11:25:09 asami Exp $
|
1995-02-08 09:41:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME = gofer230a
|
1995-04-15 05:44:50 +00:00
|
|
|
PKGNAME = gofer-2.30a
|
1995-11-22 13:13:16 +00:00
|
|
|
CATEGORIES+= lang
|
1995-04-15 05:44:50 +00:00
|
|
|
MASTER_SITES = ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
|
|
|
|
|
1995-02-08 09:41:13 +00:00
|
|
|
WRKSRC = ${WRKDIR}/src
|
|
|
|
LIBDIR = ${PREFIX}/lib/Gofer
|
|
|
|
|
1995-04-24 11:29:30 +00:00
|
|
|
do-install:
|
1995-02-08 09:41:13 +00:00
|
|
|
-mkdir -p ${LIBDIR}
|
|
|
|
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>
|