head	1.38;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.28
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.6;
locks; strict;
comment	@# @;


1.38
date	2013.03.08.21.56.28;	author svnexp;	state Exp;
branches;
next	1.37;

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

1.36
date	2012.12.18.23.19.34;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2012.12.16.06.16.56;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.33;

1.33
date	2012.10.01.13.23.35;	author culot;	state Exp;
branches;
next	1.32;

1.32
date	2012.09.08.07.47.30;	author linimon;	state Exp;
branches;
next	1.31;

1.31
date	2012.07.30.19.10.52;	author culot;	state Exp;
branches;
next	1.30;

1.30
date	2012.07.04.18.31.30;	author culot;	state Exp;
branches;
next	1.29;

1.29
date	2012.02.07.21.10.03;	author pgollucci;	state Exp;
branches;
next	1.28;

1.28
date	2011.08.02.12.11.59;	author culot;	state Exp;
branches;
next	1.27;

1.27
date	2011.07.16.05.31.43;	author linimon;	state Exp;
branches;
next	1.26;

1.26
date	2011.07.10.21.06.39;	author bapt;	state Exp;
branches;
next	1.25;

1.25
date	2011.05.10.13.28.06;	author culot;	state Exp;
branches;
next	1.24;

1.24
date	2011.01.31.13.19.56;	author az;	state Exp;
branches;
next	1.23;

1.23
date	2011.01.05.18.12.02;	author pav;	state Exp;
branches;
next	1.22;

1.22
date	2010.12.15.11.37.48;	author bapt;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.07.21.49.08;	author pgollucci;	state Exp;
branches;
next	1.20;

1.20
date	2010.11.05.09.42.44;	author skv;	state Exp;
branches;
next	1.19;

1.19
date	2010.11.04.22.03.47;	author skv;	state Exp;
branches;
next	1.18;

1.18
date	2010.10.10.09.40.12;	author pgollucci;	state Exp;
branches;
next	1.17;

1.17
date	2010.10.10.07.07.34;	author pgollucci;	state Exp;
branches;
next	1.16;

1.16
date	2010.09.09.19.06.43;	author pgollucci;	state Exp;
branches;
next	1.15;

1.15
date	2010.08.02.12.51.04;	author skv;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.29.18.05.19;	author skv;	state Exp;
branches;
next	1.13;

1.13
date	2010.07.23.14.26.00;	author skv;	state Exp;
branches;
next	1.12;

1.12
date	2010.07.02.11.19.12;	author skv;	state Exp;
branches;
next	1.11;

1.11
date	2010.06.07.02.15.53;	author pgollucci;	state Exp;
branches;
next	1.10;

1.10
date	2010.05.30.18.23.30;	author skv;	state Exp;
branches;
next	1.9;

1.9
date	2010.05.30.18.02.47;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2010.04.23.21.04.23;	author skv;	state Exp;
branches;
next	1.7;

1.7
date	2010.03.22.13.33.12;	author skv;	state Exp;
branches;
next	1.6;

1.6
date	2010.02.28.13.02.52;	author skv;	state Exp;
branches;
next	1.5;

1.5
date	2010.02.21.22.02.52;	author skv;	state Exp;
branches;
next	1.4;

1.4
date	2010.02.17.21.48.19;	author skv;	state Exp;
branches;
next	1.3;

1.3
date	2010.02.13.04.41.37;	author pgollucci;	state Exp;
branches;
next	1.2;

1.2
date	2010.02.13.02.43.12;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2010.02.05.03.59.25;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Aliaksandr Zahatski <zahatski@@gmail.com>
# $FreeBSD: head/lang/rakudo/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	rakudo
PORTVERSION=	2012.11
PORTEPOCH=	4
CATEGORIES=	lang
MASTER_SITES=	http://cloud.github.com/downloads/rakudo/star/
DISTNAME=	${PORTNAME}-star-${PORTVERSION}

MAINTAINER=	perl@@FreeBSD.org
COMMENT=	The Rakudo Perl 6 Compiler targets the Parrot Virtual Machine

LICENSE=	ART20

BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4 \
		${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
		${LOCALBASE}/bin/pcre-config:${PORTSDIR}/devel/pcre
LIB_DEPENDS=	icudata:${PORTSDIR}/devel/icu \
		gmp.10:${PORTSDIR}/math/gmp

CONFLICTS=	parrot-[0-9]*

PARROT_VERSION=4.6.0
INSTALL_TARGET=	install
CONFIGURE_SCRIPT=	Configure.pl
CONFIGURE_PARROT_ARGS=	--cc=${CC} --cxx=${CXX} --ld=${CC} --ccflags="${CFLAGS}" \
		--ldflags="${LDFLAGS} -L/usr/lib -L${LOCALBASE}/lib" \
		--icu-config=${LOCALBASE}/bin/icu-config \
		--optimize --parrot_is_shared --inline \
		--lex=${LOCALBASE}/bin/flex \
		--yacc=${LOCALBASE}/bin/bison \
		--verbose \
		--prefix=${PREFIX}
CONFIGURE_ARGS=	--with-parrot=${PREFIX}/bin/parrot \
		--with-nqp=${PREFIX}/bin/nqp

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=		Does not compile on ia64, powerpc, or sparc64
.endif

USES+=		bison
USE_PERL5_BUILD=	yes
USE_GMAKE=	yes

MAN1=		perl6.1 rakudo.1
MANCOMPRESSED=	no

PLIST_SUB+=	PARROT_VERSION=${PARROT_VERSION}

EXTRA_DOCS=	UsingPerl6-draft.pdf cheatsheet.txt

PORTDOCS=	${EXTRA_DOCS}

do-configure:
	cd ${WRKSRC}/parrot \
	&& ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_PARROT_ARGS} \
	&& ${MAKE} installable PREFIX=${PREFIX}

do-build:

do-install:
	cd ${WRKSRC}/parrot \
	&& ${MAKE} install-dev PREFIX=${PREFIX} \
	&& cd ${WRKSRC}/nqp \
	&& ${PERL} ${CONFIGURE_SCRIPT} --with-parrot=${PREFIX}/bin/parrot \
					--prefix=${PREFIX} \
	&& ${MAKE} install PREFIX=${PREFIX} \
	&& cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}\
	&& ${MAKE} PREFIX=${PREFIX} && ${MAKE} ${INSTALL_TARGET} PREFIX=${PREFIX}

post-install:
	${INSTALL_MAN} ${WRKSRC}/perl6.1 ${MAN1PREFIX}/man/man1/perl6.1
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${EXTRA_DOCS:S!^!${WRKSRC}/docs/!} ${DOCSDIR}/
.endif

test: build
	${MAKE} -C ${WRKSRC} test

regression-test: test

x-generate-plist:
	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
	| ${SED} -E \
	's,.*share/nls/.+$$,,g \
	;s,${PARROT_VERSION}(/.+)?$$,%%PARROT_VERSION%%\1,g \
	' | ${TR} -s '\n') > temp-pkg-plist

.include <bsd.port.post.mk>
@


1.37
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310182
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310182 | culot | 2013-01-10 14:34:07 +0000 (Thu, 10 Jan 2013) | 6 lines
## SVN ##
## SVN ## - Update to 2012.11
## SVN ##
## SVN ## Changes:	http://rakudo.org/2012/11/28/rakudo-star-2012-11-released/
## SVN ## PR:		ports/173983
## SVN ## Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/rakudo/Makefile 310182 2013-01-10 14:34:07Z culot $
d44 1
a44 1
USE_BISON=	build
@


1.36
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309206
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309206 | bapt | 2012-12-18 23:09:07 +0000 (Tue, 18 Dec 2012) | 2 lines
## SVN ##
## SVN ## Chase icu, graphite2 and libexttextcat bump
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/rakudo/Makefile 309206 2012-12-18 23:09:07Z bapt $
d5 1
a5 1
PORTVERSION=	2012.09
@


1.35
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308985
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308985 | az | 2012-12-16 06:12:28 +0000 (Sun, 16 Dec 2012) | 5 lines
## SVN ##
## SVN ## - Set default perl version for ports which currently using
## SVN ##   (5.x+ and x < 12) scheme.
## SVN ##
## SVN ## Approved by: bapt@@ (portmgr@@)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/rakudo/Makefile 308985 2012-12-16 06:12:28Z az $
d6 1
a6 1
PORTEPOCH=	3
@


1.34
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/rakudo/Makefile 305119 2012-10-01 13:23:35Z culot $
d45 1
a45 1
USE_PERL5_BUILD=	5.8.0+
@


1.33
log
@SVN rev 305119 on 2012-10-01 13:23:35Z by culot

- Update to 2012.09

Changelog:	http://rakudo.org/2012/09/30/rakudo-star-2012-09-released/
PR:		ports/172203
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.32
log
@SVN rev 303877 on 2012-09-08 07:47:30Z by linimon

Also mark broken on powerpc (and, presumably, ia64).

Hat:		portmgr
@
text
@d1 1
a1 4
# New ports collection makefile for:	rakudo
# Date created:    15 March 2009
# Whom:            Aliaksandr Zahatski <zahatski@@gmail.com>
#
a2 1
#
d5 1
a5 1
PORTVERSION=	2012.07
d58 1
a58 1
	cd ${WRKSRC}/parrot-${PARROT_VERSION} \
d65 1
a65 1
	cd ${WRKSRC}/parrot-${PARROT_VERSION} \
d67 1
a67 1
	&& cd ${WRKSRC}/nqp-2012.07 \
@


