Multi-package pine.

This leads to three packages:
pine, pine+pico, pico

Note that pine does not depend on pico, since it links with the static
libpico library.

The old pine package corresponds to the newer pine+pico package.
This commit is contained in:
espie 2000-09-03 17:20:33 +00:00
parent 08f15f7fab
commit 4c8a9cb2ba
13 changed files with 98 additions and 57 deletions

View File

@ -1,12 +1,25 @@
# $OpenBSD: Makefile,v 1.18 2000/07/10 22:54:33 brad Exp $
# $OpenBSD: Makefile,v 1.19 2000/09/03 17:20:33 espie Exp $
DISTNAME= pine4.21
PKGNAME= pine-4.21
CATEGORIES= mail news
NEED_VERSION= 1.310
MULTI_PACKAGES=-pine -pico
SUBPACKAGE?=
VERSION=4.21
DISTNAME= pine${VERSION}
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.sunet.se/pub/unix/mail/pine/
.if ${SUBPACKAGE} == "-pine"
PKGNAME= pine-${VERSION}
CATEGORIES= mail news
.elif ${SUBPACKAGE} == "-pico"
PKGNAME= pico-${VERSION}
CATEGORIES= editors
.else
PKGNAME= pine+pico-${VERSION}
CATEGORIES= mail news editors
.endif
NEED_VERSION= 1.310
HOMEPAGE= http://www.washington.edu/pine/
MAINTAINER= ports@openbsd.org

View File

@ -1 +1 @@
Program for Internet E-mail and News
Program for Internet E-mail and News, plus editor

View File

@ -0,0 +1 @@
small text editor

View File

@ -0,0 +1 @@
Program for Internet E-mail and News, without editor

View File

@ -6,8 +6,9 @@ RFC-822, SMTP, MIME, IMAP, NNTP) and runs on Unix and PCs. This
package also includes the Pico editor, the IMAP daemon, a POP2 server,
and a POP3 server.
If you want to use the spell checking feature of pine, set the
environment variable SPELL to "/usr/local/bin/ispell -l".
If you want to use the spell checking feature of pine, install ispell
and set the environment variable SPELL to
"${PREFIX}/ispell -l".
An optional configuration file "pine.conf" can be put into /etc
to set system wide defaults. The format of this file is identical to the

20
mail/pine/pkg/DESCR-pico Normal file
View File

@ -0,0 +1,20 @@
Pine is a tool for reading, sending, and managing
electronic messages. It was designed specifically with novice
computer users in mind, but can be tailored to accommodate the needs
of "power users" as well. Pine uses Internet message protocols (e.g.
RFC-822, SMTP, MIME, IMAP, NNTP) and runs on Unix and PCs. This
package also includes the Pico editor, the IMAP daemon, a POP2 server,
and a POP3 server.
If you want to use the spell checking feature of pine, set the
environment variable SPELL to "/usr/local/bin/ispell -l".
An optional configuration file "pine.conf" can be put into /etc
to set system wide defaults. The format of this file is identical to the
.pinerc file that is auto-generated by pine in your home directory.
Also included in dot.pinerc.pgp.sample are example entries needed to
add to your .pinerc to activate the pgp add on scripts pgpdecode,
pgpencode, and pgpsign.
WWW: ${HOMEPAGE}

21
mail/pine/pkg/DESCR-pine Normal file
View File

@ -0,0 +1,21 @@
Pine is a tool for reading, sending, and managing
electronic messages. It was designed specifically with novice
computer users in mind, but can be tailored to accommodate the needs
of "power users" as well. Pine uses Internet message protocols (e.g.
RFC-822, SMTP, MIME, IMAP, NNTP) and runs on Unix and PCs. This
package also includes the IMAP daemon, a POP2 server,
and a POP3 server, but not the pico editor.
If you want to use the spell checking feature of pine, install ispell
and set the environment variable SPELL to
"${PREFIX}/ispell -l".
An optional configuration file "pine.conf" can be put into /etc
to set system wide defaults. The format of this file is identical to the
.pinerc file that is auto-generated by pine in your home directory.
Also included in dot.pinerc.pgp.sample are example entries needed to
add to your .pinerc to activate the pgp add on scripts pgpdecode,
pgpencode, and pgpsign.
WWW: ${HOMEPAGE}

View File

@ -1,49 +0,0 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.3 2000/08/04 18:30:39 brad Exp $
#
# Pre/post-installation setup of pine
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# Function: tell the user what s/he needs to do to use the port just installed
#
do_notice()
{
echo
echo "+---------------"
echo "| Some documentation for $1 can be found in"
echo "| $PREFIX/share/doc/pine as well as pine(1)."
echo "|"
echo "| Please read the documentation for instruction on how to make/update"
echo "| the configuration files /etc/pine.conf and /etc/pine.conf.fixed"
echo "+---------------"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
do_notice $1
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

7
mail/pine/pkg/MESSAGE Normal file
View File

@ -0,0 +1,7 @@
+---------------
| Some documentation for pine can be found in
| ${PREFIX}/share/doc/pine as well as pine(1).
|
| Please read the documentation for instruction on how to make/update
| the configuration files /etc/pine.conf and /etc/pine.conf.fixed
+---------------

View File

@ -0,0 +1,7 @@
+---------------
| Some documentation for pine can be found in
| ${PREFIX}/share/doc/pine as well as pine(1).
|
| Please read the documentation for instruction on how to make/update
| the configuration files /etc/pine.conf and /etc/pine.conf.fixed
+---------------

View File

@ -1,3 +1,6 @@
@comment $OpenBSD: PLIST,v 1.9 2000/09/03 17:20:34 espie Exp $
@pkgcfl pine-*
@pkgcfl pico-*
bin/pico
bin/pilot
bin/pine

4
mail/pine/pkg/PLIST-pico Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-pico,v 1.1 2000/09/03 17:20:34 espie Exp $
@pkgcfl pine+pico-*
bin/pico
man/man1/pico.1

12
mail/pine/pkg/PLIST-pine Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST-pine,v 1.1 2000/09/03 17:20:34 espie Exp $
@pkgcfl pine+pico-*
bin/pilot
bin/pine
bin/pgpencrypt
bin/pgpdecode
bin/pgpsign
man/man1/pilot.1
man/man1/pine.1
share/doc/pine/tech-notes.txt
share/doc/pine/dot.pinerc.pgp.sample
@dirrm share/doc/pine