head	1.37;
access;
symbols
	RELEASE_8_3_0:1.32
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.31
	RELEASE_8_2_0:1.31
	RELEASE_6_EOL:1.30
	RELEASE_8_1_0:1.27
	RELEASE_7_3_0:1.26
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2;
locks; strict;
comment	@# @;


1.37
date	2012.11.17.05.58.52;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.11.07.13.30.06;	author tdb;	state Exp;
branches;
next	1.35;

1.35
date	2012.08.20.07.09.24;	author erwin;	state Exp;
branches;
next	1.34;

1.34
date	2012.07.29.11.17.02;	author cs;	state Exp;
branches;
next	1.33;

1.33
date	2012.06.01.05.21.18;	author dinoex;	state Exp;
branches;
next	1.32;

1.32
date	2011.03.19.13.15.23;	author ale;	state Exp;
branches;
next	1.31;

1.31
date	2010.12.04.07.32.21;	author ade;	state Exp;
branches;
next	1.30;

1.30
date	2010.10.16.11.52.14;	author ade;	state Exp;
branches;
next	1.29;

1.29
date	2010.10.07.15.18.53;	author ade;	state Exp;
branches;
next	1.28;

1.28
date	2010.09.15.18.34.38;	author ade;	state Exp;
branches;
next	1.27;

1.27
date	2010.03.28.06.38.54;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2010.02.17.14.19.40;	author tdb;	state Exp;
branches;
next	1.25;

1.25
date	2010.01.18.14.22.05;	author tdb;	state Exp;
branches;
next	1.24;

1.24
date	2010.01.13.15.56.22;	author tdb;	state Exp;
branches;
next	1.23;

1.23
date	2009.12.09.09.45.32;	author tdb;	state Exp;
branches;
next	1.22;

1.22
date	2009.11.11.14.41.07;	author tdb;	state Exp;
branches;
next	1.21;

1.21
date	2009.11.09.14.06.59;	author tdb;	state Exp;
branches;
next	1.20;

1.20
date	2009.06.20.19.03.31;	author tdb;	state Exp;
branches;
next	1.19;

1.19
date	2009.05.21.10.52.11;	author tdb;	state Exp;
branches;
next	1.18;

1.18
date	2009.03.31.22.25.01;	author tdb;	state Exp;
branches;
next	1.17;

1.17
date	2009.03.23.13.46.42;	author tdb;	state Exp;
branches;
next	1.16;

1.16
date	2009.03.19.13.23.25;	author tdb;	state Exp;
branches;
next	1.15;

1.15
date	2009.02.09.14.39.24;	author tdb;	state Exp;
branches;
next	1.14;

1.14
date	2009.02.05.14.42.20;	author tdb;	state Exp;
branches;
next	1.13;

1.13
date	2008.11.08.13.59.15;	author tdb;	state Exp;
branches;
next	1.12;

1.12
date	2008.10.29.15.31.32;	author tdb;	state Exp;
branches;
next	1.11;

1.11
date	2008.09.27.21.47.19;	author tdb;	state Exp;
branches;
next	1.10;

1.10
date	2008.09.07.23.12.52;	author tdb;	state Exp;
branches;
next	1.9;

1.9
date	2008.07.24.13.53.36;	author tdb;	state Exp;
branches;
next	1.8;

1.8
date	2008.07.19.13.28.27;	author tdb;	state Exp;
branches;
next	1.7;

1.7
date	2008.07.14.14.52.46;	author tdb;	state Exp;
branches;
next	1.6;

1.6
date	2008.07.07.18.42.58;	author tdb;	state Exp;
branches;
next	1.5;

1.5
date	2008.03.13.14.28.26;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2007.05.19.20.13.42;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2006.09.20.11.21.46;	author stas;	state Exp;
branches;
next	1.2;

1.2
date	2006.01.28.13.25.28;	author tdb;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.16.11.14.42;	author tdb;	state Exp;
branches;
next	;


desc
@@


1.37
log
@Switch exporter over
@
text
@# Created by: Tim Bishop <tdb@@FreeBSD.org>
# $FreeBSD: head/lang/kroc/Makefile 307133 2012-11-07 13:30:06Z tdb $

PORTNAME=	kroc
PORTVERSION=	1.5.r6372
PORTREVISION=	4
CATEGORIES=	lang
MASTER_SITES=	http://ftp.i-scream.org/pub/kroc/ \
		ftp://ftp.i-scream.org/pub/kroc/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r/-r/}

MAINTAINER=	tdb@@FreeBSD.org
COMMENT=	The Kent Retargetable occam-pi Compiler

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash

ONLY_FOR_ARCHS=	i386