1.31
log
@SVN rev 301739 on 2012-07-30 19:10:52Z by culot

- Update to 2012.07

Changelog:	http://rakudo.org/2012/07/28/rakudo-star-2012-07-released/
PR:		ports/170277
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d44 2
a45 2
.if ${ARCH} == "sparc64"
BROKEN=		Does not install on sparc64
@


1.30
log
@- Update to 2012.05

Changelog:	http://rakudo.org/2012/05/23/rakudo-star-2012-05-released/
PR:		ports/169323
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2012.05
d28 1
a28 1
PARROT_VERSION=4.4.0
d71 1
a71 1
	&& cd ${WRKSRC}/nqp-2012.05 \
@


1.29
log
@- Update to 2012.01

PR:             ports/164732
Submitted by:   Aliaksandr Zahatski <zahatski@@gmail.com>
With Hat:       perl@@
@
text
@d9 1
a9 1
PORTVERSION=	2012.01
d28 1
a28 1
PARROT_VERSION=3.11.0
d71 1
a71 1
	&& cd ${WRKSRC}/nqp-2012.01 \
@


1.28
log
@- Update to 2011.07 [1]
- Pet portlint(1) by moving LICENSE section earlier

PR:		ports/159375 [1]
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2011.07
d28 1
a28 1
PARROT_VERSION=3.6.0
d39 2
a40 1
CONFIGURE_ARGS=	--parrot-config=parrot-${PARROT_VERSION}/installable_parrot_config
d71 4
@


1.27
log
@Mark as broken on sparc64: fails to install.

While here, removed obsolete OSVERSION check.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	2011.04
d18 2
a25 1
LICENSE=	ART20
d28 1
a28 1
PARROT_VERSION=3.3.0
@


1.26
log
@- update ICU to 4.8
- chase library bump
- add an entry in UPDATING for instructions
- remove old conflict lines
@
text
@d42 2
a43 2
.if ${OSVERSION} < 700000
BROKEN=	dependency devel/icu is broken on 6.x
@


1.25
log
@- Update to 2011.04

PR:		ports/156698
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d10 1
a10 1
PORTEPOCH=	2
@


1.24
log
@Update to January 2011 release of "Rakudo Star"

PR:		ports/154371
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2011.01
d27 1
a27 1
PARROT_VERSION=3.0.0
@


1.23
log
@- Use bundled parrot and unbreak

PR:		ports/153439
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d9 1
a9 2
PORTVERSION=	2010.11
PORTREVISION=	1
d27 1
a27 1
PARROT_VERSION=2.10.1
@


1.22
log
@Chase devel/icu upgrade
Add an updating note
@
text
@d10 1
d19 5
a23 3
BUILD_DEPENDS=	parrot>=${PARROT_VERSION}:${PORTSDIR}/lang/parrot
LIB_DEPENDS=	icudata:${PORTSDIR}/devel/icu
RUN_DEPENDS=	parrot>=${PARROT_VERSION}:${PORTSDIR}/lang/parrot
d26 14
a50 2
INSTALL_TARGET=	install

a53 3
PARROTCONFIG?=	${LOCALBASE}/bin/parrot_config
CONFIGURE_SCRIPT=	Configure.pl
CONFIGURE_ARGS=	--parrot-config=${PARROTCONFIG}
d61 11
a71 1
	cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
a91 2
.include "${.CURDIR}/../parrot/Makefile.common"

@


1.21
log
@- update to November 2010 release of "Rakudo Star"

PR:             ports/152800
Submitted by:   Aliaksandr Zahatski  <zahatski@@gmail.com>
With Hat:       perl@@
@
text
@d10 1
a10 1
PORTEPOCH=	1
@


1.20
log
@Specify LICENSE.
@
text
@d9 1
a9 1
PORTVERSION=	2010.10
@


1.19
log
@Update to 2010.10

Changes:	http://rakudo.org/node/78
PR:		ports/151810
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d22 2
@


1.18
log
@- This doesn't honor NOPORTDOCS yet, but it does install/deinstall cleanly
  now. This is just a stop gap until I have some time to patch rakudo
  which introduced this mess in the previous 2010.08 update.

Reported by:    QAT
@
text
@d9 1
a9 1
PORTVERSION=	2010.09
@


1.17
log
@- Update to 2010.09:  "Rakudo Star"

PR:             ports/151107
Submitted by:   Aliaksandr Zahatski <zahatski@@gmail.com>
With Hat:       perl@@
@
text
@d44 2
@


1.16
log
@- Update to August 2010 "Rakudo Star"

PR:             ports/150032
Submitted by:   Aliaksandr Zahatski  <zahatski@@gmail.com>
With Hat:       perl@@
@
text
@d9 1
a9 1
PORTVERSION=	2010.08
@


1.15
log
@Add more documentation.

