-
Notifications
You must be signed in to change notification settings - Fork 160
/
Makefile
47 lines (36 loc) · 1.27 KB
/
Makefile
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
# $NetBSD: Makefile,v 1.76 2021/07/24 14:50:42 yhardy Exp $
#
DISTNAME= Gauche-0.9.10
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
MAINTAINER= [email protected]
HOMEPAGE= https://practical-scheme.net/gauche/
COMMENT= R7RS Scheme implementation aimed to be a handy tool for daily works
LICENSE= modified-bsd # see work/${DISTNAME}/COPYING
DEPENDS+= slib-[0-9]*:../../devel/slib
.include "options.mk"
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
GNU_CONFIGURE_STRICT= no # has several configure programs
CONFIGURE_ARGS+= --with-slib=${LOCALBASE}/share/slib
CONFIGURE_ARGS+= --enable-threads=pthreads
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
USE_LANGUAGES= c c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake gzip makeinfo
TEST_TARGET= check
INFO_FILES= yes
TEXINFO_REQD= 5.0
# refer %install in ${WRKSRC}/Gauche.spec
INSTALL_TARGET= install-pkg install-doc
# Does relink internally
BUILDLINK_PASSTHRU_RPATHDIRS+= ${WRKSRC}
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
gzip -d ${DESTDIR}${PREFIX}/${PKGINFODIR}/gauche-ref*gz
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"