mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
53e2293222
PR: ports/94456 Submitted by: Shaun Amott <shaun@inerd.com>
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# New ports collection makefile for: clisp
|
|
# Date created: Feb 5 2000
|
|
# Whom: Jeff Brown <jabrown@caida.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= clisp
|
|
PORTVERSION= 2.38
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang lisp
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR=${PORTNAME}/release/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Common Lisp implementation
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libsigsegv.a:${PORTSDIR}/devel/libsigsegv \
|
|
dvipdf:${PORTSDIR}/${GHOSTSCRIPT_PORT}
|
|
|
|
USE_BZIP2= yes
|
|
USE_ICONV= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GETTEXT= yes
|
|
|
|
MAN1= clisp.1
|
|
|
|
# Build subdirectory
|
|
BUILD_DIRNAME=${CONFIGURE_TARGET}
|
|
|
|
# Check ./configure --list-modules in the distribution to see all modules
|
|
MAKEMAKE_ARGS=--prefix=${PREFIX} --mandir=${PREFIX}/man --with-dynamic-ffi \
|
|
--with-module=rawsock --with-module=wildcard --srcdir=${WRKSRC}/src
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == amd64 || ${ARCH} == ia64
|
|
CONFIGURE_ARGS+= --disable-mmap
|
|
BROKEN= Does not compile on ${ARCH}
|
|
.endif
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Coredump during build on 4.x
|
|
.endif
|
|
|
|
# The source doesn't include a top-level Makefile, so we'll fake one.
|
|
post-extract:
|
|
@cd ${WRKSRC} && \
|
|
${PRINTF} "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile
|
|
|
|
# The 'configure' script stops short of doing this for us.
|
|
post-configure:
|
|
cd ${WRKSRC}/${BUILD_DIRNAME} && \
|
|
./makemake ${MAKEMAKE_ARGS} > Makefile && \
|
|
${MAKE} config.lisp
|
|
${REINPLACE_CMD} -e 's#^CFLAGS =#CFLAGS = -I${LOCALBASE}/include#' \
|
|
${WRKSRC}/${BUILD_DIRNAME}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|