mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
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)
117 lines
3.1 KiB
Makefile
117 lines
3.1 KiB
Makefile
# Created by: Attila Nagy <bra@fsn.hu>
|
|
|
|
PORTNAME= mailutils
|
|
PORTVERSION= 3.13
|
|
CATEGORIES= mail
|
|
MASTER_SITES= GNU GNU_ALPHA
|
|
|
|
MAINTAINER= zeus@gnu.org.ua
|
|
COMMENT= Utilities, daemons, and filters for processing e-mail
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \
|
|
libltdl.so:devel/libltdl \
|
|
libunistring.so:devel/libunistring
|
|
TEST_DEPENDS= automake:devel/automake
|
|
|
|
USES= cpe gmake iconv libtool localbase readline tar:xz
|
|
CPE_VENDOR= gnu
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_RC_SUBR= comsatd imap4d pop3d
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
|
|
CONFLICTS_INSTALL= avenger elm # bin/dotlock bin/frm
|
|
|
|
PLIST_SUB+= LIBVERSION=8.0.0 LIBSUFX=8 VERSION=${PORTVERSION}
|
|
|
|
INFO= ${PORTNAME}
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README* THANKS TODO
|
|
|
|
OPTIONS_DEFINE= DOCS FRIBIDI GNUTLS GSSAPI GUILE MH NLS PAM PYTHON
|
|
OPTIONS_DEFAULT= GDBM GNUTLS PAM
|
|
OPTIONS_MULTI= DB
|
|
OPTIONS_MULTI_DB= BDB GDBM KYOTOCABINET LDAP MYSQL PGSQL TOKYOCABINET
|
|
OPTIONS_SUB= yes
|
|
|
|
DB_DESC= Database configuration
|
|
KYOTOCABINET_DESC= Kyoto Cabinet database support
|
|
MH_DESC= MH (Message Handling) system support
|
|
TOKYOCABINET_DESC= Tokyo Cabinet database support
|
|
|
|
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
|
|
FRIBIDI_CONFIGURE_WITH= fribidi
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
GSSAPI_RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
|
|
GSSAPI_USES= ssl
|
|
GSSAPI_CONFIGURE_WITH= gssapi
|
|
|
|
GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2 libgmp.so:math/gmp
|
|
GUILE_USES= makeinfo pkgconfig
|
|
GUILE_CONFIGURE_WITH= guile
|
|
|
|
MH_CONFIGURE_ENV= ac_cv_prog_EMACS=no
|
|
MH_CONFIGURE_ENABLE= mh
|
|
MH_USES= emacs:noflavors
|
|
MH_VARS= EMACS_NO_DEPENDS=yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
PAM_CONFIGURE_ENABLE= pam
|
|
|
|
PYTHON_USES= python:3.0+
|
|
PYTHON_CONFIGURE_ENABLE=python
|
|
PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
|
|
|
|
BDB_USES= bdb
|
|
BDB_CONFIGURE_WITH= berkeley-db
|
|
BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR}
|
|
BDB_LDFLAGS= -L${BDB_LIB_DIR}
|
|
|
|
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
|
|
GDBM_CONFIGURE_WITH= gdbm
|
|
|
|
KYOTOCABINET_LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet
|
|
KYOTOCABINET_CONFIGURE_WITH= kyotocabinet
|
|
|
|
LDAP_USE= OPENLDAP=yes
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
|
|
MYSQL_USES= mysql
|
|
MYSQL_CONFIGURE_WITH= mysql
|
|
|
|
PGSQL_USES= pgsql
|
|
PGSQL_CONFIGURE_WITH= postgres
|
|
|
|
TOKYOCABINET_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet
|
|
TOKYOCABINET_CONFIGURE_WITH= tokyocabinet
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/MU_AUTHLIBS=/s,-lldap,-llber &,' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|' \
|
|
${WRKSRC}/lib/gnu/Makefile.in
|
|
@${REINPLACE_CMD} -e '/chown/,+1s|ch|#&|' \
|
|
${WRKSRC}/dotlock/Makefile.in ${WRKSRC}/mda/mda/Makefile.in
|
|
@${REINPLACE_CMD} -e 's,-E,& -P,' ${WRKSRC}/libmu_scm/Makefile.in
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-MH-on:
|
|
@${MKDIR} ${STAGEDIR}${EMACS_SITE_LISPDIR}
|
|
${RLN} ${STAGEDIR}${DATADIR}/mh/mailutils-mh.el \
|
|
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
|
|
|
|
.include <bsd.port.mk>
|