mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Return port to ports@, at the maintainers request (private mail in
response to a bug report); Attila Nagy is not using the port any more. - Add/fix GUILE option (to make it build in Tinderbox) and fix the pkg-plist accordingly, so that the port now installs successfully and uninstalls without left-over files with default options (i. e. no options) and with GUILE enabled. - Remove versions from LIB_DEPENDS. WARNING: THIS PORT NEEDS MORE ATTENTION, known issues: - movemail is reported to stall on messages containing NUL bytes in the middle of (body) lines - enabling the PYTHON option causes pkg-plist breakage, missing bin/popauth, and other issues - Note the upstream has released a 2.99.96 alpha/beta version earlier this year, but I did not have the time to review bug fixes and other changes. It seems a massive overhaul, partial rewrite, though.
This commit is contained in:
parent
e8bdd4e827
commit
6c4c65ef49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323182
2 changed files with 30 additions and 6 deletions
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
PORTNAME= mailutils
|
PORTNAME= mailutils
|
||||||
PORTVERSION= 2.2
|
PORTVERSION= 2.2
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= GNU
|
MASTER_SITES= GNU
|
||||||
|
|
||||||
MAINTAINER= bra@fsn.hu
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Mailutils offers utilities and daemons for processing e-mail
|
COMMENT= Mailutils offers utilities and daemons for processing e-mail
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -15,14 +15,16 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
|
||||||
CONFIGURE_ARGS+=--disable-build-comsat
|
CONFIGURE_ARGS+=--disable-build-comsat
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
LDFLAGS= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
|
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
|
||||||
|
|
||||||
INFO= ${PORTNAME}
|
INFO= ${PORTNAME}
|
||||||
MAN1= imap4d.1 mail.1 pop3d.1 popauth.1
|
MAN1= imap4d.1 mail.1 pop3d.1 popauth.1
|
||||||
|
|
||||||
OPTIONS_DEFINE= GDBM BDB TOKYOCABINET GNUTLS MYSQL PGSQL LDAP PYTHON
|
OPTIONS_DEFINE= GDBM BDB TOKYOCABINET GNUTLS MYSQL PGSQL LDAP PYTHON
|
||||||
|
OPTIONS_DEFINE+= GUILE
|
||||||
OPTIONS_DEFAULT=
|
OPTIONS_DEFAULT=
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
GDBM_DESC= Use GNU DBM
|
GDBM_DESC= Use GNU DBM
|
||||||
BDB_DESC= Use Berkeley DB
|
BDB_DESC= Use Berkeley DB
|
||||||
|
@ -37,7 +39,7 @@ PYTHON_DESC= Enable Python support
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGDBM}
|
.if ${PORT_OPTIONS:MGDBM}
|
||||||
CONFIGURE_ARGS+= --with-gdbm
|
CONFIGURE_ARGS+= --with-gdbm
|
||||||
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
|
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-gdbm
|
CONFIGURE_ARGS+= --without-gdbm
|
||||||
.endif
|
.endif
|
||||||
|
@ -51,7 +53,7 @@ CONFIGURE_ARGS+= --without-berkeley-db
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MTOKYOCABINET}
|
.if ${PORT_OPTIONS:MTOKYOCABINET}
|
||||||
CONFIGURE_ARGS+= --with-tokyocabinet
|
CONFIGURE_ARGS+= --with-tokyocabinet
|
||||||
LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
|
LIB_DEPENDS+= tokyocabinet:${PORTSDIR}/databases/tokyocabinet
|
||||||
PLIST_SUB+= TOKYOCABINET=""
|
PLIST_SUB+= TOKYOCABINET=""
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-tokyocabinet
|
CONFIGURE_ARGS+= --without-tokyocabinet
|
||||||
|
@ -103,6 +105,10 @@ CONFIGURE_ARGS+= --disable-nls
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
GUILE_CONFIGURE_ON= --with-guile
|
||||||
|
GUILE_CONFIGURE_ON= --without-guile
|
||||||
|
GUILE_LIB_DEPENDS= guile:${PORTSDIR}/lang/guile
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
|
@${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
|
||||||
|
|
||||||
|
|
|
@ -276,6 +276,24 @@ sbin/imap4d
|
||||||
sbin/maidag
|
sbin/maidag
|
||||||
sbin/pop3d
|
sbin/pop3d
|
||||||
share/aclocal/mailutils.m4
|
share/aclocal/mailutils.m4
|
||||||
|
%%GUILE%%bin/sieve.scm
|
||||||
|
%%GUILE%%bin/guimb
|
||||||
|
%%GUILE%%lib/libmu_scm.so.3
|
||||||
|
%%GUILE%%lib/libmu_scm.so
|
||||||
|
%%GUILE%%lib/libmu_scm.la
|
||||||
|
%%GUILE%%lib/libmu_scm.a
|
||||||
|
%%GUILE%%lib/libguile-mailutils-v-2.2.so
|
||||||
|
%%GUILE%%share/guile/site/mailutils/mailutils.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/guile-procedures.txt
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-modules/mimeheader.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-modules/numaddr.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-modules/redirect.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-modules/reject.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-modules/vacation.scm
|
||||||
|
%%GUILE%%share/guile/site/mailutils/sieve-core.scm
|
||||||
|
%%GUILE%%@dirrmtry share/guile/site/mailutils/sieve-modules
|
||||||
|
%%GUILE%%@dirrmtry share/guile/site/mailutils
|
||||||
|
%%GUILE%%@dirrmtry share/guile/site%%NLS%%share/locale/ca/LC_MESSAGES/mailutils.mo
|
||||||
%%NLS%%share/locale/ca/LC_MESSAGES/mailutils.mo
|
%%NLS%%share/locale/ca/LC_MESSAGES/mailutils.mo
|
||||||
%%NLS%%share/locale/es/LC_MESSAGES/mailutils.mo
|
%%NLS%%share/locale/es/LC_MESSAGES/mailutils.mo
|
||||||
%%NLS%%share/locale/fr/LC_MESSAGES/mailutils.mo
|
%%NLS%%share/locale/fr/LC_MESSAGES/mailutils.mo
|
||||||
|
|
Loading…
Add table
Reference in a new issue