blob: 1139a0f50722799d0d61a669d043168269982147 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.5 2011/01/18 15:28:13 asau Exp $
#
SQUEAK_VERSION= 3.11.3.2135
DISTNAME= Squeak-$(SQUEAK_VERSION)-src
PKGNAME= squeak-vm-$(SQUEAK_VERSION:C/-/./)
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://ftp.squeak.org/3.10/unix-linux/ \
http://squeakvm.org/unix/release/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://squeakvm.org/unix/
COMMENT= Full Smalltalk 80 with portability to UN*X, Mac, and Windows
PKG_DESTDIR_SUPPORT= user-destdir
DIST_SUBDIR= squeak
CHECK_PORTABILITY_SKIP= unix/config/configure # not used anymore
USE_LANGUAGES= c c++
USE_CMAKE= yes
USE_TOOLS= gzip
CONFIGURE_DIRS= $(WRKSRC)/build
CMAKE_ARG_PATH= ../unix
#CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE # debug
CMAKE_ARGS+= -DPKGMANDIR=$(PKGMANDIR)
CMAKE_ARGS+= -DVM_HOST=$(MACHINE_GNU_PLATFORM:Q) -DVM_VERSION=$(SQUEAK_VERSION)
CMAKE_ARGS+= -DLIBOSSAUDIO=$(LIBOSSAUDIO) -DDEVOSSAUDIO=$(DEVOSSAUDIO)
#CFLAGS= -g -fomit-frame-pointer
.include "../../mk/bsd.prefs.mk"
.if $(OPSYS) == "NetBSD"
# UUID routines are in libc:
BUILDLINK_TRANSFORM+= rm:-luuid
.endif
PLIST_SUBST= SQUEAK_VERSION=$(SQUEAK_VERSION)
.include "options.mk"
pre-configure:
$(MKDIR) $(CONFIGURE_DIRS)
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|