freebsd-ports/textproc/hs-yaml/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

43 lines
922 B
Makefile

PORTNAME= yaml
PORTVERSION= 0.11.5.0
PORTREVISION= 1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Utilities for converting YAML and JSON documents back and forth
LICENSE= BSD3CLAUSE
USES= cabal
CONFLICTS_INSTALL= json2yaml # bin/json2yaml
USE_CABAL= aeson-1.4.7.1_1 \
attoparsec-0.13.2.4 \
base-compat-0.11.1 \
base-compat-batteries-0.11.1 \
base-orphans-0.8.2 \
conduit-1.3.2 \
dlist-0.8.0.8 \
hashable-1.3.0.0_1 \
integer-logarithms-1.0.3_2 \
libyaml-0.1.2 \
mono-traversable-1.0.15.1 \
primitive-0.7.0.1 \
random-1.1_1 \
resourcet-1.2.4 \
scientific-0.3.6.2 \
split-0.2.3.4 \
tagged-0.8.6_2 \
th-abstraction-0.3.2.0 \
time-compat-1.9.3 \
unliftio-core-0.2.0.1_1 \
unordered-containers-0.2.10.0_1 \
uuid-types-1.0.3_2 \
vector-0.12.1.2 \
vector-algorithms-0.8.0.3
EXECUTABLES= json2yaml yaml2json
CABAL_FLAGS= -no-exe
.include <bsd.port.mk>