4fc7af4b7d
Pkgsrc changes: o Adapt to changes in installed files o One of the files which are patched have changed location Upstream changes: New in 3.1.0 - Core + Exception PMCs are now subclassable from PIR + IPv6 is now supported and tested + Added Parrot_ext_try function to extend API (experimental), to allow implementation of try .. catch construcs in C extensions. + We now have a YAML library called YAML::Tiny, a port of YAML::Tiny from Perl 5 + Deprecated/experimental features are now stored in api.yaml in an easy-to-parse format, which will allow automated tools easy access to this data. This replaces DEPRECATED.pod, which no longer exists. + Improved GC latency + Improved GC performance on low-memory systems + Improved packfile annotation lookup complexity + Removal of unused code and SVN based code - NQP + A repository for a new NQP version which has a new object model is created at http://github.com/perl6/nqp - Languages + Cardinal (Ruby on Parrot) now compiles and passes it's test suite on master and is looking for developers : https://github.com/parrot/cardinal + Cardinal can send smoke reports with "rake smoke" or "parrot setup.pir smoke" + Jaspers, an implementation of Javascript on Parrot, now has a Github repo and is looking for developers: https://github.com/leto/jaspers - Community + The following Parrot Google Code-In students were grand prize winners: Fernando Brito, Brazil David Czech, Canada Nolan Lum, United States Matt Rajca, United States Tony Young, New Zealand Daniel Kang, United States We are very proud of them for their fine work and congratulate them for achieving top finalist status! For more info, see: http://google-opensource.blogspot.com/2011/02/google-code-in-grand-prize... - Documentation + Many new Parrot-related terms were added to docs/glossary.pod + Removal of most remaining references to SVN + Internal project documentation is included in html output - Tests + Test suite now passes on NetBSD 5.1 + Test coverage increased greatly for the Embed/Extend subsystem, thanks to a TPF grant: http://leto.net/dukeleto.pl/2011/01/parrot-embed-grant-update-2.html
71 lines
2.1 KiB
Makefile
71 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.43 2011/02/19 13:07:47 he Exp $
|
|
#
|
|
|
|
VERSION= 3.1.0
|
|
RTYPE= devel
|
|
DISTNAME= parrot-${VERSION}
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${RTYPE}/${VERSION}/
|
|
|
|
MAINTAINER= he@NetBSD.org
|
|
HOMEPAGE= http://www.parrotcode.org/
|
|
COMMENT= Virtual machine made to run Perl 6 and other languages
|
|
LICENSE= artistic-2.0
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= perl
|
|
PTHREAD_OPTS+= require
|
|
BUILD_TARGET= world
|
|
TEST_TARGET= test
|
|
HAS_CONFIGURE= yes
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CONFIG_SHELL= perl
|
|
CONFIGURE_SCRIPT= Configure.pl
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
|
|
--icu-config=${PREFIX}/bin/icu-config \
|
|
--optimize
|
|
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_STAGE.pthread= post-configure
|
|
SUBST_FILES.pthread= Makefile
|
|
SUBST_SED.pthread= -e 's|-pthread||g'
|
|
SUBST_SED.pthread+= -e 's|-lpthread||g'
|
|
SUBST_SED.pthread+= -e 's|-lc_r||g'
|
|
SUBST_SED.pthread+= -e '/^CFLAGS /s|$$|${PTHREAD_CFLAGS:Q}|'
|
|
SUBST_SED.pthread+= -e '/^LINKFLAGS /s|$$|${PTHREAD_LDFLAGS:Q} ${PTHREAD_LIBS:Q}|'
|
|
SUBST_SED.pthread+= -e '/^LDFLAGS /s|$$|${PTHREAD_LDFLAGS:Q} ${PTHREAD_LIBS:Q}|'
|
|
|
|
PLIST_SUBST+= VERSION=${VERSION:Q}
|
|
PLIST_SRC+= ${PLIST_SRC_DFLT}
|
|
# Default this to ELF shared libs with .so,
|
|
# Darwin has PLIST.Darwin which gets included automatically.
|
|
.if (${OPSYS} != "Darwin")
|
|
PLIST_SRC+= PLIST.shared
|
|
.endif
|
|
|
|
REPLACE_PERL+= tools/build/ops2c.pl
|
|
REPLACE_PERL+= tools/build/pmc2c.pl
|
|
REPLACE_PERL+= tools/dev/create_language.pl
|
|
REPLACE_PERL+= tools/dev/gen_makefile.pl
|
|
REPLACE_PERL+= tools/dev/mk_language_shell.pl
|
|
REPLACE_PERL+= tools/dev/pprof2cg.pl
|
|
REPLACE_PERL+= tools/dev/reconfigure.pl
|
|
|
|
REPLACE_INTERPRETER+= parrot
|
|
REPLACE.parrot.old= .*parrot[^[:space:]]*
|
|
REPLACE.parrot.new= ${PREFIX}/bin/parrot
|
|
REPLACE_FILES.parrot+= tools/dev/pbc_to_exe.pir
|
|
|
|
# Does relink internally, so allow local rpath entries
|
|
BUILDLINK_PASSTHRU_RPATHDIRS+= ${WRKSRC}
|
|
|
|
pre-install:
|
|
${CHMOD} -R g-w ${WRKSRC}
|
|
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|