summaryrefslogtreecommitdiff
path: root/lang/rakudo-star/Makefile
blob: 8a52c5aa61770633c08114b270bd3fd3b89cd91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.5 2014/05/29 23:36:43 wiz Exp $

DISTNAME=	rakudo-star-2013.08
PKGREVISION=	3
CATEGORIES=	lang perl6
MASTER_SITES=	http://rakudo.org/downloads/star/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://rakudo.org/
COMMENT=	Perl 6 reference implementation
LICENSE=	artistic-2.0

MAKE_JOBS_SAFE=	no

.include "../../mk/bsd.prefs.mk"

USE_LANGUAGES=		c c++
USE_TOOLS+=		perl
PLIST_SRC+=		${PLIST_SRC_DFLT}
.if (${OPSYS} != "Darwin")
PLIST_SRC+=		PLIST.shared
.else
USE_TOOLS+=		 gmake
.endif

HAS_CONFIGURE=		yes
CONFIG_SHELL=		${PERL5}
CONFIGURE_SCRIPT=	Configure.pl
CONFIGURE_ARGS=		--prefix=${PREFIX:Q} \
			--with-nqp=${PREFIX}/bin/nqp

PLIST_SUBST+=		PARROT_VERSION=${PARROT_VERSION:Q}
PRINT_PLIST_AWK+=        { gsub(/${PARROT_VERSION}/, "$${PARROT_VERSION}") }

.include "../../lang/nqp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"