aboutsummaryrefslogtreecommitdiffstats
path: root/lang/squeak3/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-21 08:47:27 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-21 08:47:27 +0800
commit4cb0713af6edf835b53aa2dc55a08dc23dcee27b (patch)
tree149bb69f214ea65c823dbe677570cce9cbc422a2 /lang/squeak3/Makefile
parentd66a31ed92335d9b2d25862e4018794101e4f39c (diff)
downloadfreebsd-ports-gnome-4cb0713af6edf835b53aa2dc55a08dc23dcee27b.tar.gz
freebsd-ports-gnome-4cb0713af6edf835b53aa2dc55a08dc23dcee27b.tar.zst
freebsd-ports-gnome-4cb0713af6edf835b53aa2dc55a08dc23dcee27b.zip
upgrade to 3.2-4
change maintainer email PR: 42634 Submitted by: maintainer
Diffstat (limited to 'lang/squeak3/Makefile')
-rw-r--r--lang/squeak3/Makefile45
1 files changed, 24 insertions, 21 deletions
diff --git a/lang/squeak3/Makefile b/lang/squeak3/Makefile
index 0e84bb6b88a3..1573b21b8866 100644
--- a/lang/squeak3/Makefile
+++ b/lang/squeak3/Makefile
@@ -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$
#
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 @@ 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
+.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 @@ post-install:
@${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>