pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
swi-prolog-jpg: Import swi-prolog-jpg-8.0.1 as wip/swi-prolog-jpg
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Feb 18 12:59:05 2019 +0100
Changeset: 593752418b5505afab8b1f501dc971ffcdaefba4
Modified Files:
Makefile
Added Files:
swi-prolog-jpl/DESCR
swi-prolog-jpl/Makefile
swi-prolog-jpl/PLIST
Log Message:
swi-prolog-jpg: Import swi-prolog-jpg-8.0.1 as wip/swi-prolog-jpg
Package for Java/Prolog interaction for
swi-prolog, an ISO/Edinburgh-style Prolog compiler.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=593752418b5505afab8b1f501dc971ffcdaefba4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
swi-prolog-jpl/DESCR | 2 ++
swi-prolog-jpl/Makefile | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
swi-prolog-jpl/PLIST | 4 ++++
4 files changed, 69 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a8a99ff4fa..83a32e1b3a 100644
--- a/Makefile
+++ b/Makefile
@@ -4468,6 +4468,7 @@ SUBDIR+= swami
SUBDIR+= swarp
SUBDIR+= swfmill
SUBDIR+= swftools
+SUBDIR+= swi-prolog-jpg
SUBDIR+= swi-prolog-lite
SUBDIR+= swi-prolog-packages
SUBDIR+= swift
diff --git a/swi-prolog-jpl/DESCR b/swi-prolog-jpl/DESCR
new file mode 100644
index 0000000000..8a0f85501f
--- /dev/null
+++ b/swi-prolog-jpl/DESCR
@@ -0,0 +1,2 @@
+Package for Java/Prolog interaction for
+swi-prolog, an ISO/Edinburgh-style Prolog compiler.
diff --git a/swi-prolog-jpl/Makefile b/swi-prolog-jpl/Makefile
new file mode 100644
index 0000000000..edc588b49c
--- /dev/null
+++ b/swi-prolog-jpl/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.51 2018/12/10 14:59:50 leot Exp $
+
+.include "../../wip/swi-prolog-lite/Makefile.common"
+
+PKGNAME= swi-prolog-packages-${SWIPLVERS}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Packages for SWI Prolog
+
+USE_TOOLS+= pkg-config
+
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DSWIPL_ARCH=${MACHINE_GNU_PLATFORM}
+CMAKE_ARGS+= -DSWIPL_PACKAGES_JAVA=ON
+CMAKE_ARGS+= -DINSTALL_PACKAGES=OFF
+CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=OFF
+
+# Part of swi-prolog-lite
+CMAKE_ARGS+= -DSWIPL_PACKAGES_ARCHIVE=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_BASIC=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_SSL=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_TERM=OFF
+
+# XXX: Explicitly disable all not wanted packages to avoid possible build
+# XXX: failures. For a complete list please see:
+# XXX: ${WRKSRC}/cmake/PackageSelection.cmake
+CMAKE_ARGS+= -DSWIPL_PACKAGES_ODBC=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_BDB=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_PCRE=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_YAML=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_TIPC=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_QT=OFF
+CMAKE_ARGS+= -DSWIPL_PACKAGES_X=OFF
+
+SWIPL_PACKAGES_COMPONENTS+= Java_interface
+
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
+
+TEST_TARGET= check
+
+do-install:
+.for component in ${SWIPL_PACKAGES_COMPONENTS}
+ cd ${WRKSRC}/build && \
+ ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+ ${CMAKE} -DCMAKE_INSTALL_COMPONENT=${component:Q} \
+ -P cmake_install.cmake
+.endfor
+
+.include "../../wip/swi-prolog-lite/buildlink3.mk"
+.include "../../mk/java-vm.mk"
+.include "../../archivers/libarchive/buildlink3.mk"
+.include "../../devel/ossp-uuid/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/swi-prolog-jpl/PLIST b/swi-prolog-jpl/PLIST
new file mode 100644
index 0000000000..30f78e3ab0
--- /dev/null
+++ b/swi-prolog-jpl/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+lib/swipl/lib/jpl.jar
+lib/swipl/lib/${MACHINE_GNU_PLATFORM}/libjpl.so
+lib/swipl/library/jpl.pl
Home |
Main Index |
Thread Index |
Old Index