1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/lang/drscheme/Makefile
2004-02-25 10:33:14 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: DrScheme
# Date created: 21 Jun 2001
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= drscheme
PORTVERSION= 205
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/
DISTNAME= plt-${PORTVERSION}.src.x
MAINTAINER= jkoshy@FreeBSD.org
COMMENT= An interactive, integrated, graphical Scheme programming environment
DIST_SUBDIR= drscheme/${PORTVERSION}
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/plt/src
ALL_TARGET= all install
USE_XLIB= yes
PLTHOME= ${PREFIX}/drscheme
DRS_D= bin install collects teachpack include lib
DRS_B= drscheme mred mzc mzscheme tex2page
MAN1= drscheme.1 mred.1 mzscheme.1
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
do-install:
${MKDIR} ${PLTHOME}
cd ${WRKDIR}/plt && ${TAR} -cf - --exclude '/CVS/*' ${DRS_D} | tar -C ${PLTHOME} -xf -
cd ${PLTHOME} && ${PLTHOME}/install
.for f in ${DRS_B}
${LN} -s ${PLTHOME}/bin/$f ${PREFIX}/bin/$f
.endfor
.for f in ${MAN1}
${INSTALL_MAN} ${WRKDIR}/plt/man/man1/$f ${PREFIX}/man/man1
.endfor
.include <bsd.port.post.mk>