head	1.24;
access;
symbols
	RELEASE_8_3_0:1.23
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.23
	RELEASE_8_2_0:1.23
	RELEASE_6_EOL:1.23
	RELEASE_8_1_0:1.23
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.21
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.21
	RELEASE_6_3_0:1.21
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.19
	RELEASE_5_4_0:1.19
	RELEASE_4_11_0:1.19
	RELEASE_5_3_0:1.19
	RELEASE_4_10_0:1.18
	RELEASE_5_2_1:1.18
	RELEASE_5_2_0:1.18
	RELEASE_4_9_0:1.18
	RELEASE_5_1_0:1.18
	RELEASE_4_8_0:1.18
	RELEASE_5_0_0:1.17
	RELEASE_4_7_0:1.15
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.14
	RELEASE_4_4_0:1.14
	RELEASE_4_3_0:1.14
	RELEASE_4_2_0:1.12
	RELEASE_4_1_1:1.12
	RELEASE_4_1_0:1.12
	RELEASE_3_5_0:1.12
	RELEASE_4_0_0:1.11
	RELEASE_3_4_0:1.11
	RELEASE_3_3_0:1.11
	RELEASE_3_2_0:1.10
	RELEASE_3_1_0:1.10
	RELEASE_2_2_8:1.10
	RELEASE_3_0_0:1.10
	RELEASE_2_2_7:1.10
	RELEASE_2_2_6:1.10
	RELEASE_2_2_5:1.10
	RELEASE_2_2_1:1.10
	RELEASE_2_2_2:1.10
	GOFER_2_30A:1.1.1.1
	GOFER:1.1.1;
locks; strict;
comment	@# @;


1.24
date	2012.11.17.05.58.47;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.30.11.54.33;	author pgj;	state Exp;
branches;
next	1.22;

1.22
date	2010.05.30.11.33.33;	author pgj;	state Exp;
branches;
next	1.21;

1.21
date	2007.07.27.21.54.30;	author obraun;	state Exp;
branches;
next	1.20;

1.20
date	2006.05.09.20.52.11;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2004.07.23.09.37.22;	author vs;	state Exp;
branches;
next	1.18;

1.18
date	2003.02.20.18.37.54;	author knu;	state Exp;
branches;
next	1.17;

1.17
date	2002.11.10.16.46.48;	author lioux;	state Exp;
branches;
next	1.16;

1.16
date	2002.11.06.22.45.45;	author adamw;	state Exp;
branches;
next	1.15;

1.15
date	2002.06.21.16.20.22;	author ijliao;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.08.12.47.20;	author kevlo;	state Exp;
branches;
next	1.13;

1.13
date	2001.01.27.05.40.03;	author will;	state Exp;
branches;
next	1.12;

1.12
date	2000.04.12.06.17.40;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	99.08.25.06.34.11;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	96.11.17.06.12.21;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	96.11.12.02.17.59;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	96.10.27.00.20.27;	author max;	state Exp;
branches;
next	1.7;

1.7
date	96.10.19.05.56.26;	author max;	state Exp;
branches;
next	1.6;

1.6
date	95.11.22.13.11.56;	author asami;	state Exp;
branches;
next	1.5;

1.5
date	95.04.24.11.25.09;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	95.04.16.21.24.37;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	95.04.15.05.44.23;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	95.04.01.12.46.37;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	95.02.08.09.41.09;	author hsu;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.02.08.09.41.10;	author hsu;	state Exp;
branches;
next	;


desc
@@


1.24
log
@Switch exporter over
@
text
@# New ports collection makefile for:	gofer
# Date created:         Wed Feb  1 01:51:59 PST 1995
# Whom:                 hsu
#
# $FreeBSD: head/lang/Gofer/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	gofer
PORTVERSION=	2.30b
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://web.cecs.pdx.edu/~mpj/goferarc/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER=	haskell@@FreeBSD.org
COMMENT=	A lazy functional language

WRKSRC=		${WRKDIR}/src

MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DUSE_READLINE=1" \
		LDFLAGS="${LDFLAGS} -lm -lreadline" OPTFLAGS=""

DOCSDIR=	${PREFIX}/share/doc/Gofer
LIBDIR=		${PREFIX}/lib/Gofer
MAN1=		gofer.1

post-patch:
	@@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKDIR}/scripts/gofer \
		${WRKDIR}/scripts/goferc

