2011-04-12 09:48:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2011/04/12 13:48:57 jasper Exp $
|
2011-03-20 08:11:56 -04:00
|
|
|
|
2011-03-20 09:10:31 -04:00
|
|
|
COMMENT = Rakudo Perl 6 compiler
|
2011-03-20 08:11:56 -04:00
|
|
|
|
|
|
|
PORTNAME = rakudo
|
|
|
|
VERSION = 2011.01
|
|
|
|
DISTNAME = ${PORTNAME}-star-${VERSION}
|
|
|
|
PKGNAME = ${PORTNAME}-${VERSION}
|
|
|
|
|
2011-03-22 04:02:55 -04:00
|
|
|
REVISION = 1
|
2011-03-20 09:10:31 -04:00
|
|
|
|
2011-03-20 08:11:56 -04:00
|
|
|
CATEGORIES = lang perl6
|
|
|
|
|
|
|
|
HOMEPAGE = http://rakudo.org
|
|
|
|
|
|
|
|
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
|
|
|
|
|
|
|
|
# Artistic 2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2011-03-22 04:02:55 -04:00
|
|
|
WANTLIB = c icudata icui18n icuuc m ncurses parrot=1.0 pthread
|
2011-03-20 08:11:56 -04:00
|
|
|
WANTLIB += readline stdc++ util
|
|
|
|
|
2011-04-12 09:48:57 -04:00
|
|
|
VMEM_WARNING = Yes
|
2011-03-20 08:11:56 -04:00
|
|
|
|
|
|
|
MASTER_SITES = http://cloud.github.com/downloads/rakudo/star/
|
|
|
|
|
|
|
|
LIB_DEPENDS = lang/parrot=3.0.0 \
|
|
|
|
textproc/icu4c
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_SCRIPT = /usr/bin/perl Configure.pl
|
|
|
|
CONFIGURE_ARGS += --prefix=${PREFIX} \
|
|
|
|
--parrot-config="${LOCALBASE}/bin/parrot_config"
|
|
|
|
|
|
|
|
REGRESS_TARGET = rakudo-test rakudo-spectest
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} UsingPerl6-draft.pdf \
|
|
|
|
cheatsheet.txt ${PREFIX}/share/doc/rakudo
|
|
|
|
cd ${WRKSRC}/docs/announce && ${INSTALL_DATA} * \
|
|
|
|
${PREFIX}/share/doc/rakudo/announce
|
|
|
|
|
|
|
|
pre-regress:
|
|
|
|
#no need to check out git repository
|
|
|
|
perl -pi -e 's/spectest_checkout spectest_update// if /^testable/' \
|
|
|
|
${WRKSRC}/rakudo/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|