blob: d8d0253f8cbde309dce75346230e42ea0268f26f (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# New ports collection makefile for: bigloo
# Date created: 15 Jul 2002
# Whom: Stanislav Grozev <tacho@daemonz.org>
#
# $FreeBSD$
#
PORTNAME= bigloo
PORTVERSION= 3.2b.2
PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/ \
ftp://kaolin.unice.fr/pub/Bigloo/
DISTNAME= ${PORTNAME}${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Scheme interpreter and native code compiler
LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
USE_OPENSSL= yes
USE_GSTREAMER= yes
USE_EMACS= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--emacs=${EMACS_NAME} \
--lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/bigloo \
--native=yes \
--jvm=no \
--gclibdir=${LOCALBASE}/lib \
--gcincdir=${LOCALBASE}/include \
--customgc=no
ALL_TARGET= build compile-bee
INSTALL_TARGET= install-progs install-bee
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/bigloo/${PORTVERSION:R}
PLIST_SUB= BIGLOO_VERSION="${PORTVERSION:R}"
MAKE_JOBS_UNSAFE= yes
MAN1= bigloo.1
INFO= bigloo
.include <bsd.port.pre.mk>
.if (${EMACS_PORT_NAME} == "emacs23")
BROKEN= is not compiled with Emacs 23
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^coflags=|#coflags=|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|"-pthread"|"${PTHREAD_LIBS}"|g' \
${WRKSRC}/autoconf/pthread
@${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|g' \
${WRKSRC}/api/multimedia/src/Unix/bglmixer.c
post-configure:
@${FIND} ${WRKSRC} -name "bigloo_config.h" | ${XARGS} \
${REINPLACE_CMD} -e 's/BGL_HAVE_SENDFILE 1/BGL_HAVE_SENDFILE 0/'
post-install:
${INSTALL_MAN} ${WRKSRC}/manuals/bigloo.man ${MANPREFIX}/man/man1/${MAN1}
${INSTALL_DATA} ${WRKSRC}/manuals/bigloo.info ${PREFIX}/${INFO_PATH}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manuals/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/manuals/*.sui ${DOCSDIR}
.endif
test: build
@(cd ${WRKSRC}; ${GMAKE} test)
.include <bsd.port.post.mk>
|