mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
146867e802
to separate ports. These ports are: www/mod_dav_svn instead of option MOD_DAV_SVN. security/subversion-gnome-keyring instead of option GNOME_KEYRING. security/subversion-kwallet instead of option KDE_KWALLET. If you used devel/subversion with one (or more) of these non-standard options, you should install appropriate port after subversion upgrade. "mod_dontdothat" is installed unconditionally by www/mod_dav_svn port (it has been depended on TOOLS option), but is not activated by default, you may need to edit apache's configuration file. devel/subversion port now installs svndiff, svndiff3 and svndiff4 commands if TOOLS option is enabled. They was skipped before. Official names "diff", "diff3" and "diff4" are prefixed with "svn" to avoid conflicts with base and other diff versions. All libraries and binaries are now stripped if MAINTAINER_DEBUG option is not selected (including all sub-ports, like bindings and mod_dav_svn).
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# Created by: Lev Serebryakov <lev@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PKGNAMEPREFIX= java-
|
|
CATEGORIES= java
|
|
|
|
MAINTAINER= lev@FreeBSD.org
|
|
COMMENT= Java bindings for Version control system
|
|
|
|
.if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
|
|
MASTERDIR= ${.CURDIR}/../../devel/subversion16
|
|
.elif defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 17
|
|
MASTERDIR= ${.CURDIR}/../../devel/subversion17
|
|
.else
|
|
MASTERDIR= ${.CURDIR}/../../devel/subversion
|
|
.endif
|
|
PKGDIR= ${.CURDIR}
|
|
|
|
USES+= compiler
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.7+
|
|
JAVA_OS= native
|
|
JAVA_BUILD= yes
|
|
JAVA_RUN= yes
|
|
|
|
SVN_BUILD_BINDINGS= yes
|
|
SVN_BUILD_ADDONS= yes
|
|
|
|
.include "${MASTERDIR}/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --enable-javahl \
|
|
--with-jdk=${JAVA_HOME} \
|
|
--with-jikes=no
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
ALL_TARGET= javahl
|
|
INSTALL_TARGET= install-javahl
|
|
|
|
post-configure:
|
|
.if ${COMPILER_TYPE} == clang
|
|
@${REINPLACE_CMD} "s#^LT_CXX_LIBADD = .*#LT_CXX_LIBADD =#" ${WRKSRC}/Makefile
|
|
.else
|
|
@${DO_NADA}
|
|
.endif
|
|
|
|
pre-build:
|
|
@${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes
|
|
|
|
.include <bsd.port.post.mk>
|