View | Details | Raw Unified | Return to bug 219895 | Differences between
and this patch

Collapse All | Expand All

(-)/home/marco/Devel/ports/alpine/port/Makefile (-110 / +66 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME?=	alpine
3
PORTNAME?=	alpine
4
PORTVERSION=	2.21
4
PORTVERSION=	2.21
5
PORTREVISION?=	0
5
PORTREVISION?=	1
6
CATEGORIES?=	mail news ipv6
6
CATEGORIES?=	mail news ipv6
7
MASTER_SITES=	http://alpine.freeiz.com/alpine/release/src/
7
MASTER_SITES=	http://alpine.freeiz.com/alpine/release/src/
8
DIST_SUBDIR=	alpine-${PORTVERSION}
8
DIST_SUBDIR=	alpine-${PORTVERSION}
Lines 12-124 Link Here
12
12
13
LICENSE=	APACHE20
13
LICENSE=	APACHE20
14
14
15
OPTIONS_DEFINE=		DOCS SSL THREADS MOUSE NLS ISPELL NOSPELL
15
USES+=			ssl libtool ncurses tar:xz gettext-runtime
16
OPTIONS_DEFAULT+=	SSL THREADS MOUSE
16
GNU_CONFIGURE=		yes
17
SSL_DESC=	Build with SSL (installs: security/openssl if pre 10.x)
17
MAKE_JOBS_UNSAFE=	yes
18
MOUSE_DESC=	Enable mouse support for xterm
18
CONFIGURE_ARGS+=	--with-debug-level=2 \
19
ISPELL_DESC=	Use ispell instead of aspell as default speller
19
			--enable-background-post \
20
NOSPELL_DESC=	Use no default speller (overrides both)
20
			--without-krb5 \
21
21
			--without-tcl \
22
.if !defined(PICO_ALPINE_SLAVE)
22
			--with-system-pinerc=${PREFIX}/etc/alpine.conf \
23
23
			--with-system-fixed-pinerc=${PREFIX}/etc/alpine.conf.fixed \
24
OPTIONS_DEFINE+=	PICO IPV6 LDAP PASSFILE CONS25 MAILDIR SSL
24
			--with-password-prog=/usr/bin/passwd \
25
OPTIONS_DEFAULT+=	PICO SSL
25
			--with-system-mail-directory=/var/mail
26
PICO_DESC=	Build and install pico, the default editor
26
MAKE_ARGS+=		CC="${CC}" CXX="${CXX}" GCCCFLAGS="${CFLAGS}"
27
PASSFILE_DESC=	Support for a stored password file (DANGEROUS)
27
28
OPTIONS_DEFINE=		ASPELL CONS25 DOCS IPV6 LDAP MAILDIR MOUSE NLS NOSPELL PASSFILE THREADS
29
OPTIONS_DEFAULT+=	ASPELL MOUSE THREADS
30
28
CONS25_DESC=	Add a patch to support color for default console
31
CONS25_DESC=	Add a patch to support color for default console
29
MAILDIR_DESC=	Add a patch for maildir support
32
MAILDIR_DESC=	Add a patch for maildir support
30
.endif
33
NOSPELL_DESC=	Use simple spellcheck
34
PASSFILE_DESC=	Support for a stored password file
31
35
32
USES+=		libtool ncurses tar:xz gettext-runtime
36
# Option ASPELL
37
ASPELL_CONFIGURE_WITH=		interactive-spellcheck
38
ASPELL_CONFIGURE_ON=		--with-interactive-spellcheck=${LOCALBASE}/bin/aspell
39
ASPELL_BUILD_DEPENDS=		aspell:textproc/aspell
40
ASPELL_RUN_DEPENDS=		aspell:textproc/aspell
33
41
34
MAKE_JOBS_UNSAFE=	yes
42
# Option CONS25
43
CONS25_EXTRA_PATCHES=		${FILESDIR}/cons25-alpine_keymenu.c
44
45
# Option IPV6
46
IPV6_CONFIGURE_WITH=		ipv6
47
48
# Option LDAP
49
LDAP_USE=			openldap=yes
50
LDAP_CONFIGURE_WITH=		ldap
51
LDAP_CONFIGURE_ON=		--with-ldap-dir=${LOCALBASE}
52
53
# Option MAILDIR
54
MAILDIR_PATCH_SITES=		http://alpine.freeiz.com/alpine/patches/alpine-${PORTVERSION}/
55
MAILDIR_PATCHFILES+=		maildir.patch.gz:-p1
56
57
# Option MOUSE
58
MOUSE_CONFIGURE_ENABLE=		mouse
35
59
36
GNU_CONFIGURE=	yes
60
# Option NLS
61
NLS_CONFIGURE_ENABLE=		nls
37
62
38
THREADS_CONFIGURE_WITH=	pthread
63
# Option NOSPELL
39
MOUSE_CONFIGURE_ENABLE=	mouse
64
NOSPELL_CONFIGURE_WITH=		simple-spellcheck
40
NLS_CONFIGURE_ENABLE=	nls
65
41
IPV6_CONFIGURE_WITH=	ipv6
66
# Option PASSFILE
42
SSL_USES=		ssl
67
PASSFILE_CONFIGURE_WITH=	passfile
43
68
PASSFILE_CONFIGURE_ON=		--with-passfile=.alpine.pwd
44
.if !defined(PICO_ALPINE_SLAVE)
69
45
70
# Option THREADS
46
PORTDOCSbase=	LICENSE NOTICE README
71
THREADS_CONFIGURE_WITH=		pthread
47
PORTDOCSdoc=	brochure.txt
72
48
PORTDOCShtml=	tech-notes/background.html tech-notes/cmd-line.html \
73
#.include <bsd.port.pre.mk>
49
		tech-notes/config-notes.html tech-notes/config.html \
50
		tech-notes/index.html tech-notes/installation.html \
51
		tech-notes/introduction.html tech-notes/low-level.html \
52
		tech-notes/tech-notes.txt
53
PORTDOCS=	${PORTDOCSbase} ${PORTDOCSdoc} ${PORTDOCShtml}
54
55
CONFIGURE_ARGS+=--with-system-pinerc=${PREFIX}/etc/alpine.conf \
56
		--with-system-fixed-pinerc=${PREFIX}/etc/alpine.conf.fixed \
57
		--with-password-prog=/usr/bin/passwd \
58
		--with-system-mail-directory=/var/mail
59
60
.endif
61
CONFIGURE_ARGS+=--with-debug-level=2 \
62
		--enable-background-post --without-krb5 --without-tcl
63
64
MAKE_ARGS+=	CC="${CC}" CXX="${CXX}" GCCCFLAGS="${CFLAGS}"
65
66
.include <bsd.port.options.mk>
67
68
.if ${PORT_OPTIONS:MSSL}
69
CONFIGURE_ARGS+=	--with-ssl-dir=${OPENSSLDIR} \
70
			--with-ssl-include-dir=${OPENSSLINC} \
71
			--with-ssl-lib-dir=${OPENSSLLIB} \
72
			--with-ssl-certs-dir=${OPENSSLDIR}/certs
73
.else
74
CONFIGURE_ARGS+=	--without-ssl
75
.endif
76
77
.include <bsd.port.pre.mk>
78
79
.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
80
BROKEN=		Does not build with openssl-devel
81
.endif
82
83
.if ! ${PORT_OPTIONS:MNOSPELL}
84
.if ! ${PORT_OPTIONS:MISPELL}
85
CONFIGURE_ARGS+=--with-interactive-spellcheck=${LOCALBASE}/bin/aspell
86
BUILD_DEPENDS+=	aspell:textproc/aspell
87
RUN_DEPENDS+=	aspell:textproc/aspell
88
.else
89
CONFIGURE_ARGS+=	--with-interactive-spellcheck=${LOCALBASE}/bin/ispell
90
BUILD_DEPENDS+=	ispell:textproc/aspell-ispell
91
RUN_DEPENDS+=	ispell:textproc/aspell-ispell
92
.endif
93
.else
94
CONFIGURE_ARGS+=--without-simple-spellcheck --without-interactive-spellcheck
95
.endif
96
97
.if !defined(PICO_ALPINE_SLAVE)
98
.if ${PORT_OPTIONS:MPICO}
99
RUN_DEPENDS+=	pico:editors/pico-alpine
100
.endif
101
102
.if ${PORT_OPTIONS:MLDAP}
103
USE_OPENLDAP=		yes
104
CONFIGURE_ARGS+=	--with-ldap-dir=${LOCALBASE}
105
.else
106
CONFIGURE_ARGS+=	--without-ldap
107
.endif
108
109
.if ${PORT_OPTIONS:MPASSFILE}
110
ALPINE_PASSFILE?=	.alpine.pwd
111
CONFIGURE_ARGS+=	--with-passfile=.alpine.pwd
112
.endif
113
114
.if ${PORT_OPTIONS:MMAILDIR}
115
PATCH_SITES=		http://alpine.freeiz.com/alpine/patches/alpine-${PORTVERSION}/
116
PATCHFILES+=		maildir.patch.gz:-p1
117
.endif
118
119
.if ${PORT_OPTIONS:MCONS25}
120
EXTRA_PATCHES=		${FILESDIR}/cons25-alpine_keymenu.c
121
.endif
122
74
123
post-patch:
75
post-patch:
124
	@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
76
	@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
Lines 150-158 Link Here
150
		    $$i.presed > $$i ; \
102
		    $$i.presed > $$i ; \
151
	done
103
	done
152
104
105
PORTDOCSbase=		LICENSE NOTICE README
106
PORTDOCSdoc=		brochure.txt
107
PORTDOCShtml=		tech-notes/background.html tech-notes/cmd-line.html \
108
			tech-notes/config-notes.html tech-notes/config.html \
109
			tech-notes/index.html tech-notes/installation.html \
110
			tech-notes/introduction.html tech-notes/low-level.html \
111
			tech-notes/tech-notes.txt
112
PORTDOCS=		${PORTDOCSbase} ${PORTDOCSdoc} ${PORTDOCShtml}
113
153
post-install:
114
post-install:
154
	${STAGEDIR}${PREFIX}/bin/alpine -conf > ${STAGEDIR}${PREFIX}/etc/alpine.conf.sample
115
	${STAGEDIR}${PREFIX}/bin/alpine -conf > ${STAGEDIR}${PREFIX}/etc/alpine.conf.sample
155
.if ${PORT_OPTIONS:MDOCS}
116
117
post-install-DOCS-on:
156
	${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/tech-notes
118
	${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/tech-notes
157
.for f in ${PORTDOCSbase}
119
.for f in ${PORTDOCSbase}
158
	${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
120
	${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
Lines 163-173 Link Here
163
.for f in ${PORTDOCShtml}
125
.for f in ${PORTDOCShtml}
164
	${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}/tech-notes
126
	${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}/tech-notes
165
.endfor
127
.endfor
166
.endif
167
168
#	PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
169
#	@${CAT} ${PKGMESSAGE}
170
171
.endif	# !defined(PICO_ALPINE_SLAVE)
172
128
173
.include <bsd.port.post.mk>
129
.include <bsd.port.mk>
(-)/home/marco/Devel/ports/alpine/port/pkg-descr (-1 / +1 lines)
Lines 18-21 Link Here
18
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
18
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
19
Standard for representing multipart and multimedia data in email.
19
Standard for representing multipart and multimedia data in email.
20
20
21
WWW: http://patches.freeiz.com/alpine/
21
WWW: http://alpine.freeiz.com/alpine/

Return to bug 219895