-
Notifications
You must be signed in to change notification settings - Fork 160
/
Makefile
53 lines (40 loc) · 1.39 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
48
49
50
51
52
53
# $NetBSD: Makefile,v 1.51 2009/10/06 18:30:42 joerg Exp $
#
DISTNAME= Gauche-0.8.13
CATEGORIES= lang
PKGREVISION= 2
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
MAINTAINER= [email protected], [email protected]
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
# XXX Wants to execute bin/gosh during installation
#PKG_DESTDIR_SUPPORT= user-destdir
NOT_FOR_BULK_PLATFORM= HPUX-*-*
.include "options.mk"
EVAL_PREFIX+= SLIB_PREFIX=slib
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-slib=${SLIB_PREFIX}/share/slib
CONFIGURE_ARGS+= --enable-threads=pthreads
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
MAKEVARS+= DESTDIR
CHECK_BUILTIN.iconv:= no
.include "../../converters/libiconv/builtin.mk"
CHECK_BUILTIN.iconv:= yes
.if !empty(USE_BUILTIN.iconv:M[nN][oO])
CONFIGURE_ARGS+= --with-iconv-lib=${BUILDLINK_LIBNAME.iconv}
ALL_ENV+= \
ICONV_LDFLAGS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib"
.endif
USE_LIBTOOL= yes
USE_TOOLS+= gzip makeinfo
TEST_TARGET= check
INFO_FILES= # PLIST
.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 "../../mk/bsd.pkg.mk"