summaryrefslogtreecommitdiff
path: root/lang/squeak/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-01-13 16:37:05 +0000
committeragc <agc@pkgsrc.org>2000-01-13 16:37:05 +0000
commit6fed9b7fa84fa47a4526b608c085e6f71905a196 (patch)
tree2009003eeb8ffe54f0aa0b6a2a55304d2e10d759 /lang/squeak/Makefile
parentec8de2d7e1600435040fec68800d1d3e6608d340 (diff)
downloadpkgsrc-6fed9b7fa84fa47a4526b608c085e6f71905a196.tar.gz
Initial import of squeak, a full Smalltalk 80 with portability to
UN*X, Mac, and Windows, into the NetBSD packages collection. This was based very loosely upon an old FreeBSD port, but upgraded from version 2.4 to 2.6, and NetBSD differences have been applied.
Diffstat (limited to 'lang/squeak/Makefile')
-rw-r--r--lang/squeak/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
new file mode 100644
index 00000000000..3cbc4414b6e
--- /dev/null
+++ b/lang/squeak/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/13 16:37:05 agc Exp $
+#
+
+DISTNAME= Squeak2.6-src
+PKGNAME= squeak-2.6
+CATEGORIES= lang
+MASTER_SITES= http://www-sor.inria.fr/~piumarta/squeak/unix/release/ \
+ ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/unix/ \
+ ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/unix/image/ \
+ http://www.nectar.com/distfiles/squeak/
+DISTFILES= Squeak2.6-src.tar.gz Squeak2.6.image.gz Squeak2.6.changes.gz
+DIST_SUBDIR= squeak
+EXTRACT_ONLY= Squeak2.6-src.tar.gz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.squeak.org/
+
+USE_X11= yes
+USE_GMAKE= yes
+NO_WRKSUBDIR= yes
+ALL_TARGET= squeak
+
+do-config:
+ cd ${WRKSRC}; ${GMAKE} config
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/squeak; \
+ case ${OPSYS} in \
+ SunOS) maker=sun; version=`${ECHO} ${OS_VERSION} | ${SED} -e 's|^5|2|'` ;; \
+ *) maker=""; version=${OS_VERSION} ;; \
+ esac; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/${MACHINE_GNU_ARCH}-$$maker-${LOWER_OPSYS}$$version/squeak ${PREFIX}/bin; \
+ for f in Squeak2.6.changes Squeak2.6.image; do \
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/$$f.gz > ${PREFIX}/share/squeak/$$f; \
+ done
+
+.include "../../mk/bsd.pkg.mk"