blob: 66167625a456df2bd2e3832b6a2e5f1c4812647c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
# Created by: Attila Nagy <bra@fsn.hu>
# $FreeBSD$
PORTNAME= mailutils
PORTVERSION= 3.4
PORTREVISION= 3
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= libltdl.so:devel/libltdl
USES= gmake libtool localbase readline tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_RC_SUBR= comsatd imap4d pop3d
INSTALL_TARGET= install-strip
PLIST_SUB+= LIBVERSION=5.0.5 VERSION=${PORTVERSION}
INFO= ${PORTNAME}
PORTDOCS= AUTHORS ChangeLog NEWS README* THANKS TODO
OPTIONS_DEFINE= DEBUG DOCS EMACS GNUTLS GSSAPI GUILE MH NNTP NLS \
PAM PYTHON
OPTIONS_DEFAULT= GDBM GNUTLS PAM
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= BDB GDBM KYOTOCABINET LDAP MYSQL PGSQL TOKYOCABINET
OPTIONS_SUB= yes
BDB_DESC= Berkeley DB v4.8 support (last working one)
DB_DESC= Database configuration
EMACS_DESC= Emacs interface to MH (implies MH)
KYOTOCABINET_DESC= Kyoto Cabinet database support
MH_DESC= MH (Message Handling) system support
TOKYOCABINET_DESC= Tokyo Cabinet database support
DEBUG_CONFIGURE_ON= --enable-debug
EMACS_USES= emacs:build
EMACS_IMPLIES= MH
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_WITH= gnutls
GSSAPI_RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
GSSAPI_CONFIGURE_WITH= gssapi
GUILE_LIB_DEPENDS= libguile.so:lang/guile libgmp.so:math/gmp
GUILE_CONFIGURE_WITH= guile
MH_CONFIGURE_ENABLE= mh
NNTP_CONFIGURE_ENABLE= nntp
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
PAM_CONFIGURE_ENABLE= pam
PYTHON_BINARY_ALIAS= python-config=python${PYTHON_VER}-config
PYTHON_USES= python:2.7
PYTHON_CONFIGURE_ENABLE=python
BDB_USES= bdb:48
BDB_CONFIGURE_WITH= berkeley-db
BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR}
BDB_LDFLAGS= -L${BDB_LIB_DIR}
INVALID_BDB_VER= 5+
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
post-patch:
@${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}/maidag/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}
.include <bsd.port.mk>
|