blob: 7284c0919374d20dcf487de8d30e0d467b68d8b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: parrot
# Date created: 15 April 2005
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= parrot
PORTVERSION= 0.1.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
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \
icudata.32:${PORTSDIR}/devel/icu
USE_PERL5= yes
USE_GMAKE= yes
#USE_SDL= yes
CONFIGURE_SCRIPT= Configure.pl
CONFIGURE_ARGS= --cc=${CC} --ld=${LD} --ccflags="${CFLAGS}" \
--ldflags="${LDFLAGS} -L/usr/lib -L${LOCALBASE}/lib" \
--icu-config=${LOCALBASE}/bin/icu-config \
--optimize --jitcapable --verbose \
--prefix=${PREFIX}/parrot
do-configure:
cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
@${PERL} -pi -e 's/(?<=nci_test\$$\(O\)) \$$\(C_LIBS\)//' \
${WRKSRC}/Makefile
test:
cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>
|