2001-03-27 05:19:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/03/27 03:20:04 hubertf Exp $
|
Initial import of swi-prolog:
ISO/Edinburgh-style Prolog compiler. Compliant with Part 1 of the ISO
standard for Prolog. Covers all traditional Edinburgh Prolog features
and shares many features with Quintus and SICStus Prolog, including a
compatible module system. Very fast compiler, garbage collection (also
on atoms), fast and powerful C/C++ interface, autoloading,
GNU-readline interface. SWI-Prolog supports architectures with 32-bit
or greater (64-bit) word-length. Packages for process management,
TCP/IP, XML/SGML, RDF, and the GUI toolkit XPCE, are also available.
2001-02-20 21:03:53 +01:00
|
|
|
|
|
|
|
DISTNAME= pl-lite-4.0.0
|
|
|
|
PKGNAME= swi-prolog-4.0.0
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.swi.psy.uva.nl/cgi-bin//nph-download/SWI-Prolog/
|
|
|
|
|
|
|
|
MAINTAINER= jtb@netbsd.org
|
|
|
|
HOMEPAGE= http://www.swi.psy.uva.nl/projects/SWI-Prolog/
|
|
|
|
COMMENT= ISO/Edinburgh-style Prolog compiler
|
|
|
|
|
|
|
|
DEPENDS+= readline-[0-9]*:../../devel/readline
|
2001-03-27 05:19:43 +02:00
|
|
|
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
|
Initial import of swi-prolog:
ISO/Edinburgh-style Prolog compiler. Compliant with Part 1 of the ISO
standard for Prolog. Covers all traditional Edinburgh Prolog features
and shares many features with Quintus and SICStus Prolog, including a
compatible module system. Very fast compiler, garbage collection (also
on atoms), fast and powerful C/C++ interface, autoloading,
GNU-readline interface. SWI-Prolog supports architectures with 32-bit
or greater (64-bit) word-length. Packages for process management,
TCP/IP, XML/SGML, RDF, and the GUI toolkit XPCE, are also available.
2001-02-20 21:03:53 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S,-lite,,}
|
|
|
|
DIST_SUBDIR= swi-prolog
|
|
|
|
|
|
|
|
USE_CURSES= #defined
|
|
|
|
REPLACE_NCURSES= ${WRKSRC}/src/configure
|
|
|
|
|
|
|
|
GNU_CONFIGURE= #defined
|
|
|
|
CONFIGURE_ENV+= "BUILDARCH=${MACHINE_PLATFORM}"
|
|
|
|
SWIPL= swi-prolog
|
|
|
|
CONFIGURE_ENV+= "PL=${SWIPL}"
|
|
|
|
CPPFLAGS+= -D__unix__=1
|
2001-03-20 14:43:26 +01:00
|
|
|
EVAL_PREFIX+= READLINE_PREFIX=readline
|
|
|
|
CPPFLAGS+= -I${READLINE_PREFIX}/include
|
Initial import of swi-prolog:
ISO/Edinburgh-style Prolog compiler. Compliant with Part 1 of the ISO
standard for Prolog. Covers all traditional Edinburgh Prolog features
and shares many features with Quintus and SICStus Prolog, including a
compatible module system. Very fast compiler, garbage collection (also
on atoms), fast and powerful C/C++ interface, autoloading,
GNU-readline interface. SWI-Prolog supports architectures with 32-bit
or greater (64-bit) word-length. Packages for process management,
TCP/IP, XML/SGML, RDF, and the GUI toolkit XPCE, are also available.
2001-02-20 21:03:53 +01:00
|
|
|
CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}"
|
|
|
|
|
|
|
|
PLIST_SUBST+= SWIPL=${SWIPL}
|
2001-02-21 15:07:29 +01:00
|
|
|
PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl-lite,'${SWIPL}',}
|
Initial import of swi-prolog:
ISO/Edinburgh-style Prolog compiler. Compliant with Part 1 of the ISO
standard for Prolog. Covers all traditional Edinburgh Prolog features
and shares many features with Quintus and SICStus Prolog, including a
compatible module system. Very fast compiler, garbage collection (also
on atoms), fast and powerful C/C++ interface, autoloading,
GNU-readline interface. SWI-Prolog supports architectures with 32-bit
or greater (64-bit) word-length. Packages for process management,
TCP/IP, XML/SGML, RDF, and the GUI toolkit XPCE, are also available.
2001-02-20 21:03:53 +01:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC}/src && ${LOCALBASE}/bin/autoconf
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|