Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 15:41:21 +0200 (CEST)
From:      jesse@cs.uni-magdeburg.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26292: New port: Version 3 of Squeak, the Smalltalk 80 dialect
Message-ID:  <200104021341.f32DfLb21485@arthur.cs.uni-magdeburg.de>

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

>Number:         26292
>Category:       ports
>Synopsis:       New port: Version 3 of Squeak, the Smalltalk 80 dialect
>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:   Mon Apr 02 06:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 4.3-BETA i386
>Organization:
Otto-von-Guericke University of Magdeburg
>Environment:
System: FreeBSD arthur.cs.uni-magdeburg.de 4.3-BETA FreeBSD 4.3-BETA #1: Thu Mar 15 09:22:08 CET 2001 root@arthur.cs.uni-magdeburg.de:/usr/obj/usr/src/sys/ARTHUR i386
>Description:
Squeak is a implementation of the Smalltalk programming
environment; it includes among other things:
    * a rapid-turn-around Smalltalk-80 compiler,
    * a caching-JIT run-time virtual machine (with full source in
      Smalltalk),
    * large class libraries with portable data and GUI models, and
    * an integrated development environment with coding tools, GUI
      construction.

Squeak was developed at Apple Labs and Walt Disney and has been ported
to a variety of computers (including most flavors of UNIX and
Windows). Compared to other Smalltalk systems, Squeak has 4 important
features:
    * Portability (to Mac, Windows, WinCE, and many flavors of UNIX);
    * Speed (it uses native C for compute-intensive code);
    * Price (free, including all source code and the right to distribute
      applications!); and
    * Sophistication (full Smalltalk-80 language, libraries, and tools).

