69 lines
2.2 KiB
Makefile
69 lines
2.2 KiB
Makefile
# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= racket
|
|
PORTVERSION= 7.8
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
|
|
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
|
|
http://www.eecs.northwestern.edu/racket/${PORTVERSION}/ \
|
|
http://mirror.csclub.uwaterloo.ca/racket/racket-installers/${PORTVERSION}/ \
|
|
http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/ \
|
|
http://racket.infogroep.be/${PORTVERSION}/
|
|
PKGNAMESUFFIX= -minimal
|
|
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}-src-builtpkgs
|
|
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= Interactive, integrated, graphical Scheme programming environment
|
|
|
|
LICENSE= APACHE20 MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BROKEN_armv6= fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
|
|
BROKEN_armv7= fails to compile: ./lightning/lightning.h:81:2: error: GNU lightning does not support the current target
|
|
BROKEN_powerpc64= fails to build: jit.c: 'JIT_LOCAL4' undeclared (first use in this function)
|
|
NOT_FOR_ARCHS= aarch64 mips mips64 sparc64
|
|
NOT_FOR_ARCHS_REASON= not yet ported to this arch
|
|
|
|
LIB_DEPENDS= libffi.so:devel/libffi
|
|
|
|
USES= iconv libtool tar:tgz
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-libffi \
|
|
--enable-places \
|
|
--enable-pthread \
|
|
--mandir=${MANPREFIX}/man
|
|
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src
|
|
PATCH_WRKSRC= ${WRKDIR}/racket-${PORTVERSION}
|
|
USE_LDCONFIG= yes
|
|
REINPLACE_ARGS= -i ""
|
|
MAKE_JOBS_UNSAFE= yes
|
|
CONFLICTS= racket-[0-9]*
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
OPTIONS_DEFINE_amd64= FUTURES JIT
|
|
OPTIONS_DEFINE_i386= FUTURES JIT
|
|
OPTIONS_DEFAULT_amd64= FUTURES JIT
|
|
OPTIONS_DEFAULT_i386= FUTURES JIT
|
|
|
|
FUTURES_DESC= Enable futures
|
|
JIT_DESC= Enable JIT compiler
|
|
|
|
FUTURES_IMPLIES= JIT
|
|
FUTURES_CONFIGURE_ENABLE= futures
|
|
JIT_CONFIGURE_ENABLE= jit
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MJIT} && ${ARCH} == "amd64"
|
|
CFLAGS+= -mfpmath=sse -msse -msse2
|
|
.endif
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
|
|
|
|
.include <bsd.port.mk>
|