do-install:
	@@${MKDIR} ${LIBDIR}
	${INSTALL_DATA} ${WRKDIR}/*.prelude ${LIBDIR}
	${INSTALL_DATA} ${WRKDIR}/src/prelude.h ${LIBDIR}
	${REINPLACE_CMD} -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${WRKDIR}/src/gofc.h
	${INSTALL_DATA} ${WRKDIR}/src/gofc.h ${LIBDIR}
	${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(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKDIR}/docs/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.23
log
@- Bump PORTREVISION
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.22
log
@- Fix installation problem

PR:		ports/146940
Submitted by:	Stefan <schaecsn@@gmx.net>
@
text
@d10 1
@


1.21
log
@make fetchable, update WWW

PR:		ports/114637
Submitted by:	Thomas Abthorpe <thomas@@goodking.ca>
@
text
@d26 5
@


1.20
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.cse.ogi.edu/~mpj/goferarc/
@


1.19
log
@- Portlint: Use DOCSDIR
- Remove patch-aa in favour of MAKE_ARGS
- Grab for haskell-alias: This is family
@
text
@a25 2
USE_REINPLACE=	yes

@


1.18
log
@De-pkg-comment.
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d18 5
d41 2
a42 2
	@@${MKDIR} ${PREFIX}/share/doc/Gofer
	${INSTALL_DATA} ${WRKDIR}/docs/* ${PREFIX}/share/doc/Gofer
@


1.17
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d15 1
@


1.16
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a15 2
PORTCOMMENT=	A lazy functional language

@


1.15
log
@Replace ${PERL} with ${REINPLACE_CMD}

PR:		39605
Submitted by:	Oliver Braun <obraun@@informatik.unibw-muenchen.de>
@
text
@d16 2
@


1.14
log
@- Upgrade to version 2.30b
- Add WWW: line

PR: 24875
Submitted by: Ports Fury
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/Gofer/Makefile,v 1.13 2001/01/27 05:40:03 will Exp $
d20 2
d26 1
a27 1
	${PERL} -pi -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${LIBDIR}/gofc.h
@


1.13
log
@Remove inactive MAINTAINER <hsu>, he hasn't committed in over 2 years.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/Gofer/Makefile,v 1.12 2000/04/12 06:17:40 obrien Exp $
d9 1
a9 1
PORTVERSION=	2.30a
d11 2
a12 2
MASTER_SITES=	ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
DISTNAME=	gofer230a
d21 1
a21 1
	${MKDIR} ${LIBDIR}
d25 1
a25 1
	/usr/bin/perl -pi -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${LIBDIR}/gofc.h
d32 4
a35 2
	${MKDIR} ${LIBDIR}/docs
	${INSTALL_DATA} ${WRKDIR}/docs/* ${LIBDIR}/docs
@


1.12
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/Gofer/Makefile,v 1.11 1999/08/25 06:34:11 obrien Exp $
d14 1
a14 1
MAINTAINER=	hsu@@FreeBSD.org
@


1.11
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:     2.30
d5 1
a5 1
# $FreeBSD$
d8 2
a9 2
DISTNAME=	gofer230a
PKGNAME=	gofer-2.30a
d12 1
@


1.10
log
@Converted to MAN[1-9NL]
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1996/11/12 02:17:59 obrien Exp $
@


1.9
log
@CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1996/10/27 00:20:27 max Exp $
d9 2
a10 2
DISTNAME =	gofer230a
PKGNAME =	gofer-2.30a
d12 1
a12 1
MASTER_SITES =	ftp://cs.nott.ac.uk/nott-fp/languages/haskell/gofer/
d16 3
a18 2
WRKSRC = ${WRKDIR}/src
LIBDIR = ${PREFIX}/lib/Gofer
a31 3
.if !defined(NOMANCOMPRESS)
	gzip -9nf ${PREFIX}/man/man1/gofer.1
.endif
@


1.8
log
@Use ${MKDIR} macro to make directory.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/10/19 05:56:26 max Exp $
d11 1
a11 1
CATEGORIES+=	lang
d14 2
d20 1
a20 1
	${MKDIR} -p ${LIBDIR}
d34 1
a34 1
	${MKDIR} -p ${LIBDIR}/docs
@


1.7
log
@Calls perl with its full path in case perl5 is there and /usr/local/bin is
ahead of /usr/bin in the PATH variable.

Calls mkdir with its full path.

Use macros to install files.

Honor the setting of NOMANCOMPRESS.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1995/11/22 13:11:56 asami Exp $
d18 1
a18 1
	-/bin/mkdir -p ${LIBDIR}
d32 1
a32 1
	-/bin/mkdir -p ${LIBDIR}/docs
@


1.6
log
@Change category nome from "languages" to "lang".  Also remove "programming"
which appeared in some of them, everything here is a programming language! :)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1995/04/24 11:25:09 asami Exp $
d18 16
a33 15
	-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
@


1.5
log
@Update lang Makefiles, compressing some man pages and stripping some
executables along the way.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1995/04/16 21:24:37 asami Exp $
d11 1
a11 1
CATEGORIES+=	languages
@


1.4
log
@Make various install and pre-install targets depend on build.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1995/04/15 05:44:23 asami Exp $
d17 1
a17 1
install: build
a18 2
	-mkdir -p ${PREFIX}/man/man1
	-mkdir -p ${PREFIX}/bin
@


1.3
log
@Update of lang Makefiles....
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1995/04/01 12:46:37 jkh Exp $
d17 1
a17 1
install:
@


1.2
log
@Add CATEGORIES lines to a whole bunch of port Makefiles.  Some ports are in
multiple catagories - I'll expect the various MAINTAINERS to make further
adjustments (and add any KEYWORDS lines) themselves.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1995/02/08 09:41:10 hsu Exp $
d10 2
d13 1
a13 1
CATEGORIES+=	languages
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d11 1
@


1.1.1.1
log
@gofer - a lazy functional language
@
text
@@
