ports/devel/svk/Makefile
Michael Osipov e83f0a9c84 */*: Properly depend on Subversion LTS or latest with WITH_SUBVERSION_VER
When LTS version of Subversion is set in make.conf (WITH_SUBVERSION_VER)
depending ports will still depend on latest version (devel/subversion)
instead of LTS one (devel/subversion-lts). This will cause dependency
conflicts when packages are distributed with Poudriere, namely pkg(8)
will report them and fail to install.
Make all affected ports properly depend on the right port based on the
value set in WITH_SUBVERSION_VER.

Approved by:	jrm (mentor), otis (mentor), lev (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D43864
2024-02-28 16:53:37 +01:00

58 lines
2 KiB
Makefile

PORTNAME= svk
PORTVERSION= 2.2.3
PORTREVISION= 7
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:CLKAO
DISTNAME= SVK-v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed Version Control System
WWW= https://metacpan.org/release/SVK
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Algorithm-Annotate>=0:devel/p5-Algorithm-Annotate \
p5-Algorithm-Diff>=1.1901:devel/p5-Algorithm-Diff \
p5-App-CLI>=0:devel/p5-App-CLI \
p5-Class-Accessor>=0:devel/p5-Class-Accessor \
p5-Class-Autouse>=1.15:devel/p5-Class-Autouse \
p5-Class-Data-Inheritable>=0:devel/p5-Class-Data-Inheritable \
p5-Data-Hierarchy>=0.30:devel/p5-Data-Hierarchy \
p5-FreezeThaw>=0:devel/p5-FreezeThaw \
p5-IO-Digest>=0:devel/p5-IO-Digest \
p5-IO-Pager>=0:devel/p5-IO-Pager \
p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \
p5-Locale-Maketext-Lexicon>=0.62:devel/p5-Locale-Maketext-Lexicon \
p5-Log-Log4perl>=0:devel/p5-Log-Log4perl \
p5-Path-Class>=0.16:devel/p5-Path-Class \
p5-PerlIO-eol>=0.13:devel/p5-PerlIO-eol \
p5-PerlIO-gzip>=0.18:archivers/p5-PerlIO-gzip \
p5-PerlIO-via-Bzip2>=0.02:archivers/p5-PerlIO-via-Bzip2 \
p5-PerlIO-via-dynamic>=0.11:devel/p5-PerlIO-via-dynamic \
p5-PerlIO-via-symlink>=0.02:devel/p5-PerlIO-via-symlink \
p5-Regexp-Shellish>=0:devel/p5-Regexp-Shellish \
p5-SVN-Dump>=0.04:devel/p5-SVN-Dump \
p5-SVN-Mirror>=0.71:devel/p5-SVN-Mirror \
p5-SVN-Mirror>=0:devel/p5-SVN-Mirror \
p5-SVN-Simple>=0.27:devel/p5-SVN-Simple \
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \
p5-Time-Progress>=0:devel/p5-Time-Progress \
p5-UNIVERSAL-require>=0:devel/p5-UNIVERSAL-require \
p5-URI>=0:net/p5-URI \
p5-YAML-Syck>=0.60:textproc/p5-YAML-Syck \
p5-libwww>=0:www/p5-libwww
.if ${WITH_SUBVERSION_VER:U} == LTS
RUN_DEPENDS+= p5-subversion-lts>=0:devel/p5-subversion
.else
RUN_DEPENDS+= p5-subversion>=0:devel/p5-subversion
.endif
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>