blob: 73fd8003a9196f15fbdae23bc11df477b96df4de (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
# Created by: js@jeannot.org
# $FreeBSD$
PORTNAME= visualworks
PORTVERSION= 7.6
CATEGORIES= lang linux
SUBDIR= vwnc${PORTVERSION}
MASTER_SITES= http://www.cincomsmalltalk.com/bsdports/${SUBDIR}.old/
DISTFILES= BaseVisualWorks.tar.gz \
VM-Linux86.tar.gz
DIST_SUBDIR= ${SUBDIR}
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= A high performance Smalltalk environment
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
PLIST_FILES= bin/visual
MY_STARTUP_SCRIPT= visual.sh
RESTRICTED= Redistribution is probably not permitted
OPTIONS_DEFINE= ATOOLS COM DLLC DST DATABASE DOTNET CONTRIBUTED ARAGON COAST DOME JUN 3D \
SEASIDE SILVERMARK GEMSTONE I18N OBSOLETE OPENTALK PLUGIN PREVIEW STORE \
WEBAPP WEBSERVICES VMLINUX VMWINDOWS VMMAC VMSOLARIS VMAIX VMHPUX VMSGI
OPTIONS_DEFAULT= DLLC DATABASE SEASIDE STORE
ATOOLS_DESC= Advanced Tools
COM_DESC= COM
DLLC_DESC= DLLC Connect
DST_DESC= Distributed Smalltalk
DATABASE_DESC= Database Support
DOTNET_DESC= DotNet Connect
CONTRIBUTED_DESC= Contributed
ARAGON_DESC= Contributed - Aragon
COAST_DESC= Contributed - COAST
DOME_DESC= Contributed - DOME
JUN_DESC= Contributed - Jun 3D Framework
SEASIDE_DESC= Contributed - Seaside
SILVERMARK_DESC= Contributed - Silvermark
GEMSTONE_DESC= Contributed - GemStone Server and Client
I18N_DESC= Internationalization
OBSOLETE_DESC= Obsolete stuff
OPENTALK_DESC= Opentalk
PLUGIN_DESC= Plugin
PREVIEW_DESC= Preview Technology
STORE_DESC= Store
WEBAPP_DESC= Web Application Framework
WEBSERVICES_DESC= Web Services
VMLINUX_DESC= Virtual Machines for Linux ppc/sparc/x86-64
VMWINDOWS_DESC= Virtual Machines for Windows NT/CEx86/CEarm
VMMAC_DESC= Virtual Machines for Mac OSX/OSXX11/powermac
VMSOLARIS_DESC= Virtual Machine for Solaris
VMAIX_DESC= Virtual Machine for AIX
VMHPUX_DESC= Virtual Machine for HPUX
VMSGI_DESC= Virtual Machine for SGI
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MATOOLS}
DISTFILES+= AdvancedTools.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCOM}
DISTFILES+= COM.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDLLC}
DISTFILES+= DLLC.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDST}
DISTFILES+= DST.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDATABASE} || ${PORT_OPTIONS:MDOTNET}
DISTFILES+= Database.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCONTRIBUTED}
DISTFILES+= Contributed.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MARAGON}
DISTFILES+= CntrbAragon.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MCOAST}
DISTFILES+= CntrbCOAST.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MDOME}
DISTFILES+= CntrbDome.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MJUN}
DISTFILES+= CntrbJun.tar.gz \
CntrbHeeg.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSEASIDE}
DISTFILES+= CntrbSeaside.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSILVERMARK}
DISTFILES+= CntrbSilverMark.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MGEMSTONE}
DISTFILES+= CntrbGemStoneClient.tar.gz \
CntrbGemStoneSvrLinux.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MI18N}
DISTFILES+= I18NCatalogs.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MOBSOLETE}
DISTFILES+= Obsolete.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MOPENTALK}
DISTFILES+= Opentalk.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MPLUGIN}
DISTFILES+= Plugin.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MPREVIEW}
DISTFILES+= Preview.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MSTORE}
DISTFILES+= Store.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMAIX}
DISTFILES+= VM-AIX.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMHPUX}
DISTFILES+= VM-HPUX.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMMAC}
DISTFILES+= VM-MacOSX.tar.gz \
VM-MacOSXX11.tar.gz \
VM-Powermac.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMSGI}
DISTFILES+= VM-SGI.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMSOLARIS}
DISTFILES+= VM-Solaris.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMWINDOWS}
DISTFILES+= VM-Windows.tar.gz \
VM-WinCEARM.tar.gz \
VM-WinCEx86.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MVMLINUX}
DISTFILES+= VM-LinuxPPC.tar.gz \
VM-LinuxSPARC.tar.gz \
VM-LinuxX86_64.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MWEBAPP}
DISTFILES+= WebApplicationServer.tar.gz
.endif
.if make(makesum) || defined(FETCH_ALL) || ${PORT_OPTIONS:MWEBSERVICES}
DISTFILES+= WebServices.tar.gz
.endif
do-install:
@${MKDIR} ${DATADIR}
@for f in ${DISTFILES}; do tar xzpf ${DISTDIR}/${DIST_SUBDIR}/$$f -C ${DATADIR}; done
@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "VISUALWORKS=${DATADIR}" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "export VISUALWORKS" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${ECHO_CMD} "${DATADIR}/bin/linux86/visual \$$*" >> ${WRKDIR}/${MY_STARTUP_SCRIPT}
@${INSTALL_SCRIPT} ${WRKDIR}/${MY_STARTUP_SCRIPT} ${DATADIR}
@${LN} -s ${DATADIR}/${MY_STARTUP_SCRIPT} ${PREFIX}/bin/visual
post-install:
@${FIND} ${DATADIR} -not -type d \
| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
@${FIND} -d ${DATADIR} -type d \
| ${SED} -ne 's,^${DATADIR},@dirrm share/${PORTNAME},p' >> ${TMPPLIST}
@${ECHO_MSG} " "
@${ECHO_MSG} " --------------------------- Please note: ---------------------------"
@${ECHO_MSG} " "
@${ECHO_MSG} " To start using VisualWorks, copy the default image to your"
@${ECHO_MSG} " home directory:"
@${ECHO_MSG} " # ${CP} ${DATADIR}/image/visualnc.im ~"
@${ECHO_MSG} " Make it writeable:"
@${ECHO_MSG} " # ${CHMOD} u+w ~/visualnc.im"
@${ECHO_MSG} " Then run it using:"
@${ECHO_MSG} " # visual ~/visualnc.im"
@${ECHO_MSG} " "
@${ECHO_MSG} " -------------------- Thanks for your attention! --------------------"
@${ECHO_MSG} " "
.include <bsd.port.post.mk>
|