1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/lang/plt-scheme/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

79 lines
2.1 KiB
Makefile

# New ports collection Makefile for: DrScheme
# Date created: 21 Jun 2001
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= plt-scheme
PORTVERSION= 4.1.4
PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/\
http://plt.cs.uchicago.edu/bundles/${PORTVERSION}/plt/\
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/\
http://mirror.informatik.uni-tuebingen.de/mirror/plt/${PORTVERSION}/plt/\
ftp://infogroep.be/pub/plt/bundles/${PORTVERSION}/plt/\
http://gd.tuwien.ac.at/languages/scheme/plt/${PORTVERSION}/plt/
DISTFILES= plt-${PORTVERSION}-src-unix.tgz ${PLTPATCHES}
DIST_SUBDIR= plt-scheme/${PORTVERSION}
EXTRACT_ONLY= plt-${PORTVERSION}-src-unix.tgz
MAINTAINER= areilly@bigpond.net.au
COMMENT= An interactive, integrated, graphical Scheme programming environment
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
jpeg.10:${PORTSDIR}/graphics/jpeg \
png.5:${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}/plt-${PORTVERSION}/src/build
USE_ICONV= yes
USE_GL= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22:env
# no man files in this version: run plt-help for helpdesk
MAN1= drscheme.1 mred.1 mzc.1 mzscheme.1 \
plt-help.1 setup-plt.1 tex2page.1
#CGC is deprecated now
# OPTIONS= CGC "With CGC garbage collector" off
ONLY_FOR_ARCHS= i386 amd64
PLIST_SUB+= ARCH=${ARCH}
PLTPATCHES= # none yet for this version
CONFLICTS= lang/drscheme
.include <bsd.port.pre.mk>
#.if defined(WITH_CGC)
#ALL_TARGET= both
#INSTALL_TARGET= install-both
#PLIST_SUB+= CGC=""
#.else
#PLIST_SUB+= CGC="@comment "
#.endif
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
.endif
pre-patch:
${MKDIR} ${WRKSRC}
.include <bsd.port.post.mk>