summaryrefslogtreecommitdiff
path: root/lang/smalltalk/Makefile
blob: 2cdce6bdd57c8a115812cea437ec3526a18ad989 (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
# $NetBSD: Makefile,v 1.24 2004/02/14 17:21:44 jlam Exp $

DISTNAME=		smalltalk-2.1.4
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_GNU:=smalltalk/}

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.smalltalk.org/versions/GNUSmalltalk.html
COMMENT=		GNU Smalltalk: A smalltalk-80 implementation

ONLY_FOR_PLATFORM=	*-*-i386 *-*-sparc *-*-powerpc

USE_BUILDLINK2=		YES
USE_GNU_TOOLS+=		make
USE_GNU_READLINE=	YES
USE_LIBTOOL=		YES

INFO_FILES=		gst-base.info gst-libs.info gst.info

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-gmp=${BUILDLINK_PREFIX.gmp}/lib
CONFIGURE_ARGS+=	--with-readline=${BUILDLINK_PREFIX.readline}/lib
CONFIGURE_ARGS+=	--with-gdbm=${BUILDLINK_PREFIX.gdbm}/lib
CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ARGS+=	--without-glib --without-gtk
CONFIGURE_ARGS+=	--with-lispdir=${PREFIX}/share/emacs/site-lisp
CONFIGURE_ENV+=		CFLAGS="-O2 -fsigned-char"

TEST_TARGET=		check

.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/libtool/buildlink2.mk"
.include "../../devel/gmp/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"
.include "../../lang/tcl/buildlink2.mk"
.include "../../x11/tk/buildlink2.mk"
.include "../../databases/gdbm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"