openbsd-ports/lang/parrot/Makefile
pyr aa0af2fe39 update to parrot-5.0
powerpc tweak from simon@
ok simon@ who produced just about the same diff than mine.
2007-12-17 14:24:27 +00:00

45 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.3 2007/12/17 14:24:27 pyr Exp $
COMMENT= virtual machine designed for interpreted languages
SHARED_ONLY= Yes
DISTNAME= parrot-0.5.0
CATEGORIES= lang perl6
HOMEPAGE= http://www.parrotcode.org/
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/C/CH/CHROMATIC/}
# Artistic2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pthread util
LIB_DEPENDS= icudata,icuuc::textproc/icu4c
REGRESS_DEPENDS= ::devel/p5-Test-Pod
CONFIGURE_SCRIPT= /usr/bin/perl Configure.pl
CONFIGURE_STYLE= simple
INSTALL_TARGET= reallyinstall
REGRESS_TARGET= test
.if ${MACHINE_ARCH} == "i386"
PKG_ARGS+= -Di386=1
.else
PKG_ARGS+= -Di386=0
.endif
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --execcapable=0
.endif
pre-configure:
cd ${WRKSRC} && cp src/jit/ppc/ppc-linux.s src/jit/ppc/ppc-openbsd.s
.include <bsd.port.mk>