mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
10f22ecd6d
- Remove dependencies on modules distributed as part of perl core - Remove references to FreeBSD < 8 and perl < 5.16 - Ensure that DOCS and EXAMPLES options exist for ports installing PORTDOCS or PORTEXAMPLES - Reduce unnecessary inclusions of bsd.port.options.mk by using OPTIONS helpers and the like - Fix some cases where dependencies were only assigned to BUILD_DEPENDS - Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS. This one happens in many, many ports. I only applied it in cases where it interfered with 'make test' but it should maybe be done more generally. - Mute ${MKDIR} in installation - Parethesize compound commands - In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# Created by: Sergey Skvortsov <skv@protey.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= parrot
|
|
PORTVERSION= 7.0.2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/stable/${PORTVERSION}/ \
|
|
ftp://ftp.parrot.org/pub/parrot/releases/supported/${PORTVERSION}/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Parrot - virtual machine for dynamic languages
|
|
|
|
LICENSE= ART20
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
|
|
${LOCALBASE}/bin/gm4:${PORTSDIR}/devel/m4 \
|
|
${LOCALBASE}/bin/pcre-config:${PORTSDIR}/devel/pcre
|
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
|
|
libicudata.so:${PORTSDIR}/devel/icu
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
ALL_TARGET= installable
|
|
CONFIGURE_ARGS= --cc=${CC} --ccflags="${CFLAGS}" --cxx=${CXX} --link=${CXX} \
|
|
--ld=${CC} --ldflags="${LDFLAGS} -L${LIBDIR} -L${LOCALBASE}/lib" \
|
|
--gc=gms --inline --optimize --parrot_is_shared --verbose \
|
|
--prefix=${PREFIX} \
|
|
--icu-config=${LOCALBASE}/bin/icu-config \
|
|
--lex=${LOCALBASE}/bin/flex \
|
|
--yacc=${LOCALBASE}/bin/bison
|
|
CONFIGURE_SCRIPT= Configure.pl
|
|
INSTALL_TARGET= install-dev
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= bison gmake perl5 tar:bzip2
|
|
|
|
DOCSDIR= share/doc/${PORTNAME}/${PORTVERSION}
|
|
PLIST_SUB= PARROT_VER="${PORTVERSION}"
|
|
|
|
BROKEN_ia64= Does not compile on ia64
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libparrot.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/parrot/${PORTVERSION}/dynext/*.so
|
|
|
|
regression-test test: build
|
|
(cd ${WRKSRC} && ${MAKE} test)
|
|
|
|
.include <bsd.port.mk>
|