USE_BZIP2=	yes
USE_LDCONFIG=	yes
USE_GL=		yes
USE_MYSQL=	yes
USE_PYTHON=	yes
USE_SDL=	sdl sound
USE_GNOME=	libxslt
USE_AUTOTOOLS=	autoconf:env automake:env
USE_XORG=	xmu xi
GNU_CONFIGURE=	yes

MAN1=		kmakef.1 kroc.1 mkoccdeps.1 occ21.1 occamdoc.1
MAN3=		libconvert-inmos.3 libcourse-cycles.3 libcourse-nets.3 \
		libcourse-utils.3 libfile.3 libhostio-inmos.3 libmath-inmos.3 \
		libproc.3 libsock.3 libstreamio-inmos.3 libstring-inmos.3

# Fix pkgconfig location
post-patch:
	@@${FIND} ${WRKSRC} -name "Makefile.am" -type f | \
		${XARGS} ${REINPLACE_CMD} -e \
		's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'

pre-configure:
	@@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} \
		${AUTORECONF} -f -i)

regression-test:
	@@cd ${WRKSRC} && ${MAKE} check

.include <bsd.port.mk>
@


1.36
log
@SVN rev 307133 on 2012-11-07 13:30:06Z by tdb

- Fix build by removing AM_C_PROTOTYPES from configure.ac

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.35
log
@SVN rev 302783 on 2012-08-20 07:09:24Z by erwin

Mark BROKEN: does not build

Submitted by:	pointyhat
@
text
@d1 1
a1 4
# New ports collection makefile for:	kroc
# Date created:				15 January 2006
# Whom:					Tim Bishop <tdb@@FreeBSD.org>
#
a2 1
#
a19 1
BROKEN=		does not build
@


1.34
log
@SVN rev 301684 on 2012-07-29 11:17:02Z by cs

Fix typos in COMMENT

Approved by:	portmgr@@ (implicit)
@
text
@d24 1
@


1.33
log
@- update png to 1.5.10
@
text
@d17 1
a17 1
COMMENT=	The Kent Retargettable occam-pi Compiler
@


1.32
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 1
a20 1
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
@


1.31
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.30
log
@Punt autoconf267->autoconf268
@
text
@d32 1
a32 1
USE_AUTOTOOLS=	autoconf:268:env automake:111:env
@


1.29
log
@Migration of final set of working ports from automake{19,110} -> 111
@
text
@d32 1
a32 1
USE_AUTOTOOLS=	autoconf:267:env automake:111:env
@


1.28
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d32 1
a32 1
USE_AUTOTOOLS=	autoconf:267:env automake:110:env
@


1.27
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	1
d32 1
a32 1
USE_AUTOTOOLS=	autoconf:262:env automake:110:env
@


1.26
log
@- Update to snapshot r6372.

Feature safe:	yes
@
text
@d10 1
d20 1
a20 1
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
@


1.25
log
@- Update to snapshot r6310.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r6310
@


1.24
log
@- Update to snapshot r6305.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r6305
@


1.23
log
@- Update to snapshot r6283.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r6283
@


1.22
log
@- Update to snapshot r6222.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r6222
@


1.21
log
@- Update to snapshot r6215.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r6215
@


1.20
log
@- Update to snapshot r5858.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5858
@


1.19
log
@- Update to snapshot r5789.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5789
@


1.18
log
@- Update to snapshot r5576.

  This snapshot has a significantly reworked build system (now GNU
  autoconf and automake) which makes this port much simpler. I've
  worked with the upstream authors to ensure this works on FreeBSD and
  have helped them to remove the dependence on gmake and the need for
  us to have local patches.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5576
@


1.17
log
@- Update to snapshot r5519.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5519
d20 1
a20 2

# Note to maintainer: remember to test with NOPORTDOCS and NOPORTEXAMPLES
a25 1
USE_GMAKE=	yes
d33 1
a39 2
FAKEDIR=	${WRKDIR}/fake

d46 3
a48 35
# Path options to build are inconsistent
do-build:
	@@cd ${WRKSRC} && \
		CPPFLAGS=-I${PREFIX}/include \
		LDFLAGS=-L${PREFIX}/lib \
		./build \
			--prefix=${FAKEDIR} \
			--configdir=${FAKEDIR}/etc \
			--krocdir=/${DATADIR_REL} \
			--mandir=/man
.ifndef(NOPORTEXAMPLES)
	@@cd ${WRKSRC} && \
		CPPFLAGS=-I${PREFIX}/include \
		LDFLAGS=-L${PREFIX}/lib \
		./build \
			--prefix=${FAKEDIR} \
			--configdir=${FAKEDIR}/etc \
			--krocdir=/${DATADIR_REL} \
			--mandir=/man \
			examples
