blob: a566cfd69f04e59d4df819870c3edff0bc6ab864 (
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
38
39
|
# $NetBSD: Makefile,v 1.28 2004/05/09 02:26:14 snj Exp $
DISTNAME= pl-lite-5.0.10
PKGNAME= swi-prolog-5.0.10
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.swi-prolog.org/
COMMENT= ISO/Edinburgh-style Prolog compiler
DIST_SUBDIR= swi-prolog
WRKSRC= ${WRKDIR}/${DISTNAME:S,-lite,,}
GNU_CONFIGURE= # defined
USE_BUILDLINK3= yes
USE_GNU_READLINE= # uses rl_event_hook() interface
SWIPL= swi-prolog
CONFIGURE_ENV+= PL="${SWIPL}"
CPPFLAGS+= -D__unix__=1
PLIST_SUBST+= SWIPL=${SWIPL}
PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl-lite,'${SWIPL}',}
PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \
${MACHINE_ARCH} == x86_64
PLIST_SUBST+= BITS=64
.else
PLIST_SUBST+= BITS=32
.endif
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|