freebsd-ports/lang/Gofer/Makefile
David E. O'Brien d23a795680 CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
1996-11-12 02:19:40 +00:00

38 lines
1.2 KiB
Makefile

# 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.8 1996/10/27 00:20:27 max Exp $
#
DISTNAME = gofer230a
PKGNAME = gofer-2.30a
CATEGORIES= lang
MASTER_SITES = ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
MAINTAINER= hsu@FreeBSD.org
WRKSRC = ${WRKDIR}/src
LIBDIR = ${PREFIX}/lib/Gofer
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
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/gofer.1
.endif
${MKDIR} ${LIBDIR}/docs
${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
.include <bsd.port.mk>