freebsd-ports/irc/atheme-services/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

57 lines
1.3 KiB
Makefile

# Created by: tdb
PORTNAME= atheme-services
PORTVERSION= 7.2.9
PORTREVISION= 1
CATEGORIES= irc net
MASTER_SITES= https://github.com/atheme/atheme/releases/download/v${PORTVERSION}/
DISTNAME= atheme-${PORTVERSION}
MAINTAINER= tdb@FreeBSD.org
COMMENT= Set of services for IRC networks
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmowgli-2.so:devel/libmowgli2
USES= cpe gmake localbase pathfix pkgconfig ssl tar:bzip2
PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-fhs-paths \
--sysconfdir=${PREFIX}/etc/atheme \
--localstatedir=/var \
--disable-gtk-doc \
--enable-large-net
CPE_PRODUCT= atheme
CONFLICTS_INSTALL= lifelines
USERS= ircservices
GROUPS= ircservices
USE_RC_SUBR= atheme-services
OPTIONS_DEFINE= CONTRIB CRACKLIB DOCS LDAP NLS PCRE PERL
OPTIONS_DEFAULT= CRACKLIB LDAP PCRE PERL
CONTRIB_DESC= Enable contrib modules
CRACKLIB_DESC= Use cracklib for checking password strength
OPTIONS_SUB= yes
CONTRIB_CONFIGURE_ENABLE= contrib
CRACKLIB_LIB_DEPENDS= libcrack.so:security/cracklib
CRACKLIB_CONFIGURE_WITH= cracklib
LDAP_USE= openldap=yes
LDAP_CONFIGURE_WITH= ldap
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_CONFIGURE_WITH= pcre
PERL_USES= perl5
PERL_CONFIGURE_WITH= perl
.include <bsd.port.mk>