blob: 9bc862dcec6eeebb85ade6083843a126bffd04c2 (
plain) (
blame)
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
54
55
56
57
58
59
|
# New ports collection makefile for: bigloo
# Date created: 15 Jul 2002
# Whom: Stanislav Grozev <tacho@daemonz.org>
#
# $FreeBSD$
#
PORTNAME= bigloo
PORTVERSION= 2.6b
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/ \
ftp://kaolin.unice.fr/pub/Bigloo/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tacho@daemonz.org
COMMENT= A Scheme interpreter and native code compiler
USE_GMAKE= yes
ALL_TARGET=
INSTALL_TARGET= install compile-bee install-bee
EMACS_PORT_NAME?= emacs21
MAN1= bigloo.1
INFO= bigloo
PLIST_SUB= BIGLOO_VERSION=${PORTVERSION}
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/bigloo/%%BIGLOO_VERSION%%
USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--emacs=${EMACS_NAME} \
--lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/bigloo \
--native=yes \
--jvm=no
INSTALL_INFO?= install-info
post-configure:
${REINPLACE_CMD} -e 's/BGL_HAVE_SENDFILE 1/BGL_HAVE_SENDFILE 0/' \
${WRKSRC}/lib/${PORTVERSION}/bigloo_config.h
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
post-install: install-info
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/bigloo.sh | ${SED} "s|%%BIGLOO_VERSION%%|${PORTVERSION}|g" > ${PREFIX}/etc/rc.d/000.bigloo.sh
@${CHMOD} 750 ${PREFIX}/etc/rc.d/000.bigloo.sh
install-info:
@${INSTALL_INFO} ${PREFIX}/info/${PORTNAME}.info ${PREFIX}/info/dir
test: build
@(cd ${WRKSRC}; ${GMAKE} test)
.include <bsd.port.post.mk>
|