aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-11-27 22:35:40 +0800
committerknu <knu@FreeBSD.org>2001-11-27 22:35:40 +0800
commit373225f5b6fe6f44089e60a4ff3ab93902b5b4f4 (patch)
treed23b3f058583c6c8d470c8ab555a450f00cd6a4f
parent7f330368e8f2fabd7db3cc16f3ff07b8384fcdd8 (diff)
downloadfreebsd-ports-gnome-373225f5b6fe6f44089e60a4ff3ab93902b5b4f4.tar.gz
freebsd-ports-gnome-373225f5b6fe6f44089e60a4ff3ab93902b5b4f4.tar.zst
freebsd-ports-gnome-373225f5b6fe6f44089e60a4ff3ab93902b5b4f4.zip
Add Version 3 of Squeak, after a repocopy from lang/squeak2.
PR: ports/31231 Submitted by: Roland Jesse <jesse@cs.uni-magdeburg.de>
-rw-r--r--lang/squeak3/Makefile60
-rw-r--r--lang/squeak3/distinfo7
-rw-r--r--lang/squeak3/files/patch-aa15
-rw-r--r--lang/squeak3/pkg-descr2
-rw-r--r--lang/squeak3/pkg-plist19
5 files changed, 52 insertions, 51 deletions
diff --git a/lang/squeak3/Makefile b/lang/squeak3/Makefile
index 1d82fd36b8da..0e84bb6b88a3 100644
--- a/lang/squeak3/Makefile
+++ b/lang/squeak3/Makefile
@@ -1,27 +1,42 @@
# New ports collection makefile for: squeak
-# Date created: 4 March 1999
+# Date created: 12 October 2001
# Whom: jesse@cs.uni-magdeburg.de
#
# $FreeBSD$
#
PORTNAME= squeak
-PORTVERSION= 2.7
+PORTVERSION= 3.0
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/ \
- ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/free/squeak/unix/
+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
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC} ${SQUEAK_IMAGE_SRC}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= jesse@cs.uni-magdeburg.de
-NO_WRKSUBDIR= yes
+# Don't set USE_ZIP as this breaks EXTRACT_CMD, EXTRACT_SUFX, and what not.
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+SQUEAK_SRC= SqueakV3.sources.gz
+SQUEAK_IMAGE_SRC= Squeak3.0-3552.zip
+SQUEAK_IMAGE= Squeak3.0.image Squeak3.0.changes
+
+WRKSRC= ${WRKDIR}/Squeak-3.0
USE_XLIB= yes
USE_GMAKE= yes
+HAS_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= ${PREFIX}/share/squeak/3.0
+CONFIGURE_WRKSRC= ${WRKSRC}/build
+INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
+CONFIGURE_SCRIPT= ../src/unix/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}"
+BUILD_WRKSRC= ${WRKSRC}/build
DIST_SUBDIR= squeak
-SQUEAK_SRC= SqueakV2.sources.gz Squeak-2.7.image.gz Squeak-2.7.changes.gz
-SQUEAK_LIB= Profiler.so SoundCodecPrims.so Squeak3D.so System.so
MAKEFILE= Makefile
.ifdef (CC)
@@ -31,20 +46,16 @@ MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CCFLAGS="${CFLAGS}"
.endif
-do-install:
- @(cd ${WRKSRC}/freebsd && \
- ${INSTALL_PROGRAM} squeak ${PREFIX}/bin/squeak)
- ${MKDIR} ${PREFIX}/share/squeak
-.for l in ${SQUEAK_LIB}
- (cd ${WRKSRC}/freebsd && ${INSTALL_DATA} $l ${PREFIX}/lib/$l)
-.endfor
-.for f in ${SQUEAK_SRC}
- (cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
- (cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d $f)
-.endfor
- (cd ${PREFIX}/share/squeak && ${CHMOD} 644 Squeak-2.7.changes)
+pre-configure:
+ @${MKDIR} ${BUILD_WRKSRC}
post-install:
+ (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
+ @${ECHO} "--------------- Please note: ---------------"
@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
@${ECHO} ""
@@ -53,11 +64,12 @@ post-install:
@${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/Squeak-2.7.image ."
- @${ECHO} "cp ${PREFIX}/share/squeak/Squeak-2.7.changes ."
- @${ECHO} "ln -s ${PREFIX}/share/squeak/SqueakV2.sources ."
+ @${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 Squeak-2.7.image"
+ @${ECHO} "squeak Squeak3.0.image"
+ @${ECHO} "--------------- Thanks for listening. ---------------"
.include <bsd.port.mk>
diff --git a/lang/squeak3/distinfo b/lang/squeak3/distinfo
index c4da66190e58..5cc8dfb314cb 100644
--- a/lang/squeak3/distinfo
+++ b/lang/squeak3/distinfo
@@ -1,4 +1,3 @@
-MD5 (squeak/Squeak-2.7-src.tar.gz) = b52ff01a25eac4d5ec0088b432f2d8a1
-MD5 (squeak/SqueakV2.sources.gz) = 80487895bb1d1cbfddc8736273cccc92
-MD5 (squeak/Squeak-2.7.image.gz) = c74bdb08de5e88eab5dd5e042dc0f98e
-MD5 (squeak/Squeak-2.7.changes.gz) = 303220f35e986ea27003ddda2087c12a
+MD5 (squeak/Squeak-3.0-src.tar.gz) = 0125f53c1e1db20639f328088c3824de
+MD5 (squeak/SqueakV3.sources.gz) = 7dc6b3840e6bc1e5f81e3717fb46d2c3
+MD5 (squeak/Squeak3.0-3552.zip) = 7256e4b4d568b53499f2a346930308e6
diff --git a/lang/squeak3/files/patch-aa b/lang/squeak3/files/patch-aa
deleted file mode 100644
index c4dba9fb21bd..000000000000
--- a/lang/squeak3/files/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
---- conf/config.guess.orig Mon Mar 6 11:52:02 2000
-+++ conf/config.guess Mon Mar 6 11:52:24 2000
-@@ -477,11 +477,7 @@
- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
- exit 0 ;;
- *:FreeBSD:*:*)
-- if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
-- echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-- else
-- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-- fi
-+ echo freebsd
- exit 0 ;;
- *:NetBSD:*:*)
- echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
diff --git a/lang/squeak3/pkg-descr b/lang/squeak3/pkg-descr
index 14b1b4cd7b93..edb315502dd3 100644
--- a/lang/squeak3/pkg-descr
+++ b/lang/squeak3/pkg-descr
@@ -1,4 +1,4 @@
-Squeak is a new implementation of the Smalltalk programming
+Squeak is an 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
diff --git a/lang/squeak3/pkg-plist b/lang/squeak3/pkg-plist
index 2d7543054950..03f8362847f8 100644
--- a/lang/squeak3/pkg-plist
+++ b/lang/squeak3/pkg-plist
@@ -1,9 +1,14 @@
bin/squeak
-lib/Profiler.so
-lib/SoundCodecPrims.so
-lib/Squeak3D.so
-lib/System.so
-share/squeak/Squeak-2.7.changes
-share/squeak/Squeak-2.7.image
-share/squeak/SqueakV2.sources
+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.0final.changes
+share/squeak/Squeak3.0final.image
+share/squeak/SqueakV3.sources
+@dirrm share/squeak/3.0
@dirrm share/squeak