summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/dbus-java/Makefile47
-rw-r--r--devel/dbus-java/distinfo3
-rw-r--r--devel/dbus-java/pkg-descr4
-rw-r--r--devel/dbus-java/pkg-plist21
5 files changed, 76 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f31cc58be3d5..7bd6d0735554 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -450,6 +450,7 @@
SUBDIR += date
SUBDIR += dbus
SUBDIR += dbus-c++
+ SUBDIR += dbus-java
SUBDIR += dbus-glib
SUBDIR += dbus-sharp
SUBDIR += dbus-sharp-glib
diff --git a/devel/dbus-java/Makefile b/devel/dbus-java/Makefile
new file mode 100644
index 000000000000..1ed3b9be9d0d
--- /dev/null
+++ b/devel/dbus-java/Makefile
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME= dbus-java
+PORTVERSION= 2.7
+CATEGORIES= devel java
+MASTER_SITES= https://dbus.freedesktop.org/releases/dbus-java/
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= Java API for D-BUS
+
+LICENSE= ACADEMIC LGPL21+
+LICENSE_COMB= dual
+LICENSE_NAME_ACADEMIC= Academic Free License version 2.1
+LICENSE_FILE_ACADEMIC= ${WRKSRC}/COPYING
+LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING
+LICENSE_PERMS_ACADEMIC= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+LIB_DEPENDS= libunix-java.so:devel/libmatthew
+
+USES= gettext gmake
+USE_JAVA= yes
+JAVA_VERSION= 7+
+
+MAKE_ARGS= MANPREFIX=${MAN1PREFIX}/share/man/man1
+.if defined(WITH_DEBUG)
+MAKE_ARGS+= DEBUG=enable
+.endif
+MAKE_ENV= DOCPREFIX=${DOCSDIR} \
+ JARPREFIX=${JAVAJARDIR} \
+ JAVA_HOME=${JAVA_HOME} \
+ JAVAUNIXJARDIR=${JAVAJARDIR} \
+ JAVAUNIXLIBDIR=${LOCALBASE}/lib
+
+ALL_TARGET= bin
+INSTALL_TARGET= install-bin
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS MANPAGES
+OPTIONS_DEFAULT= MANPAGES
+OPTIONS_SUB= yes
+
+MANPAGES_BUILD_DEPENDS= docbook-to-man>0:textproc/docbook-to-man
+MANPAGES_ALL_TARGET= man
+MANPAGES_INSTALL_TARGET= install-man
+
+.include <bsd.port.mk>
diff --git a/devel/dbus-java/distinfo b/devel/dbus-java/distinfo
new file mode 100644
index 000000000000..0603798f191e
--- /dev/null
+++ b/devel/dbus-java/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1585174947
+SHA256 (dbus-java-2.7.tar.gz) = be404ea36284d938646192d0ee42e146853064217d4e3aaf89b56bd351ebca33
+SIZE (dbus-java-2.7.tar.gz) = 145450
diff --git a/devel/dbus-java/pkg-descr b/devel/dbus-java/pkg-descr
new file mode 100644
index 000000000000..8eeba96c09e6
--- /dev/null
+++ b/devel/dbus-java/pkg-descr
@@ -0,0 +1,4 @@
+This port provides a native Java implementation of the D-Bus protocol,
+instead of being just a wrapper around the C reference implementation.
+
+WWW: https://dbus.freedesktop.org/doc/dbus-java/
diff --git a/devel/dbus-java/pkg-plist b/devel/dbus-java/pkg-plist
new file mode 100644
index 000000000000..16e0642e0777
--- /dev/null
+++ b/devel/dbus-java/pkg-plist
@@ -0,0 +1,21 @@
+bin/CreateInterface
+bin/DBusCall
+bin/DBusDaemon
+bin/DBusViewer
+bin/ListDBus
+%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/README
+%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/changelog
+%%JAVAJARDIR%%/dbus-2.7.jar
+%%JAVAJARDIR%%/dbus-bin-2.7.jar
+%%JAVAJARDIR%%/dbus-bin.jar
+%%JAVAJARDIR%%/dbus-viewer-2.7.jar
+%%JAVAJARDIR%%/dbus-viewer.jar
+%%JAVAJARDIR%%/dbus.jar
+%%MANPAGES%%share/man/man1/CreateInterface.1.gz
+%%MANPAGES%%share/man/man1/DBusCall.1.gz
+%%MANPAGES%%share/man/man1/DBusDaemon.1.gz
+%%MANPAGES%%share/man/man1/DBusViewer.1.gz
+%%MANPAGES%%share/man/man1/ListDBus.1.gz