freebsd-ports/mail/mew/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

52 lines
1.6 KiB
Makefile

# Created by: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
PORTNAME= mew
PORTVERSION= 6.8
PORTREVISION= 7
CATEGORIES= mail elisp
MASTER_SITES= http://www.mew.org/Release/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= Messaging in the Emacs World for emacs
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/00copyright
USES= emacs
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc
CONFLICTS_INSTALL= mew-emacs_* mew-devel mew-devel-emacs_* # bin/cmew bin/incm
# target name for make build and install
ALL_TARGET= all info
INSTALL_TARGET= install
INFO= mew
DOCS_ALL_TARGET= jinfo
DOCS_INSTALL_TARGET= install-jinfo
DOCS_INFO= mew.ja
PORTDOCS= 00api 00changes.0 00changes.1 00changes.2 00changes.3 \
00changes.4.1 00changes.4.2 00changes.5.1 00changes.5.2 \
00changes.6.1 00changes.6.2 00changes.6.3 00changes.6.4 \
00changes.6.5 00changes.6.6 00changes.6.7 00changes.6.8 \
00diff 00readme dot.emacs dot.mew dot.theme
OPTIONS_DEFINE= DATABASE DOCS STUNNEL
OPTIONS_DEFAULT=STUNNEL
DATABASE_DESC= Support database feature (with Ruby & Sqlite3)
DATABASE_RUN_DEPENDS= rubygem-sqlite3>=0:databases/rubygem-sqlite3
STUNNEL_DESC= Support SSL feature using stunnel
STUNNEL_RUN_DEPENDS= stunnel>=0:security/stunnel
post-install:
@${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/*.info.~1~
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>