2000-02-12 21:18:18 -05:00
|
|
|
# New ports collection makefile for: clisp
|
|
|
|
# Date created: Feb 5 2000
|
|
|
|
# Whom: Jeff Brown <jabrown@caida.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= clisp
|
2006-02-05 18:42:57 -05:00
|
|
|
PORTVERSION= 2.38
|
2005-03-06 16:22:01 -05:00
|
|
|
CATEGORIES= lang lisp
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR=${PORTNAME}/release/${PORTVERSION}
|
2000-02-12 21:18:18 -05:00
|
|
|
|
2006-03-15 08:34:12 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-04 00:49:53 -04:00
|
|
|
COMMENT= A Common Lisp implementation
|
|
|
|
|
2005-09-09 23:26:42 -04:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsigsegv.a:${PORTSDIR}/devel/libsigsegv \
|
|
|
|
dvipdf:${PORTSDIR}/${GHOSTSCRIPT_PORT}
|
2003-01-08 05:32:41 -05:00
|
|
|
|
2000-04-30 21:44:43 -04:00
|
|
|
USE_BZIP2= yes
|
2004-03-30 14:20:22 -05:00
|
|
|
USE_ICONV= yes
|
2001-05-19 15:03:34 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2004-02-03 23:36:30 -05:00
|
|
|
USE_GETTEXT= yes
|
2001-05-19 15:03:34 -04:00
|
|
|
|
2006-03-15 08:34:12 -05:00
|
|
|
MAN1= clisp.1
|
|
|
|
|
2000-02-12 21:18:18 -05:00
|
|
|
# Build subdirectory
|
2001-05-19 15:03:34 -04:00
|
|
|
BUILD_DIRNAME=${CONFIGURE_TARGET}
|
2000-02-12 21:18:18 -05:00
|
|
|
|
2005-09-04 00:49:53 -04:00
|
|
|
# Check ./configure --list-modules in the distribution to see all modules
|
|
|
|
MAKEMAKE_ARGS=--prefix=${PREFIX} --mandir=${PREFIX}/man --with-dynamic-ffi \
|
2005-09-05 23:32:47 -04:00
|
|
|
--with-module=rawsock --with-module=wildcard --srcdir=${WRKSRC}/src
|
2000-02-12 21:18:18 -05:00
|
|
|
|
2005-01-01 19:46:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-28 18:44:44 -04:00
|
|
|
.if ${ARCH} == amd64 || ${ARCH} == ia64
|
2006-03-15 08:34:12 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-mmap
|
2006-04-22 18:13:39 -04:00
|
|
|
BROKEN= Does not compile on ${ARCH}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= Coredump during build on 4.x
|
2005-10-28 18:44:44 -04:00
|
|
|
.endif
|
|
|
|
|
2000-02-12 21:18:18 -05:00
|
|
|
# The source doesn't include a top-level Makefile, so we'll fake one.
|
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC} && \
|
2005-03-06 16:22:01 -05:00
|
|
|
${PRINTF} "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile
|
2000-02-12 21:18:18 -05:00
|
|
|
|
|
|
|
# The 'configure' script stops short of doing this for us.
|
|
|
|
post-configure:
|
2001-09-01 01:38:28 -04:00
|
|
|
cd ${WRKSRC}/${BUILD_DIRNAME} && \
|
2000-02-12 21:18:18 -05:00
|
|
|
./makemake ${MAKEMAKE_ARGS} > Makefile && \
|
2001-05-19 15:03:34 -04:00
|
|
|
make config.lisp
|
2000-02-12 21:18:18 -05:00
|
|
|
|
2005-01-01 19:46:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|