.endif
.ifndef(NOPORTDOCS)
	@@cd ${WRKSRC} && \
		CPPFLAGS=-I${PREFIX}/include \
		LDFLAGS=-L${PREFIX}/lib \
		./build \
			--prefix=${FAKEDIR} \
			--configdir=${FAKEDIR}/etc \
			--krocdir=/${DATADIR_REL} \
			--mandir=/man \
			doc
.endif

FAKEDIR_FILES=	bin/kroc bin/occamdoc bin/occbuild \
		libdata/pkgconfig/ccsp-1.6.pc
d51 1
a51 20
	@@cd ${WRKSRC} && \
		CPPFLAGS=-I${PREFIX}/include \
		LDFLAGS=-L${PREFIX}/lib \
		./build \
			--prefix=${FAKEDIR} \
			--configdir=${FAKEDIR}/etc \
			--krocdir=/${DATADIR_REL} \
			--mandir=/man \
			tests

pre-install:
	@@${RM} ${FAKEDIR}/bin/kroc-setup.sh ${FAKEDIR}/bin/kroc-setup.csh
.for i in ${FAKEDIR_FILES}
	@@${REINPLACE_CMD} \
		-i '' -e 's|${FAKEDIR}|${PREFIX}|' \
		${FAKEDIR}/$i
.endfor

do-install:
	@@cd ${FAKEDIR} && ${TAR} -cf - . | ${TAR} -xf - -C ${PREFIX}
@


1.16
log
@- Update to snapshot r5498.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5498
@


1.15
log
@- Update to snapshot r5293.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5293
@


1.14
log
@- Fix build after X.org upgrade by adding USE_XORG with the required
  components (these components came in via libGLU before, but its
  dependencies changed with the X.org upgrade).
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5191
@


1.13
log
@- Update to snapshot r5191.
@
text
@d34 1
@


1.12
log
@- Update to snapshot r5155.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5155
@


1.11
log
@- Update to snapshot r5103.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5103
@


1.10
log
@- Update to snapshot r5027.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5027
@


1.9
log
@- Update to snapshot r5005.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r5005
@


1.8
log
@- Update to snapshot r4966.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r4966
@


1.7
log
@Update to snapshot r4944.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r4944
@


1.6
log
@- Update to 1.5.r4932, revision 4932 on the kroc-1.5 stable branch.
- Build and install the documentation and examples.
- Add regression-test target to run KRoC's testsuite.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.r4932
@


1.5
log
@- Chase devel/sdl12 shlib version bump
@
text
@d9 1
a9 2
PORTVERSION=	1.4.0
PORTREVISION=	4
d11 3
a13 2
MASTER_SITES=	http://www.cs.kent.ac.uk/projects/ofa/kroc/ \
		http://www.frmb.org/download/
d19 3
d26 13
a38 8
USE_SDL=	sdl

MAN1=		cputimerutil.1 mkoccdeps.1 occ21.1 kroc.1 kmakef.1
MAN3=		libconvert-inmos.3 libhostio-inmos.3 libmath-inmos.3 \
		libstreamio-inmos.3 libstring-inmos.3 libsock.3 \
		libfile.3 libproc.3 libcourse-cycles.3 libcourse-nets.3 \
		libcourse-utils.3 libsdlraster.3
MAN5=		kroc.conf.5
d42 1
a42 3
RE_FILES=	build src/ccsp-1.6/common/rtsmain.c \
		src/kroc-1.4/kroc.in src/kroc-1.4/kroc.conf.5

d44 3
a46 6
.for i in ${RE_FILES}
	@@${REINPLACE_CMD} \
		-e 's|%%PREFIX%%|${PREFIX}|' \
		-e 's|%%FAKEDIR%%|${FAKEDIR}|' \
		${WRKSRC}/$i
.endfor
d50 12
a61 2
	cd ${WRKSRC} && \
		SDL_CONFIG=${SDL_CONFIG} \
d63 17
a79 3
		--prefix=${FAKEDIR} \
		--configdir=${FAKEDIR}/etc \
		--mandir=/man
d81 13
a93 1
FAKEDIR_FILES=	bin/kroc etc/kroc.conf
d96 1
a96 3
.ifdef(NOPORTDOCS)
	@@cd ${FAKEDIR} && ${RM} -Rf share/kroc/doc
.endif
d99 1
a99 1
		-e 's|${FAKEDIR}|${PREFIX}|' \
a100 1
	@@${RM} ${FAKEDIR}/$i.bak
d104 1
a104 1
	cd ${FAKEDIR} && ${TAR} -cf - . | ${TAR} -xf - -C ${PREFIX}
@


1.4
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@ - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
   structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Mark only for i386 (application only supports i386 architecture).
- Remove USE_REINPLACE.
@
text
@d10 1
@


1.1
log
@Add kroc 1.4.0, the Kent Retargettable occam-pi Compiler.
@
text
@d19 2
a22 1
USE_REINPLACE=	yes
@

