View | Details | Raw Unified | Return to bug 42634
Collapse All | Expand All

(-)squeak3.new/Makefile (-21 / +24 lines)
Lines 1-37 Link Here
1
# New ports collection makefile for:   	squeak
1
# New ports collection makefile for:   	squeak
2
# Date created:        			12 October 2001
2
# Date created:        			12 October 2001
3
# Whom:                			jesse@cs.uni-magdeburg.de
3
# Whom:                			roland.jesse@gmx.net
4
#
4
#
5
# $FreeBSD: ports/lang/squeak3/Makefile,v 1.22 2001/11/27 14:35:40 knu Exp $
5
# $FreeBSD: ports/lang/squeak3/Makefile,v 1.22 2001/11/27 14:35:40 knu Exp $
6
#
6
#
7
7
8
PORTNAME=	squeak
8
PORTNAME=	squeak
9
PORTVERSION=	3.0
9
PORTVERSION=	3.2
10
CATEGORIES=	lang
10
CATEGORIES=	lang
11
MASTER_SITES=	ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/unix-linux/src/ \
11
MASTER_SITES=	ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.2/unix-linux/ \
12
		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/platform-independent/
12
		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.2/ \
13
DISTNAME=	Squeak-${PORTVERSION}-src
13
		ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.2/unix-linux/
14
DISTNAME=	Squeak-${SQUEAK_VERSION}.src
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC} ${SQUEAK_IMAGE_SRC}
15
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC} ${SQUEAK_IMAGE_SRC}
15
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
16
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
16
17
17
MAINTAINER=	jesse@cs.uni-magdeburg.de
18
MAINTAINER=	roland.jesse@gmx.net
18
19
19
# Don't set USE_ZIP as this breaks EXTRACT_CMD, EXTRACT_SUFX, and what not.
20
# Don't set USE_ZIP as this breaks EXTRACT_CMD, EXTRACT_SUFX, and what not.
20
BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
21
BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
21
22
23
SQUEAK_VERSION=	3.2-4
24
SQUEAK_PATCHNR=	4956
22
SQUEAK_SRC=	SqueakV3.sources.gz
25
SQUEAK_SRC=	SqueakV3.sources.gz
23
SQUEAK_IMAGE_SRC=	Squeak3.0-3552.zip
26
SQUEAK_IMAGE_SRC=	Squeak3.2-4956.zip
24
SQUEAK_IMAGE=	Squeak3.0.image Squeak3.0.changes
27
SQUEAK_IMAGE=	Squeak3.2-${SQUEAK_PATCHNR}.image \
28
		Squeak3.2-${SQUEAK_PATCHNR}.changes
25
29
26
WRKSRC=		${WRKDIR}/Squeak-3.0
30
WRKSRC=		${WRKDIR}/Squeak-${SQUEAK_VERSION}
31
MAN1=		inisqueak.1 squeak.1
27
USE_XLIB=	yes
32
USE_XLIB=	yes
28
USE_GMAKE=	yes
33
USE_GMAKE=	yes
29
HAS_CONFIGURE=	yes
34
HAS_CONFIGURE=	yes
30
INSTALLS_SHLIB=	yes
35
INSTALLS_SHLIB=	yes
31
LDCONFIG_DIRS=	${PREFIX}/share/squeak/3.0
36
LDCONFIG_DIRS=	${PREFIX}/share/squeak/${SQUEAK_VERSION}
32
CONFIGURE_WRKSRC=	${WRKSRC}/build
37
CONFIGURE_WRKSRC=	${WRKSRC}/build
33
INSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
38
INSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
34
CONFIGURE_SCRIPT=	../src/unix/configure
39
CONFIGURE_SCRIPT=	../platforms/unix/config/configure
35
CONFIGURE_ARGS+=	--libdir=${PREFIX}/share
40
CONFIGURE_ARGS+=	--libdir=${PREFIX}/share
36
# don't pass "-s" to install to avoid trying to strip a shell script
41
# don't pass "-s" to install to avoid trying to strip a shell script
37
CONFIGURE_ENV=	INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}"
42
CONFIGURE_ENV=	INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}"
Lines 53-60 Link Here
53
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${SQUEAK_SRC} ${PREFIX}/share/squeak/)
58
	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${SQUEAK_SRC} ${PREFIX}/share/squeak/)
54
	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d ${SQUEAK_SRC})
59
	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d ${SQUEAK_SRC})
55
	(cd ${PREFIX}/share/squeak && unzip -x ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_IMAGE_SRC})
60
	(cd ${PREFIX}/share/squeak && unzip -x ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_IMAGE_SRC})
56
	(cd ${PREFIX}/share/squeak && ${CHMOD} 644 Squeak3.0.changes)
61
.for file in ${SQUEAK_IMAGE}
57
	strip ${PREFIX}/share/squeak/3.0/squeak
62
	(cd ${PREFIX}/share/squeak && ${GZIP_CMD} ${file})
63
.endfor
64
	strip ${PREFIX}/share/squeak/${SQUEAK_VERSION}/squeak
