freebsd-ports/devel/subversion/Makefile.addons
Michael Osipov 914eca41bf devel/subversion-lts: update port to next LTS version: 1.14.2
PR:		253566
Approved by:	jrm (mentor), otis (mentor), lev
Release Notes:	https://subversion.apache.org/docs/release-notes/1.14
Differential Revision:	https://reviews.freebsd.org/D42348
2023-10-31 13:52:15 +01:00

30 lines
1 KiB
Text

WITH_SUBVERSION_VER?= 114
PKGDIR= ${.CURDIR}
SVN_BUILD_ADDONS= yes
.if ${WITH_SUBVERSION_VER} == 114
CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \
${PORTNAME}-1.[^1][0-9].[0-9]* \
${PORTNAME}-1.1[0-1].[0-9]* \
${PORTNAME}-lts-1.[0-9][0-9].[0-9]*
PORTREVISION= ${PORTREVISION_114:U0}
PLIST_SUB+= SVN114="" SVNLTS="@comment "
LIB_DEPENDS+= libsvn_client-1.so:devel/subversion
OPTIONS_NAME= devel_subversion
MASTERDIR= ${.CURDIR}/../../devel/subversion
.include "${MASTERDIR}/Makefile.common"
.elif ${WITH_SUBVERSION_VER} == LTS
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-lts
CONFLICTS_BUILD+= ${PORTNAME}-1.[0-9].[0-9]* \
${PORTNAME}-1.[0-9][0-9].[0-9]*
PORTREVISION= ${PORTREVISION_LTS:U0}
PLIST_SUB+= SVN114="@comment " SVNLTS=""
LIB_DEPENDS+= libsvn_client-1.so:devel/subversion-lts
OPTIONS_NAME= devel_subversion-lts
MASTERDIR= ${.CURDIR}/../../devel/subversion-lts
.include "${MASTERDIR}/Makefile.common"
.else
BROKEN= Wrong WITH_SUBVERSION_VER=${WITH_SUBVERSION_VER}, only 114 (default) and LTS are supported
.endif