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
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
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}
|
|
|
|
|
2006-09-06 03:30:47 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.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
|
- Fix possibility of "infinite make fork" when "Registering install for ..."
EMACS ports. [1]
- Allow building a port as root using an NFS-mounted /usr/ports if the
server maps root to a UID other than root. [2]
- Make 'BROKEN' and 'IGNORED' ports exit their "make install" with a fail
status rather than success. [3]
- Improve behavior when dealing with versioned dependencies. [4]
- Fix false positives in check-conflicts target. [5]
- Remove obsolete bzip2 code. [6]
- Add physical category net-p2p. [7]
- Don't fetch INDEXFILE if not necessary; respect FETCH_ENV. [8], [11]
- INDEX can now be moved outside of ports tree. [9]
- Add ghostscript-gpl. [10]
- Remove obsolete USE_MESA. [12]
- Force pkg_install tools from ports on FreeBSD 4.10 and older. [13]
- Document ALWAYS_KEEP_DISTFILES. [14]
- Remove USE_REINPLACE from bsd.port.mk USE_DOS2UNIX patch. [15]
PR: ports/37596 [1], ports/57259 [2], ports/63216 [3],
ports/89448 [4], ports/89710 [5], ports/88996 [6],
ports/89260 [7], ports/89363 [8], ports/89809 [9],
ports/89853 [10], ports/91086 [11], ports/91710 [12],
ports/91727 [13], ports/92111 [14], ports/92124 [15]
Submitted by: Jay Sachs <jay at eziba dot com> [1], sem [1, 3, 8, 12],
Andrew Heybey <ath at niksun dot com> [2], Jamie Jones
<jamie at thompson dot bishopston dot net>, tobez [4], Mark
Andrews <Mark_Andrews at isc dot org> [5], edwin [6, 11, 15],
pav [7, 13], Peter Jeremy <PeterJeremy at optushome dot com
dot au> [9], Ulrich Spoerlein <q at galgenberg dot net> [10],
netchild [11], erwin [14]
Reviewed by: kris, clement (partially)
2006-01-28 03:11:35 +01:00
|
|
|
USE_EMACS= yes
|
2003-01-20 06:06:33 +01:00
|
|
|
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%%
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2005-02-13 21:30:07 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|prefix/doc|prefix/share/doc|' ${WRKSRC}/configure
|
|
|
|
|
2003-12-21 15:48:05 +01:00
|
|
|
post-configure:
|
2005-02-13 21:30:07 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/BGL_HAVE_SENDFILE 1/BGL_HAVE_SENDFILE 0/' \
|
2003-12-21 15:48:05 +01:00
|
|
|
${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"
|
2005-03-26 21:25:34 +01:00
|
|
|
BROKEN= "Does not compile on !i386"
|
2004-02-26 09:07:54 +01:00
|
|
|
.endif
|
|
|
|
|
2005-12-05 01:53:19 +01:00
|
|
|
post-install:
|
2003-01-20 06:06:33 +01:00
|
|
|
@${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
|
|
|
|
|
|
|
|
test: build
|
|
|
|
@(cd ${WRKSRC}; ${GMAKE} test)
|
|
|
|
|
2003-12-20 11:22:33 +01:00
|
|
|
.include <bsd.port.post.mk>
|