65
# install inisqueak and change the build in version number on the fly
66
	${SED} -e 's|VERSION=3.2gamma-4881|VERSION=3.2-4956|' ${WRKSRC}/build/inisqueak > ${PREFIX}/bin/inisqueak
67
	(cd ${PREFIX}/bin && ${CHMOD} 755 inisqueak)
58
	@${ECHO} "--------------- Please note: ---------------"
68
	@${ECHO} "--------------- Please note: ---------------"
59
	@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
69
	@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
60
	@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
70
	@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
Lines 62-75 Link Here
62
	@${ECHO} "In order to be able to make use of squeak you need"
72
	@${ECHO} "In order to be able to make use of squeak you need"
63
	@${ECHO} "to have an image and a changes file in your working"
73
	@${ECHO} "to have an image and a changes file in your working"
64
	@${ECHO} "directory as well as access to a source file."
74
	@${ECHO} "directory as well as access to a source file."
65
	@${ECHO} "Execute the following:"
75
	@${ECHO} "Please see the inisqueak(1) manpage for details."
66
	@${ECHO} "cd <your_private_working_directory>"
67
	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0.image ."
68
	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0.changes ."
69
	@${ECHO} "ln -s ${PREFIX}/share/squeak/SqueakV3.sources ."
70
	@${ECHO} ""
71
	@${ECHO} "To finally start up the system type:"
72
	@${ECHO} "squeak Squeak3.0.image"
73
	@${ECHO} "--------------- Thanks for listening. ---------------"
76
	@${ECHO} "--------------- Thanks for listening. ---------------"
74
77
75
.include <bsd.port.mk>
78
.include <bsd.port.mk>
(-)squeak3.new/distinfo (-2 / +2 lines)
Lines 1-3 Link Here
1
MD5 (squeak/Squeak-3.0-src.tar.gz) = 0125f53c1e1db20639f328088c3824de
1
MD5 (squeak/Squeak-3.2-4.src.tar.gz) = 14d19111d8a976cdb6e0bd76d43df7a6
2
MD5 (squeak/SqueakV3.sources.gz) = 7dc6b3840e6bc1e5f81e3717fb46d2c3
2
MD5 (squeak/SqueakV3.sources.gz) = 7dc6b3840e6bc1e5f81e3717fb46d2c3
3
MD5 (squeak/Squeak3.0-3552.zip) = 7256e4b4d568b53499f2a346930308e6
3
MD5 (squeak/Squeak3.2-4956.zip) = bb87597c508b92aab832bd067c49e9c6
(-)squeak3.new/files/patch-openpty-h (+14 lines)
Line 0 Link Here
1
--- platforms/unix/plugins/PseudoTTYPlugin/openpty.h.orig	Tue Sep 10 13:38:07 2002
2
+++ platforms/unix/plugins/PseudoTTYPlugin/openpty.h	Tue Sep 10 13:38:52 2002
3
@@ -43,7 +43,10 @@
4
 # elif defined(HAVE_UTIL_H)
5
 #   include <util.h>		/* openpty() */
6
 # else
7
-#   error: cannot find headers for openpty()
8
+#   include <sys/types.h>
9
+#   include <sys/ioctl.h>
10
+#   include <termios.h>
11
+#   include <libutil.h>
12
 # endif
13
 
14
 #else /* !HAVE_OPENPTY */
(-)squeak3.new/pkg-descr (-2 lines)
Lines 18-22 Link Here
18
    * Sophistication (full Smalltalk-80 language, libraries, and tools).
18
    * Sophistication (full Smalltalk-80 language, libraries, and tools).
19
19
20
WWW: http://www.squeak.org/
20
WWW: http://www.squeak.org/
21
22
Roland Jesse <jesse@cs.uni-magdeburg.de>
(-)squeak3.new/pkg-plist (-10 / +9 lines)
Lines 1-14 Link Here
1
bin/squeak
1
bin/squeak
2
bin/inisqueak
2
bin/inisqueak
3
share/squeak/3.0/Profiler.la
3
share/squeak/3.2-4/squeak
4
share/squeak/3.0/Profiler.so
4
share/squeak/3.2-4/B3DAcceleratorPlugin.la
5
share/squeak/3.0/System.la
5
share/squeak/3.2-4/UnixOSProcessPlugin.la
6
share/squeak/3.0/System.so
6
share/squeak/3.2-4/libB3DAcceleratorPlugin.a
7
share/squeak/3.0/inisqueak
7
share/squeak/3.2-4/libUnixOSProcessPlugin.a
8
share/squeak/3.0/squeak
8
share/squeak/ReadMe.txt
9
share/squeak/3.0/squeak.map
9
share/squeak/Squeak3.2-4956.changes.gz
10
share/squeak/Squeak3.0.changes
10
share/squeak/Squeak3.2-4956.image.gz
11
share/squeak/Squeak3.0.image
12
share/squeak/SqueakV3.sources
11
share/squeak/SqueakV3.sources
13
@dirrm share/squeak/3.0
12
@dirrm share/squeak/3.2-4
14
@dirrm share/squeak
13
@dirrm share/squeak

Return to bug 42634