WWW: http://www.squeak.org/
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	squeak3
#	squeak3/Makefile
#	squeak3/pkg-comment
#	squeak3/distinfo
#	squeak3/pkg-descr
#	squeak3/pkg-plist
#	squeak3/Makefile~
#
echo c - squeak3
mkdir -p squeak3 > /dev/null 2>&1
echo x - squeak3/Makefile
sed 's/^X//' >squeak3/Makefile << 'END-of-squeak3/Makefile'
X# New ports collection makefile for:   	squeak
X# Date created:        			2 April 2001
X# Whom:                			jesse@cs.uni-magdeburg.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squeak
XPORTVERSION=	3.0
XCATEGORIES=	lang
XMASTER_SITES=	ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/ \
X		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/ \
X		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/files/
XDISTNAME=	Squeak-${PORTVERSION}pre2
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
XEXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=	jesse@cs.uni-magdeburg.de
X
XWRKSRC=		${WRKDIR}/Squeak-3.0
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XHAS_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XLDCONFIG_DIRS=	${PREFIX}/share/squeak/3.0
XCONFIGURE_WRKSRC=	${WRKSRC}/build
XINSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
XCONFIGURE_SCRIPT=	../src/unix/configure
XCONFIGURE_ARGS+=	--libdir=${PREFIX}/share
X# don't pass "-s" to install to avoid trying to strip a shell script
XCONFIGURE_ENV=	INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}"
XBUILD_WRKSRC=	${WRKSRC}/build
XDIST_SUBDIR=	squeak
XSQUEAK_SRC=	SqueakV3.sources.gz Squeak3.0final.image.gz \
X		Squeak3.0final.changes.gz
X
XMAKEFILE=	Makefile
X.ifdef (CC)
XMAKE_ARGS+=	CC=${CC}
X.endif
X.ifdef (CFLAGS)
XMAKE_ARGS+=	CCFLAGS="${CFLAGS}"
X.endif
X
Xpre-configure:
X	@${MKDIR} ${BUILD_WRKSRC}
X
Xpost-install:
X.for f in ${SQUEAK_SRC}
X	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
X	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d $f)
X.endfor
X	(cd ${PREFIX}/share/squeak && ${CHMOD} 644 Squeak3.0final.changes)
X	strip ${PREFIX}/share/squeak/3.0/squeak
X	@${ECHO} "--------------- Please note: ---------------"
X	@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
X	@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
X	@${ECHO} ""
X	@${ECHO} "In order to be able to make use of squeak you need"
X	@${ECHO} "to have an image and a changes file in your working"
X	@${ECHO} "directory as well as access to a source file."
X	@${ECHO} "Execute the following:"
X	@${ECHO} "cd <your_private_working_directory>"
X	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0final.image ."
X	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0final.changes ."
X	@${ECHO} "ln -s ${PREFIX}/share/squeak/SqueakV3.sources ."
X	@${ECHO} ""
X	@${ECHO} "To finally start up the system type:"
X	@${ECHO} "squeak Squeak3.0final.image"
X	@${ECHO} "--------------- Thanks for listening. ---------------"
X
X.include <bsd.port.mk>
END-of-squeak3/Makefile
echo x - squeak3/pkg-comment
sed 's/^X//' >squeak3/pkg-comment << 'END-of-squeak3/pkg-comment'
XFull Smalltalk 80 with portability to UNIX, Mac, and Windows
END-of-squeak3/pkg-comment
echo x - squeak3/distinfo
sed 's/^X//' >squeak3/distinfo << 'END-of-squeak3/distinfo'
XMD5 (squeak/Squeak-3.0pre2.tar.gz) = 552794d875fbc5bb19f3162716365361
XMD5 (squeak/SqueakV3.sources.gz) = 7dc6b3840e6bc1e5f81e3717fb46d2c3
XMD5 (squeak/Squeak3.0final.image.gz) = 2780f36eb057bf6dfb054398c04f3ac8
XMD5 (squeak/Squeak3.0final.changes.gz) = c9f2f4a3800d4ba8ef480b4f4432c109
END-of-squeak3/distinfo
echo x - squeak3/pkg-descr
sed 's/^X//' >squeak3/pkg-descr << 'END-of-squeak3/pkg-descr'
XSqueak is a implementation of the Smalltalk programming
Xenvironment; it includes among other things:
X    * a rapid-turn-around Smalltalk-80 compiler,
X    * a caching-JIT run-time virtual machine (with full source in
X      Smalltalk),
X    * large class libraries with portable data and GUI models, and
X    * an integrated development environment with coding tools, GUI
X      construction.
X
XSqueak was developed at Apple Labs and Walt Disney and has been ported
Xto a variety of computers (including most flavors of UNIX and
XWindows). Compared to other Smalltalk systems, Squeak has 4 important
Xfeatures:
X    * Portability (to Mac, Windows, WinCE, and many flavors of UNIX);
X    * Speed (it uses native C for compute-intensive code);
X    * Price (free, including all source code and the right to distribute
X      applications!); and
X    * Sophistication (full Smalltalk-80 language, libraries, and tools).
X
XWWW: http://www.squeak.org/
X
XRoland Jesse <jesse@cs.uni-magdeburg.de>
END-of-squeak3/pkg-descr
echo x - squeak3/pkg-plist
sed 's/^X//' >squeak3/pkg-plist << 'END-of-squeak3/pkg-plist'
Xbin/squeak
Xbin/inisqueak
Xshare/squeak/3.0/Profiler.la
Xshare/squeak/3.0/Profiler.so
Xshare/squeak/3.0/System.la
Xshare/squeak/3.0/System.so
Xshare/squeak/3.0/inisqueak
Xshare/squeak/3.0/squeak
Xshare/squeak/3.0/squeak.map
Xshare/squeak/Squeak3.0final.changes
Xshare/squeak/Squeak3.0final.image
Xshare/squeak/SqueakV3.sources
X@dirrm share/squeak/3.0
X@dirrm share/squeak
END-of-squeak3/pkg-plist
echo x - squeak3/Makefile~
sed 's/^X//' >squeak3/Makefile~ << 'END-of-squeak3/Makefile~'
X# New ports collection makefile for:   	squeak
X# Date created:        			28 March 2001
X# Whom:                			jesse@cs.uni-magdeburg.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	squeak
XPORTVERSION=	3.0
XCATEGORIES=	lang
XMASTER_SITES=	ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/ \
X		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/ \
X		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/3.0/files/
XDISTNAME=	Squeak-${PORTVERSION}pre2
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
XEXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=	jesse@cs.uni-magdeburg.de
X
XWRKSRC=		${WRKDIR}/Squeak-3.0
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XHAS_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XLDCONFIG_DIRS=	${PREFIX}/share/squeak/3.0
XCONFIGURE_WRKSRC=	${WRKSRC}/build
XINSTALL_WRKSRC=	${CONFIGURE_WRKSRC}
XCONFIGURE_SCRIPT=	../src/unix/configure
XCONFIGURE_ARGS+=	--libdir=${PREFIX}/share
X# don't pass "-s" to install to avoid trying to strip a shell script
XCONFIGURE_ENV=	INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}"
XBUILD_WRKSRC=	${WRKSRC}/build
XDIST_SUBDIR=	squeak
XSQUEAK_SRC=	SqueakV3.sources.gz Squeak3.0final.image.gz \
X		Squeak3.0final.changes.gz
X
XMAKEFILE=	Makefile
X.ifdef (CC)
XMAKE_ARGS+=	CC=${CC}
X.endif
X.ifdef (CFLAGS)
XMAKE_ARGS+=	CCFLAGS="${CFLAGS}"
X.endif
X
Xpre-configure:
X	@${MKDIR} ${BUILD_WRKSRC}
X
Xpost-install:
X.for f in ${SQUEAK_SRC}
X	(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
X	(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d $f)
X.endfor
X	(cd ${PREFIX}/share/squeak && ${CHMOD} 644 Squeak3.0final.changes)
X	strip ${PREFIX}/share/squeak/3.0/squeak
X	@${ECHO} "--------------- Please note: ---------------"
X	@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
X	@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
X	@${ECHO} ""
X	@${ECHO} "In order to be able to make use of squeak you need"
X	@${ECHO} "to have an image and a changes file in your working"
X	@${ECHO} "directory as well as access to a source file."
X	@${ECHO} "Execute the following:"
X	@${ECHO} "cd <your_private_working_directory>"
X	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0final.image ."
X	@${ECHO} "cp ${PREFIX}/share/squeak/Squeak3.0final.changes ."
X	@${ECHO} "ln -s ${PREFIX}/share/squeak/SqueakV3.sources ."
X	@${ECHO} ""
X	@${ECHO} "To finally start up the system type:"
X	@${ECHO} "squeak Squeak3.0final.image"
X	@${ECHO} "--------------- Thanks for listening. ---------------"
X
X.include <bsd.port.mk>
END-of-squeak3/Makefile~
exit

>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?200104021341.f32DfLb21485>