PR:		ports/149107
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d9 1
a9 2
PORTVERSION=	2010.07
PORTREVISION=	2
@


1.14
log
@Update to Rakudo Star.

Changes:	http://rakudo.org/node/75
@
text
@d10 1
a10 1
PORTREVISION=	1
d43 2
d50 4
@


1.13
log
@Update to 2010.07

Changes:	http://rakudo.org/node/74
PR:		ports/148861
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d10 1
d13 2
a14 1
MASTER_SITES=	http://cloud.github.com/downloads/rakudo/rakudo/
@


1.12
log
@Update port to 2010.06 "Kiev"

Changes:	http://rakudo.org/node/72
PR:		ports/147957
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2010.06
@


1.11
log
@- Fix missing MAN1 page.

Reported by:    pointyhat via pav
Pointy hat to:  skv@@
With Hat:       perl@@
@
text
@d9 1
a9 1
PORTVERSION=	2010.05
@


1.10
log
@Update to 2010.05 "Erlangen"

PR:		ports/146771
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d33 1
a33 1
MAN1=		perl6.1
@


1.9
log
@- Mark BROKEN: does not build

Reported by:	pointyhat
@
text
@d9 1
a9 1
PORTVERSION=	2010.04
a20 2
BROKEN=		does not build

@


1.8
log
@Update to 2010.04 "Moscow"

PR:		ports/145944
Submitted by:	Aliaksandr Zahatski <zahatski xx gmail.com>
@
text
@d21 2
@


1.7
log
@Update to 2010.03

Changes:	http://rakudo.org/copenhagen
PR:		ports/144860
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	2010.03
@


1.6
log
@- Reduce number of depends [1]
- Mark as unbroken for 9-current

PR:		ports/144356 [1]
Submitted by:	Aliaksandr Zahatski <zahatski@@gmail.com> [1]
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	2010.02
a10 1
PORTREVISION=	1
a20 6
#			amd64       i386	sparc
#	9-current       pass        pass 
#	8-stable       	pass        pass
#	7-stable        pass        pass
#	6-stable        icu         icu

@


1.5
log
@- Update 2010.02 [1]
- Cleanups

Changes:	http://rakudo.org/node/64
PR:		ports/144130 [1]
Submitted by:	Aliaksandr Zahatski <zahatski xx gmail.com> [1]
Feature safe:	yes
@
text
@d11 1
d18 2
a19 5
BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4 \
		${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
		parrot>=${PARROT_VERSION}:${PORTSDIR}/lang/parrot
LIB_DEPENDS=	gmp.8:${PORTSDIR}/math/libgmp4 \
		icudata:${PORTSDIR}/devel/icu
d22 5
a26 5
#           				    amd64       i386	sparc
#				9-current       pass        gcc
#				8-stable       	gcc	        pass
#				7-stable        pass        pass
#				6-stable        icu         icu
a29 4
.if ${ARCH} == 'i386' && ${OSVERSION} >= 900000
BROKEN=	internal gcc bugs
.endif

@


1.4
log
@- Always require laster Parrot version
- Add Parrot to RUN_DEPENDS
- Cleanups

Feature safe:	yes
@
text
@d9 2
a10 1
PORTVERSION=	201001
a12 1
DISTNAME=	rakudo-2010-01
a17 1
		bison:${PORTSDIR}/devel/bison \
a35 4
.if ${OSVERSION} >= 800000 && ${OSVERSION} <= 900000
BROKEN=	internal gcc bugs
.endif

d41 1
a41 1
USE_PERL5=	5.8.0+
a43 1
USE_LDCONFIG=	yes
a45 2
CONFLICTS=	rakudo-devel-[0-9]

d49 1
a49 1
PARROTCONFIG?=${PREFIX}/bin/parrot_config
d58 6
a63 1
	${INSTALL_MAN} ${WRKSRC}/perl6.1 ${PREFIX}/man/man1/perl6.1
@


1.3
log
@QAT disagrees with my tb, mark broken across the board on 8-STABLE
@
text
@d20 1
a20 1
		parrot_config:${PORTSDIR}/lang/parrot
d23 1
d34 1
a34 1
BROKEN=	internal gcc bugs 
d38 1
a38 1
BROKEN=	internal gcc bugs 
@


1.2
log
@- Mark BROKEN on various arch'es and osversions
@
text
@d36 1
a36 1
.if ${ARCH} == 'i386'  && ${OSVERSION} >= 800000 && ${OSVERSION} <= 900000
@


1.1
log
@Rakudo is the Perl 6 implementation based on the Parrot VM.

http://www.perlfoundation.org/perl6/index.cgi

WWW: http://rakudo.org/

PR:		ports/143114
Submitted by:	Aliaksandr Zahatski <zahatski at gmail.com> (maintainer)
@
text
@d24 20
a75 2
.include <bsd.port.pre.mk>

@

