summaryrefslogtreecommitdiff
path: root/lang/smalltalk/Makefile
blob: be137cc896401dfacdf3c8e5a21bc0cd179d4c48 (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.26 2004/03/08 20:27:14 minskim 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/tcl83/buildlink2.mk"
.include "../../x11/tk83/buildlink2.mk"
.include "../../databases/gdbm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"