summaryrefslogtreecommitdiff
path: root/lang/clisp/Makefile
blob: fd619d6b9144223a9997989418492d348d02c1f3 (plain)
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
# $NetBSD: Makefile,v 1.19 2001/03/23 14:36:04 wiz Exp $

DISTNAME=		clisp-2000-03-06
PKGNAME=		clisp-20000306nb1
CATEGORIES=		lang
MASTER_SITES=		ftp://ftp2.cons.org/pub/lisp/clisp/source/ \
			ftp://ftp.tu-darmstadt.de/pub/programming/languages/lisp/clisp/source/
EXTRACT_SUFX=		.tar.bz2

PATCHFILES=		clisp-2000-03-06-bugfix1.diff
PATCH_SITES=		${MASTER_SITES}
PATCH_DIST_STRIP=	-p2

MAINTAINER=		mjl@netbsd.org
HOMEPAGE=		http://clisp.cons.org/
COMMENT=		CLISP, a Common Lisp implementation

NOT_FOR_PLATFORM=	*-*-alpha	# severe LP64 problems

RESTRICTED=		"Contract notify author when selling for profit."
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}

GNU_CONFIGURE=		YES
WRKSRC=			${WRKDIR}/${DISTNAME}/src

do-configure:
	cd ${WRKSRC}; \
	(cd ..;${CONFIGURE_SCRIPT} --host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}); \
	./makemake --prefix=${LOCALBASE} --with-readline --with-gettext \
	  --with-dynamic-ffi --fsstnd=netbsd >Makefile

post-install:
	${CHOWN} -R root:wheel ${PREFIX}/lib/clisp
	${CHMOD} -R a-w ${PREFIX}/lib/clisp

.include "../../mk/bsd.pkg.mk"