2003-01-20 06:06:33 +01:00
|
|
|
# New ports collection makefile for: bigloo
|
|
|
|
# Date created: 15 Jul 2002
|
|
|
|
# Whom: Stanislav Grozev <tacho@daemonz.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bigloo
|
2003-12-21 15:48:05 +01:00
|
|
|
PORTVERSION= 2.6b
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2003-08-28 02:01:09 +02:00
|
|
|
CATEGORIES= lang scheme
|
2003-01-20 06:06:33 +01:00
|
|
|
MASTER_SITES= ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/ \
|
|
|
|
ftp://kaolin.unice.fr/pub/Bigloo/
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= tacho@daemonz.org
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= A Scheme interpreter and native code compiler
|
2003-01-20 06:06:33 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET=
|
|
|
|
INSTALL_TARGET= install compile-bee install-bee
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
MAN1= bigloo.1
|
2003-12-21 15:48:05 +01:00
|
|
|
INFO= bigloo
|
2003-01-20 06:06:33 +01:00
|
|
|
PLIST_SUB= BIGLOO_VERSION=${PORTVERSION}
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/bigloo/%%BIGLOO_VERSION%%
|
|
|
|
|
2003-12-21 15:48:05 +01:00
|
|
|
USE_REINPLACE= yes
|
2003-01-20 06:06:33 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2003-12-21 15:48:05 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
2003-01-20 06:06:33 +01:00
|
|
|
--emacs=${EMACS_NAME} \
|
|
|
|
--lispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/bigloo \
|
|
|
|
--native=yes \
|
|
|
|
--jvm=no
|
|
|
|
|
|
|
|
INSTALL_INFO?= install-info
|
|
|
|
|
2003-12-21 15:48:05 +01:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's/BGL_HAVE_SENDFILE 1/BGL_HAVE_SENDFILE 0/' \
|
|
|
|
${WRKSRC}/lib/${PORTVERSION}/bigloo_config.h
|
|
|
|
|
2003-12-20 11:22:33 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-27 00:20:20 +01:00
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
2004-02-26 09:07:54 +01:00
|
|
|
.endif
|
|
|
|
|
2003-01-20 06:06:33 +01:00
|
|
|
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)
|
|
|
|
|
2003-12-20 11:22:33 +01:00
|
|
|
.include <bsd.port.post.mk>
|