# $OpenBSD: Makefile,v 1.2 2007/10/18 18:51:10 simon Exp $ COMMENT= virtual machine designed for interpreted languages SHARED_ONLY= Yes DISTNAME= parrot-0.4.17 CATEGORIES= lang perl6 HOMEPAGE= http://www.parrotcode.org/ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/C/CO/COKE/} # 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 pre-configure: cd ${WRKSRC} && cp src/jit/ppc/ppc-linux.s src/jit/ppc/ppc-openbsd.s .include