summaryrefslogtreecommitdiff
path: root/lang/squeak/Makefile
blob: 7c2777034e2df6b7c527d2533615c761b5abafe4 (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
36
37
# $NetBSD: Makefile,v 1.12 2001/03/27 03:20:04 hubertf Exp $
#

DISTNAME=	Squeak2.7-src
PKGNAME=	squeak-2.7
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/
DISTFILES=	Squeak2.7-src.tar.gz Squeak2.7.image.gz Squeak2.7.changes.gz SqueakV2.sources.gz

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.squeak.org/
COMMENT=	Full Smalltalk 80 with portability to UN*X, Mac, and Windows

BUILD_DEPENDS+=	autoconf-2.13:../../devel/autoconf

DIST_SUBDIR=	squeak
EXTRACT_ONLY=	Squeak2.7-src.tar.gz
USE_X11=	yes
USE_GMAKE=	yes
NO_WRKSUBDIR=	yes

ALL_TARGET=	squeak

CONFIGURE_ARGS+=	--debug

pre-configure:
	cd ${WRKSRC}/conf; ${LOCALBASE}/bin/autoconf

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/squeak
	${INSTALL_PROGRAM} ${WRKSRC}/`${WRKSRC}/conf/config.guess`/squeak ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${PREFIX}/share/squeak
	for f in Squeak2.7.changes Squeak2.7.image SqueakV2.sources ; do	\
		${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/$$f.gz > ${PREFIX}/share/squeak/$$f; \
	done

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