blob: 950227d2d5ad5519775fbd67daf230e3caa0333c (
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
|
# $NetBSD: Makefile,v 1.38 2006/04/09 01:11:31 jlam Exp $
#
DISTNAME= Gauche-0.8.6
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
MAINTAINER= minoura@NetBSD.org
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
DEPENDS+= slib-[0-9]*:../../devel/slib
.include "options.mk"
EVAL_PREFIX+= SLIB_PREFIX=slib
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-slib=${SLIB_PREFIX}/share/slib
CONFIGURE_ARGS+= --enable-multibyte=utf-8
CONFIGURE_ARGS+= --enable-threads=none # must match w/ boehm-gc
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-iconv-lib=${BUILDLINK_LDADD.iconv:M-l*:S/-l//:Q}
MAKE_ENV+= ICONV_LDFLAGS=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib
USE_TOOLS+= gzip makeinfo
INFO_FILES= # PLIST
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
post-install:
gzip -d ${PREFIX}/${PKGINFODIR}/gauche-ref*gz
.include "../../mk/bsd.pkg.mk"
|