The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
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
|
|
WWW= https://dbus.freedesktop.org/doc/dbus-java/
|
|
|
|
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 java
|
|
|
|
MAKE_ARGS= MANPREFIX=${PREFIX}/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>
|