diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-20 20:03:53 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-20 20:03:53 +0000 |
commit | 94b51b8290f44b959b7f0aba6b92580f0b14000c (patch) | |
tree | 4114ade79f38f85d3ef8fc0dc118d447870a57b6 /lang | |
parent | 979f5ca813571ea4fe21b50e168cf9d6c0973d08 (diff) | |
download | pkgsrc-94b51b8290f44b959b7f0aba6b92580f0b14000c.tar.gz |
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.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/swi-prolog/Makefile | 34 | ||||
-rw-r--r-- | lang/swi-prolog/files/md5 | 3 | ||||
-rw-r--r-- | lang/swi-prolog/files/patch-sum | 4 | ||||
-rw-r--r-- | lang/swi-prolog/patches/patch-aa | 30 | ||||
-rw-r--r-- | lang/swi-prolog/patches/patch-ab | 13 | ||||
-rw-r--r-- | lang/swi-prolog/pkg/DESCR | 8 | ||||
-rw-r--r-- | lang/swi-prolog/pkg/PLIST | 83 |
7 files changed, 175 insertions, 0 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile new file mode 100644 index 00000000000..8b20594719e --- /dev/null +++ b/lang/swi-prolog/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ + +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 +BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf + +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 +CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}" + +PLIST_SUBST+= SWIPL=${SWIPL} +PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl,'${SWIPL}',} + +pre-configure: + cd ${WRKSRC}/src && ${LOCALBASE}/bin/autoconf + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/swi-prolog/files/md5 b/lang/swi-prolog/files/md5 new file mode 100644 index 00000000000..e918a2b5624 --- /dev/null +++ b/lang/swi-prolog/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ + +MD5 (swi-prolog/pl-lite-4.0.0.tar.gz) = 05dc2f42cb4e2ac059c724573a0fdfb5 diff --git a/lang/swi-prolog/files/patch-sum b/lang/swi-prolog/files/patch-sum new file mode 100644 index 00000000000..8d5fc08e13e --- /dev/null +++ b/lang/swi-prolog/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ + +MD5 (patch-aa) = f2a2021cb7186c093f5a326443ef10fc +MD5 (patch-ab) = 17854994990b2de9c8b3abffb57fd875 diff --git a/lang/swi-prolog/patches/patch-aa b/lang/swi-prolog/patches/patch-aa new file mode 100644 index 00000000000..daf170c221e --- /dev/null +++ b/lang/swi-prolog/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ + +--- src/Makefile.in.orig Thu Feb 15 08:05:34 2001 ++++ src/Makefile.in +@@ -70,6 +70,7 @@ + CMFLAGS=@CMFLAGS@ + CFLAGS= $(CWFLAGS) $(COFLAGS) $(CIFLAGS) $(CMFLAGS) + LDFLAGS=@LDFLAGS@ ++CPPFLAGS=@CPPFLAGS@ + + PLFOREIGN=@PLFOREIGN@ + +@@ -132,7 +133,7 @@ + swipl swiplbin + + .c.o: +- $(CC) -c -I. -I$(srcdir) -I$(srcdir)/rc $(CFLAGS) $< @COUTOPT@ ++ $(CC) -c -I. -I$(srcdir) -I$(srcdir)/rc $(CPPFLAGS) $(CFLAGS) $< @COUTOPT@ + + system: $(PL) + startup: $(STARTUPPATH) +@@ -222,7 +223,7 @@ + ar x `$(CC) -print-libgcc-file-name` $@ + + plld: $(srcdir)/plld.c +- $(CC) -I. -I$(srcdir) $(CFLAGS) -o $@ $(srcdir)/plld.c ++ $(CC) -I. -I$(srcdir) $(CPPFLAGS) $(CFLAGS) -o $@ $(srcdir)/plld.c + + tags: $(srcdir)/TAGS + diff --git a/lang/swi-prolog/patches/patch-ab b/lang/swi-prolog/patches/patch-ab new file mode 100644 index 00000000000..5c35cacaa92 --- /dev/null +++ b/lang/swi-prolog/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ + +--- src/configure.in.orig Thu Feb 15 12:42:14 2001 ++++ src/configure.in +@@ -30,7 +30,7 @@ + + EXTRAOBJ="" + INSTALLTARGET=dv-install +-PL=pl ++dnl PL=pl + RT="" + PLVERSION=`cat ../VERSION` + diff --git a/lang/swi-prolog/pkg/DESCR b/lang/swi-prolog/pkg/DESCR new file mode 100644 index 00000000000..272e405267e --- /dev/null +++ b/lang/swi-prolog/pkg/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/lang/swi-prolog/pkg/PLIST b/lang/swi-prolog/pkg/PLIST new file mode 100644 index 00000000000..ec1c471a645 --- /dev/null +++ b/lang/swi-prolog/pkg/PLIST @@ -0,0 +1,83 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/20 20:03:53 jtb Exp $ +bin/${SWIPL} +bin/plld +bin/plrc +include/SWI-Prolog.h +include/SWI-Stream.h +lib/${SWILIBDIR}/bin/${MACHINE_ARCH}-${LOWER_OPSYS}/${SWIPL} +lib/${SWILIBDIR}/bin/${MACHINE_ARCH}-${LOWER_OPSYS}/plld +lib/${SWILIBDIR}/bin/${MACHINE_ARCH}-${LOWER_OPSYS}/plrc +lib/${SWILIBDIR}/bin/swipl +lib/${SWILIBDIR}/boot/apply.pl +lib/${SWILIBDIR}/boot/autoload.pl +lib/${SWILIBDIR}/boot/bags.pl +lib/${SWILIBDIR}/boot/dwim.pl +lib/${SWILIBDIR}/boot/history.pl +lib/${SWILIBDIR}/boot/init.pl +lib/${SWILIBDIR}/boot/list.pl +lib/${SWILIBDIR}/boot/listing.pl +lib/${SWILIBDIR}/boot/load.pl +lib/${SWILIBDIR}/boot/make.pl +lib/${SWILIBDIR}/boot/messages.pl +lib/${SWILIBDIR}/boot/parms.pl +lib/${SWILIBDIR}/boot/profile.pl +lib/${SWILIBDIR}/boot/qlf.pl +lib/${SWILIBDIR}/boot/rc.pl +lib/${SWILIBDIR}/boot/sort.pl +lib/${SWILIBDIR}/boot/syspred.pl +lib/${SWILIBDIR}/boot/toplevel.pl +lib/${SWILIBDIR}/boot/topvars.pl +lib/${SWILIBDIR}/boot/writef.pl +lib/${SWILIBDIR}/boot32.prc +lib/${SWILIBDIR}/include/SWI-Exports +lib/${SWILIBDIR}/include/SWI-Prolog.h +lib/${SWILIBDIR}/include/SWI-Stream.h +lib/${SWILIBDIR}/include/stub.c +lib/${SWILIBDIR}/library/INDEX.pl +lib/${SWILIBDIR}/library/MANUAL +lib/${SWILIBDIR}/library/am_match.pl +lib/${SWILIBDIR}/library/backcomp.pl +lib/${SWILIBDIR}/library/bim.pl +lib/${SWILIBDIR}/library/check.pl +lib/${SWILIBDIR}/library/ctypes.pl +lib/${SWILIBDIR}/library/edinburgh.pl +lib/${SWILIBDIR}/library/edit.pl +lib/${SWILIBDIR}/library/emacs_interface.pl +lib/${SWILIBDIR}/library/explain.pl +lib/${SWILIBDIR}/library/files.pl +lib/${SWILIBDIR}/library/gensym.pl +lib/${SWILIBDIR}/library/help.pl +lib/${SWILIBDIR}/library/helpidx.pl +lib/${SWILIBDIR}/library/netscape.pl +lib/${SWILIBDIR}/library/oset.pl +lib/${SWILIBDIR}/library/qsave.pl +lib/${SWILIBDIR}/library/quintus.pl +lib/${SWILIBDIR}/library/readln.pl +lib/${SWILIBDIR}/library/shell.pl +lib/${SWILIBDIR}/library/shlib.pl +lib/${SWILIBDIR}/library/statistics.pl +lib/${SWILIBDIR}/library/system.pl +lib/${SWILIBDIR}/library/threadutil.pl +lib/${SWILIBDIR}/library/tty.pl +lib/${SWILIBDIR}/library/url.pl +lib/${SWILIBDIR}/man/${SWIPL}.1 +lib/${SWILIBDIR}/man/plld.1 +lib/${SWILIBDIR}/man/plrc.1 +lib/${SWILIBDIR}/man/readline.3 +lib/${SWILIBDIR}/runtime/${MACHINE_ARCH}-${LOWER_OPSYS}/libpl.a +lib/${SWILIBDIR}/swipl +man/man1/${SWIPL}.1 +man/man1/plld.1 +man/man1/plrc.1 +@dirrm lib/${SWILIBDIR}/runtime/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/${SWILIBDIR}/runtime +@dirrm lib/${SWILIBDIR}/man +@dirrm lib/${SWILIBDIR}/library +@exec /bin/mkdir -p /usr/pkg/lib/${SWILIBDIR}/lib/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/${SWILIBDIR}/lib/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/${SWILIBDIR}/lib +@dirrm lib/${SWILIBDIR}/include +@dirrm lib/${SWILIBDIR}/boot +@dirrm lib/${SWILIBDIR}/bin/${MACHINE_ARCH}-${LOWER_OPSYS} +@dirrm lib/${SWILIBDIR}/bin +@dirrm lib/${SWILIBDIR} |