freebsd-ports/lang/racket-minimal/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
# $FreeBSD$
2014-07-23 16:23:45 +02:00
PORTNAME= racket
PKGNAMESUFFIX= -minimal
PORTVERSION= 6.2
CATEGORIES= lang scheme
2014-07-23 16:23:45 +02:00
MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
2014-07-23 16:23:45 +02:00
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}/ \
2014-07-23 16:23:45 +02:00
http://racket.infogroep.be/${PORTVERSION}/
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}-src
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= RACKET_PLACES
OPTIONS_DEFAULT= RACKET_PLACES
RACKET_PLACES_DESC= Enable Places
RACKET_PLACES_CONFIGURE_ENABLE= places
CONFLICTS= racket-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-lt --enable-shared --enable-pthread
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
2014-02-01 15:19:14 +01:00
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src
USES= iconv libtool tar:tgz
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif
.include <bsd.port.mk>