summaryrefslogtreecommitdiff
path: root/lang/squeak/Makefile
blob: aba2a7856daa01284456846956c457be6962d333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.46 2013/04/06 14:32:38 rodent Exp $
#

SQUEAK_VERSION=	4.3
SQUEAK_SOURCES=	SqueakV40.sources

DISTNAME=	Squeak$(SQUEAK_VERSION)
PKGNAME=	squeak-$(SQUEAK_VERSION)
CATEGORIES=	lang
MASTER_SITES=	http://ftp.squeak.org/$(SQUEAK_VERSION)/
EXTRACT_SUFX=	.zip
DISTFILES=	${DEFAULT_DISTFILES} $(SQUEAK_SOURCES).gz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://squeak.org/
COMMENT=	Full Smalltalk 80 with portability to UN*X, Mac, and Windows
LICENCE=	mit AND apache-2.0

DEPENDS=	squeak-vm-[0-9]*:../../lang/squeak-vm

DIST_SUBDIR=	squeak
USE_TOOLS+=	gzip unzip
NO_BUILD=	yes

INSTALLATION_DIRS=	share/squeak/$(SQUEAK_VERSION)

post-extract:
	$(GZIP_CMD) -dc $(DISTDIR)/$(DIST_SUBDIR)/$(SQUEAK_SOURCES).gz > $(WRKDIR)/$(SQUEAK_SOURCES)

do-install:
	$(INSTALL_DATA) $(WRKSRC)/$(DISTNAME:=.image) $(DESTDIR)$(PREFIX)/share/squeak/$(SQUEAK_VERSION)/
	$(INSTALL_DATA) $(WRKSRC)/$(DISTNAME:=.changes) $(DESTDIR)$(PREFIX)/share/squeak/$(SQUEAK_VERSION)/
	$(INSTALL_DATA) $(WRKDIR)/$(SQUEAK_SOURCES) $(DESTDIR)$(PREFIX)/share/squeak/$(SQUEAK_VERSION)/$(SQUEAK_SOURCES)

.include "../../mk/bsd.pkg.mk"