mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
cb1380d0a6
- A new macro stepper that traces through macro expansion step by step. - A new "Lazy Scheme" language level. - New support for prompts and composable continuations. - Regexp support now includes the usual collection of "Perl-compatible" features. - Compiler improvements and bug fixes.
73 lines
2.0 KiB
Makefile
73 lines
2.0 KiB
Makefile
# New ports collection makefile for: DrScheme
|
|
# Date created: 21 Jun 2001
|
|
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= drscheme
|
|
PORTVERSION= 360
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \
|
|
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \
|
|
ftp://ftp.pasteur.fr/pub/computing/Scheme/plt-scheme/${PORTVERSION}/plt/ \
|
|
ftp://archive.informatik.uni-tuebingen.de/unix/language/plt/${PORTVERSION}/plt/ \
|
|
ftp://infogroep.be/pub/plt/bundles/${PORTVERSION}/plt/ \
|
|
ftp://morpheus.wish.com.mx/pub/plt/${PORTVERSION}/plt/ \
|
|
http://download.plt-scheme.org/patches/${PORTVERSION}/:PLT
|
|
DISTFILES= plt-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
|
|
DIST_SUBDIR= drscheme/${PORTVERSION}
|
|
EXTRACT_ONLY= plt-${PORTVERSION}-src-unix.tgz
|
|
|
|
MAINTAINER= jkoshy@FreeBSD.org
|
|
COMMENT= An interactive, integrated, graphical Scheme programming environment
|
|
|
|
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.5:${PORTSDIR}/graphics/png
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared \
|
|
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \
|
|
--enable-lt=${LIBTOOL} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
WRKSRC= ${WRKDIR}/plt-${PORTVERSION}/src
|
|
USE_ICONV= yes
|
|
USE_LDCONFIG= yes
|
|
USE_XLIB= yes
|
|
USE_AUTOTOOLS= libtool:15:env
|
|
|
|
MAN1= drscheme.1 help-desk.1 mred.1 mzscheme.1 tex2page.1
|
|
|
|
OPTIONS= CAIRO "use Cairo graphics" off \
|
|
MMM "use 3m garbage collection" off
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
PLIST_SUB+= ARCH=${ARCH}
|
|
|
|
PLTPATCHES= # none yet for this version
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_CAIRO)
|
|
CONFIGURE_ARGS+= --enable-cairo --enable-pthread
|
|
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-cairo
|
|
.endif
|
|
|
|
.if defined(WITH_MMM)
|
|
ALL_TARGET= 3m
|
|
INSTALL_TARGET+= install-3m
|
|
PLIST_SUB+= MMM=""
|
|
.else
|
|
PLIST_SUB+= MMM="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|