1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/lang/parrot/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: parrot
# Date created: 15 April 2005
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= parrot
2006-03-15 09:10:47 +00:00
PORTVERSION= 0.4.2
CATEGORIES= lang perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/L/LT/LTOETSCH
MAINTAINER= skv@FreeBSD.org
COMMENT= Parrot - virtual machine for dynamic languages
2005-06-12 10:54:32 +00:00
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \
icudata.34:${PORTSDIR}/devel/icu
2006-03-15 09:10:47 +00:00
USE_GCC= 3.4+
USE_PERL5= yes
USE_GMAKE= yes
#USE_SDL= yes
2006-03-15 09:10:47 +00:00
INSTALLS_SHLIB= yes
CONFIGURE_SCRIPT= Configure.pl
2006-03-15 09:10:47 +00:00
CONFIGURE_ARGS= --cc=${CC} --cxx=${CXX} --ld=${CC} --ccflags="${CFLAGS}" \
--ldflags="${LDFLAGS} -L/usr/lib -L${LOCALBASE}/lib" \
--icu-config=${LOCALBASE}/bin/icu-config \
2006-03-15 09:10:47 +00:00
--optimize --jitcapable --parrot_is_shared \
--verbose \
--prefix=${PREFIX}
# --verbose
post-patch:
${PERL} -pi -e "s=libdir}, 'pkgconfig=prefix}, 'libdata/pkgconfig=" \
${WRKSRC}/tools/dev/install_files.pl
do-configure:
cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
test:
cd ${WRKSRC} && ${MAKE} test
2005-04-20 10:26:10 +00:00
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
2006-03-15 09:10:47 +00:00
IGNORE= perl 5.8 or newer required. Install lang/perl5.8 and try again
2005-04-20 10:26:10 +00:00
.endif
.include <bsd.port.post.mk>