summaryrefslogtreecommitdiff
path: root/lang/clisp/Makefile
blob: 66eba8a42871c1b86eb4c1f6bf79aec604758b39 (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
# New ports collection makefile for:    clisp
# Date created:         Feb  5 2000
# Whom:                 Jeff Brown <jabrown@caida.org>
#
# $FreeBSD$
#

PORTNAME=	clisp
PORTVERSION=	2.33.2
CATEGORIES=	lang lisp
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=${PORTNAME}/release/${PORTVERSION}

MAINTAINER=	jakub@rehor.net
COMMENT=	An ANSI Common Lisp

USE_BZIP2=	yes
USE_ICONV=	yes
GNU_CONFIGURE=	yes
USE_GETTEXT=	yes

# Build subdirectory
BUILD_DIRNAME=${CONFIGURE_TARGET}

# Check ./configure --help in the distribution to see all modules
MAKEMAKE_ARGS=--prefix=${PREFIX} --with-readline --with-gettext \
	--with-dynamic-ffi --with-module=regexp --with-export-syscalls

.include <bsd.port.pre.mk>

# If you have an Alpha machine, you may want to test this port and let
# me know if you succeed.
.if ${ARCH} == "alpha"
BROKEN=		"Does not compile on alpha"
.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

MAN1=	clisp.1

.include <bsd.port.post.mk>