blob: 876c9baee678b9e7411b0750b3e10c1c089cf92f (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
# $FreeBSD$
PORTNAME= racket
PORTVERSION= 6.1
PORTREVISION= 1
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}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi \
libcairo.so:${PORTSDIR}/graphics/cairo \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= RACKET_PLACES
OPTIONS_DEFAULT= RACKET_PLACES
RACKET_PLACES_DESC= Enable Places
RACKET_PLACES_CONFIGURE_ENABLE= places
CONFLICTS= racket-minimal-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-lt --enable-shared --enable-pthread
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src
USES= iconv libtool tar:tgz
USE_LDCONFIG= yes
USE_GNOME= pango
USE_SQLITE= 3
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif
post-install:
${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop
${RM} ${STAGEDIR}${PREFIX}/share/applications/*.bak
.include <bsd.port.mk>
|