Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME?= alpine
|
2017-04-01 13:01:46 +02:00
|
|
|
PORTVERSION= 2.21
|
2017-06-19 19:39:21 +02:00
|
|
|
PORTREVISION?= 1
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
CATEGORIES?= mail news ipv6
|
2017-05-16 20:22:44 +02:00
|
|
|
MASTER_SITES= http://alpine.freeiz.com/alpine/release/src/
|
2014-06-23 13:57:44 +02:00
|
|
|
DIST_SUBDIR= alpine-${PORTVERSION}
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
2014-06-15 10:40:09 +02:00
|
|
|
MAINTAINER= mbeis@xs4all.nl
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
COMMENT?= Mail and news client descended from Pine
|
|
|
|
|
2014-06-15 10:40:09 +02:00
|
|
|
LICENSE= APACHE20
|
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
USES+= ssl libtool ncurses tar:xz gettext-runtime
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-debug-level=2 \
|
|
|
|
--enable-background-post \
|
|
|
|
--without-krb5 \
|
|
|
|
--without-tcl \
|
|
|
|
--with-system-pinerc=${PREFIX}/etc/alpine.conf \
|
|
|
|
--with-system-fixed-pinerc=${PREFIX}/etc/alpine.conf.fixed \
|
|
|
|
--with-password-prog=/usr/bin/passwd \
|
|
|
|
--with-system-mail-directory=/var/mail \
|
|
|
|
--with-ssl-dir=${OPENSSLDIR} \
|
|
|
|
--with-ssl-include-dir=${OPENSSLINC} \
|
|
|
|
--with-ssl-lib-dir=${OPENSSLLIB} \
|
|
|
|
--with-ssl-certs-dir=${OPENSSLDIR}/certs
|
|
|
|
MAKE_ARGS+= CC="${CC}" CXX="${CXX}" GCCCFLAGS="${CFLAGS}"
|
2014-06-15 10:40:09 +02:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
OPTIONS_DEFINE= ASPELL CONS25 DOCS IPV6 LDAP MAILDIR MOUSE PASSFILE NLS THREADS
|
|
|
|
OPTIONS_DEFAULT= ASPELL MOUSE THREADS
|
|
|
|
.if defined(PICO_ALPINE_SLAVE)
|
|
|
|
OPTIONS_EXCLUDE= CONS25 IPV6 LDAP MAILDIR PASSFILE
|
|
|
|
.endif
|
2014-06-15 10:40:09 +02:00
|
|
|
|
2013-06-06 21:31:40 +02:00
|
|
|
CONS25_DESC= Add a patch to support color for default console
|
|
|
|
MAILDIR_DESC= Add a patch for maildir support
|
2017-06-19 19:39:21 +02:00
|
|
|
PASSFILE_DESC= Support for a stored password file
|
2009-03-24 20:51:28 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option ASPELL
|
|
|
|
ASPELL_CONFIGURE_ON= --with-interactive-spellcheck=${LOCALBASE}/bin/aspell
|
|
|
|
ASPELL_CONFIGURE_OFF= --with-simple-spellcheck
|
|
|
|
ASPELL_BUILD_DEPENDS= aspell:textproc/aspell
|
|
|
|
ASPELL_RUN_DEPENDS= aspell:textproc/aspell
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option CONS25
|
|
|
|
CONS25_EXTRA_PATCHES= ${FILESDIR}/cons25-alpine_keymenu.c
|
2017-01-11 23:15:48 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option IPV6
|
|
|
|
IPV6_CONFIGURE_WITH= ipv6
|
2014-06-15 10:40:09 +02:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option LDAP
|
|
|
|
LDAP_USE= openldap=yes
|
|
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
|
|
LDAP_CONFIGURE_ON= --with-ldap-dir=${LOCALBASE}
|
2014-06-15 10:40:09 +02:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option MAILDIR
|
|
|
|
MAILDIR_PATCH_SITES= http://alpine.freeiz.com/alpine/patches/alpine-${PORTVERSION}/
|
|
|
|
MAILDIR_PATCHFILES+= maildir.patch.gz:-p1
|
2014-06-15 10:40:09 +02:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option MOUSE
|
|
|
|
MOUSE_CONFIGURE_ENABLE= mouse
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option NLS
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2011-06-26 09:12:53 +02:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option PASSFILE
|
|
|
|
PASSFILE_CONFIGURE_WITH= passfile
|
|
|
|
PASSFILE_CONFIGURE_ON= --with-passfile=.alpine.pwd
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
# Option THREADS
|
|
|
|
THREADS_CONFIGURE_WITH= pthread
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
|
|
|
.if !defined(PICO_ALPINE_SLAVE)
|
2017-06-19 19:39:21 +02:00
|
|
|
PORTDOCSbase= LICENSE NOTICE README
|
|
|
|
PORTDOCSdoc= brochure.txt
|
|
|
|
PORTDOCShtml= tech-notes/background.html tech-notes/cmd-line.html \
|
|
|
|
tech-notes/config-notes.html tech-notes/config.html \
|
|
|
|
tech-notes/index.html tech-notes/installation.html \
|
|
|
|
tech-notes/introduction.html tech-notes/low-level.html \
|
|
|
|
tech-notes/tech-notes.txt
|
|
|
|
PORTDOCS= ${PORTDOCSbase} ${PORTDOCSdoc} ${PORTDOCShtml}
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
|
|
|
|
@${SED} -e "s#^\(all:.*\) bundled\$$#\1#" \
|
|
|
|
${WRKSRC}/imap/Makefile.presed > ${WRKSRC}/imap/Makefile
|
|
|
|
@${CP} ${WRKSRC}/pico/Makefile.in ${WRKSRC}/pico/Makefile.in.presed
|
|
|
|
@${SED} -e "s#^bin_PROGRAMS = pico.*#bin_PROGRAMS =#" \
|
|
|
|
-e "s#\$$(pico_SOURCES) \$$(pilot_SOURCES)##" \
|
|
|
|
${WRKSRC}/pico/Makefile.in.presed > ${WRKSRC}/pico/Makefile.in
|
|
|
|
@${CP} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed
|
2017-04-01 13:01:46 +02:00
|
|
|
@${SED} -e "s#doc/man1/pico.1 doc/man1/pilot.1 ##" \
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in
|
2008-09-06 08:15:21 +02:00
|
|
|
@${CP} ${WRKSRC}/imap/src/osdep/unix/Makefile \
|
|
|
|
${WRKSRC}/imap/src/osdep/unix/Makefile.presed
|
|
|
|
@${SED} -e "s#^LOCKPGM=.*#LOCKPGM= ${PREFIX}/libexec/mlock#" \
|
|
|
|
${WRKSRC}/imap/src/osdep/unix/Makefile.presed \
|
|
|
|
> ${WRKSRC}/imap/src/osdep/unix/Makefile
|
2017-04-01 13:01:46 +02:00
|
|
|
@for i in ${WRKSRC}/README ${WRKSRC}/doc/man1/alpine.1 \
|
2015-03-07 15:51:05 +01:00
|
|
|
${WRKSRC}/doc/*.txt \
|
|
|
|
${WRKSRC}/doc/tech-notes/*.txt \
|
|
|
|
${WRKSRC}/doc/tech-notes/*.html \
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
${WRKSRC}/pith/pine.hlp ; do \
|
|
|
|
${CP} $$i $$i.presed ; \
|
2009-07-20 20:13:07 +02:00
|
|
|
${SED} -e "s:/usr/local/lib/:${PREFIX}/etc/:g" \
|
|
|
|
-e "s:/usr/local/pine.conf:${PREFIX}/etc/pine.conf:g" \
|
|
|
|
-e "s:pine\.conf:alpine.conf:g" \
|
|
|
|
-e "s:/usr/local:${PREFIX}:g" \
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
-e "s:@@PREFIX@@:${PREFIX}:g" \
|
|
|
|
$$i.presed > $$i ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
2014-06-15 10:40:09 +02:00
|
|
|
${STAGEDIR}${PREFIX}/bin/alpine -conf > ${STAGEDIR}${PREFIX}/etc/alpine.conf.sample
|
2017-06-19 19:39:21 +02:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-06-15 10:40:09 +02:00
|
|
|
${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/tech-notes
|
|
|
|
.for f in ${PORTDOCSbase}
|
2018-01-11 15:18:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
2014-06-15 10:40:09 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${PORTDOCSdoc}
|
2018-01-11 15:18:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
|
2014-06-15 10:40:09 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${PORTDOCShtml}
|
2018-01-11 15:18:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}/tech-notes
|
2014-06-15 10:40:09 +02:00
|
|
|
.endfor
|
2017-06-19 19:39:21 +02:00
|
|
|
.endif # !defined(PICO_ALPINE_SLAVE)
|
Add a port for Alpine the new (Apache-licensed) version of Pine.
Alpine is a screen-oriented message-handling tool for news, and POP, IMAP,
and local e-mail. In its default configuration it offers a limited set of
functions geared toward the novice user, but it also has a large list of
optional "power-user" and personal-preference features.
Alpine's basic feature set includes:
* View, Save, Export, Delete, Print, Reply and Forward messages.
Compose messages in a simple editor with word-wrap and a
spelling checker. Messages may be postponed for later completion.
* Selection and management of message folders.
* Address book to keep a list of long or frequently-used
addresses. Personal distribution lists may be defined.
Addresses may be taken into the address book from incoming mail
without retyping them.
* New mail checking/notification occurs automatically (configurable).
* On-line, context-sensitive help screens.
Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
Standard for representing multipart and multimedia data in email.
WWW: http://www.washington.edu/alpine/
This is a master port for editors/pico-alpine
2007-12-21 11:39:14 +01:00
|
|
|
|
2017-06-19 19:39:21 +02:00
|
|
|
.include <bsd.port.mk>
|