blob: 799952d0bdfc308b3a2c949a37e5db540a0ecd12 (
plain)
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
58
59
60
61
62
63
|
# New ports collection Makefile for: DrScheme
# Date created: 21 Jun 2001
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= racket
PORTVERSION= 5.0.2
CATEGORIES= lang scheme
MASTER_SITES= http://download.racket-lang.org/installers/${PORTVERSION}/racket/ \
http://www.eecs.northwestern.edu/racket/${PORTVERSION}/racket/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/racket/ \
http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/racket/ \
ftp://infogroep.be/pub/racket/installers/${PORTVERSION}/racket/ \
http://russell.cs.bilgi.edu.tr/racket-installers/${PORTVERSION}/racket/
DISTFILES= racket-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= racket/${PORTVERSION}
EXTRACT_ONLY= racket-${PORTVERSION}-src-unix.tgz
MAINTAINER= olgeni@FreeBSD.org
COMMENT= An interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png
USE_XORG= xft x11 xrender xaw
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared --enable-xft --enable-gl \
--enable-xrender --enable-cairo --with-x --enable-pthread \
--enable-lt=${LIBTOOL} \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
CPPFLAGS="${CPPFLAGS}"
# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src/build
USE_ICONV= yes
USE_GL= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22:env
MAN1= drracket.1 drscheme.1 gracket.1 \
mred.1 mzc.1 mzscheme.1 plt-help.1 \
racket.1 raco.1 setup-plt.1 tex2page.1
ONLY_FOR_ARCHS= i386 amd64
PLIST_SUB+= ARCH=${ARCH}
PLTPATCHES= # none yet for this version
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif
pre-patch:
@${MKDIR} ${WRKSRC}
.include <bsd.port.post.mk>
|