pkgsrc/lang/parrot/Makefile
he 7e62f10325 Update parrot from version 3.1.0 to 3.2.0.
Pkgsrc changes:
 o Adapt existing patches to changes in upstream code
 o Add a fix for the stat() / lstat() tests in parrot; will be reported
   upstream as a bug.

Upstream changes:

- Core
  + Full support for Unicode filenames on Linux and Win32
  + The configuration option --cxx is gone
  + New Generational GC implemented. To enable it run Configure.pl --gc=gms
  + Now op definitions are semantically parsed. It opens possibilities for
    future optimizations of parrot core.
  + A statement convert the '.param' PIR systax
  + A PMC is implemented for low-level buffer access which separate the
    representation from the pointers
  + Support added for 'long double', 'long long', and 64-bit to StructView
  + In math.h are tools available for Inf/NaN
  + Signature PMCs are used pervasively
- Languages
  + A few tests in Cardinal are fixed
  + A binary .dmg is created of Rakudo Star for OS X
  + Winxed
    - Minor fixes, refactors and cleaning
    - New predefs replace, push and provide a way to access multiple return
      values
    - Operators exits, class and .* (indirect method call) added
    - $loadlib directive
    - -o option to installable driver added
    - Indent generated PIR is added to improve clarity and avoid imcc pitfalls
      with non indented sub bodys
- Community
  + M0 roadmap is in progress
- Documentation
  + 'make docs' target, which was serving only to generate superfluous POD
    files, has been removed.
  + Svn remnants from PDDs are removed
- Tests
  + Added 'make release_check' target so that Release Manager can double-check
    tarball
  + Probes added for 'long long' and 64-bit C types
- Rosella
  Rosella is a collection of tools and building blocks for Parrot
  + A working proxy library is created, that make mostly-transparent custom
    proxies for many types of Parrot PMCs
  + A mockobject testing library is created, using the new proxy library
  + The PLA test suite is updated to use the new Rosella testing tools,
    including the new mockobjects to test callbacks
2011-04-06 11:22:57 +00:00

71 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2011/04/06 11:22:57 he Exp $
#
VERSION= 3.2.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"