summaryrefslogtreecommitdiff
path: root/lang/visualworks/Makefile
blob: f78eae8fdf7b7aa264100d3d93c03b7709f64423 (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
# New ports collection makefile for:	visualworks
# Date created:				17 September 2001
# Whom:					js@jeannot.org
#
# $FreeBSD$
#

PORTNAME=	visualworks
PORTVERSION=	5i.4
CATEGORIES=	lang linux
MASTER_SITES=	ftp://ftp.cincom.com/pub/st/vw/ \
		ftp://ftp.cincom.com/pub/st/vm/ \
		ftp://ftp.cincom.com/pub/st/goodies/
DISTFILES=	BaseVisualWorks.tar.gz Image.tar.gz VM-Linux86.tar.gz \
		ExtendedBase.tar.gz DST.tar.gz PlugIn.tar.gz \
		VisualWaveWebToolkit.tar.gz Opentalk.tar.gz \
		I18NCatalogs.tar.gz Goodies.tar.gz Goodies-Aragon.tar.gz \
		Goodies-DOME.tar.gz Goodies-Jun.tar.gz
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}

MAINTAINER=	js@jeannot.org
COMMENT=	A high performance Smalltalk environment

BROKEN=		Does not fetch

USE_LINUX=	yes

ONLY_FOR_ARCHS= i386

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

RESTRICTED=	"Redistribution is probably not permitted."

do-install:
	@${MKDIR} ${PREFIX}/${PORTNAME}/${PORTVERSION}
	@cd ${WRKDIR} && tar -cf - * | tar -xf - -C ${PREFIX}/${PORTNAME}/${PORTVERSION}
	@echo "#!/bin/sh" > ${PREFIX}/bin/visual
	@echo VISUALWORKS=${PREFIX}/${PORTNAME}/${PORTVERSION} >> ${PREFIX}/bin/visual
	@echo export VISUALWORKS >> ${PREFIX}/bin/visual
	@echo ${PREFIX}/${PORTNAME}/${PORTVERSION}/bin/linux86/visual $$\* >> ${PREFIX}/bin/visual
	@${CHMOD} a+x ${PREFIX}/bin/visual

post-install:
	@echo To start using VisualWorks,
	@echo First copy the default image to your home directory :
	@echo ${CP} ${PREFIX}/${PORTNAME}/${PORTVERSION}/image/visualnc.im ~
	@echo Make it writeable:
	@echo ${CHMOD} u+w ~/visualnc.im
	@echo Then run it using:
	@echo visual ~/visualnc.im
	@echo If this produces an out of memory error message try:
	@echo visual -h 1m ~/visualnc.im
	@echo and increase the '1m' value to '2m', ..., until the error goes away.

.include <bsd.port.mk>