1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/lang/gawk/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

42 lines
949 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
PORTNAME= gawk
PORTVERSION= 5.1.1
CATEGORIES= lang
MASTER_SITES= GNU
MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU version of AWK scripting language
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
CONFLICTS_INSTALL= ja-gawk # bin/gawk
OPTIONS_DEFINE= NLS MPFR
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
MPFR_DESC?= Support multiple-precision floating-point computation
MPFR_LIB_DEPENDS= libgmp.so:math/gmp libmpfr.so:math/mpfr
MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr
INFO= gawk gawkinet gawkworkflow
GNU_CONFIGURE= yes
USES= iconv libtool makeinfo readline tar:lz
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE} \
AWK=${AWK}
INSTALL_TARGET= install-strip
TEST_TARGET= check
PLIST_SUB+= VERSION=${PORTVERSION}
post-patch:
@${RM} ${WRKSRC}/doc/*.info
.include <bsd.port.mk>