Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 15:07:03 +0200 (MEST)
From:      Roland Jesse <roland.jesse@gmx.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42634: Update of port lang/squeak3 to version 3.2
Message-ID:  <200209101307.g8AD73pa050530@arthur.cs.uni-magdeburg.de>

next in thread | raw e-mail | index | archive | help

>Number:         42634
>Category:       ports
>Synopsis:       Update of port lang/squeak3 to version 3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 10 06:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Roland Jesse
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Otto-von-Guericke University of Magdeburg
>Environment:
System: FreeBSD 4.6-STABLE #8: Fri Aug 9 10:41:54 CEST 2002 i386
>Description:
Update of port lang/squeak3 from 3.0 to 3.2-4

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209101307.g8AD73pa050530>