freebsd-ports/devel/cvs/Makefile
Stefan Eßer bcaf25a8c8 Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
2022-01-10 16:15:39 +01:00

53 lines
1.3 KiB
Makefile

PORTNAME= cvs
PORTVERSION= 1.20120905
PORTREVISION?= 7
CATEGORIES= devel
MASTER_SITES= LOCAL/eadler
MAINTAINER?= schaiba@gmail.com
COMMENT?= Version control system
LICENSE= GPLv2+
USES= cpe shebangfix tar:xz uidfix
CONFLICTS_INSTALL?= cvs-devel cvs+ipv6
OPTIONS_DEFINE= INFO IPV6 KERBEROS EXAMPLES
OPTIONS_DEFAULT=INFO KERBEROS
.if !make(makesum)
OPTIONS_EXCLUDE?=IPV6
.endif
INFO_INFO= cvs cvsclient
INFO_USES= makeinfo
IPV6_PATCH_SITES= LOCAL/ume
IPV6_PATCHFILES= ${DISTNAME}-v6-20140105.diff.gz:-p1
KERBEROS_MAKE_ARGS= KERBEROS_SUPPORT=yes
CPE_VENDOR= gnu
SHEBANG_FILES= contrib/clmerge contrib/cln_hist \
contrib/commit_prep contrib/cvs_acls \
contrib/easy-import contrib/log \
contrib/log_accum contrib/mfpipe \
contrib/rcslock
PATCH_WRKSRC= ${WRKDIR}/call/cvs
WRKSRC= ${WRKDIR}/call/cvs-build
# bsd.stage.makes sets the wrong value for DESTDIR
DESTDIRNAME= NADA
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
# XXX static PIE libraries not yet supported by the base system
MAKE_ARGS+= WITHOUT_PIE=true
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
.if !${PORT_OPTIONS:MINFO}
@${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
.endif
pre-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
.include <bsd.port.mk>