summaryrefslogtreecommitdiff
path: root/lang/squeak/Makefile
diff options
context:
space:
mode:
authoragc <agc>2000-01-13 16:37:05 +0000
committeragc <agc>2000-01-13 16:37:05 +0000
commit24e3bcf4b4d504583d89fdc4b399eefe61cebe92 (patch)
tree2009003eeb8ffe54f0aa0b6a2a55304d2e10d759 /lang/squeak/Makefile
parent1b2e7c15ecab5f61c2b14dd063e3f8c95a3c550d (diff)
downloadpkgsrc-24e3bcf4b4d504583d89fdc4b399eefe61cebe92.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"