Import new package: re-alpine.

Re-alpine is a fork of Alpine with a new development team.  (Alpine
is the official replacement for the Pine email and news client.)

Re-alpine is a screen-oriented message-handling tool (i.e. a mail
client) with many configurations for the novice and power user.

This package currently only installs the alpine binary, excluding
the pilot and pico binaries which would cause it to conflict with
the pine package.
This commit is contained in:
reed 2009-09-15 23:27:05 +00:00
parent 9bae53ce3a
commit d8ea5fefb9
5 changed files with 80 additions and 0 deletions

9
mail/re-alpine/DESCR Normal file
View file

@ -0,0 +1,9 @@
Re-alpine is a fork of Alpine with a new development team. (Alpine
is the official replacement for the Pine email and news client.)
Re-alpine is a screen-oriented message-handling tool (i.e. a mail
client) with many configurations for the novice and power user.
This package currently only installs the alpine binary, excluding
the pilot and pico binaries which would cause it to conflict with
the pine package.

40
mail/re-alpine/Makefile Normal file
View file

@ -0,0 +1,40 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/09/15 23:27:05 reed Exp $
#
DISTNAME= re-alpine-2.01
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=re-alpine/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://sourceforge.net/projects/re-alpine/
COMMENT= Console-based mail and news client
LICENSE= apache-2.0
CONFLICTS= alpine-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-ssl-dir=${SSLBASE:Q}
# TODO: is this okay?
CONFIGURE_ARGS+= --with-system-pinerc=${PKG_SYSCONFDIR}/pine.conf
CONFIGURE_ARGS+= --with-system-fixed-pinerc=${PKG_SYSCONFDIR}/pine.conf.fixed
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M4.99.*) && empty(OS_VERSION:M[5-9]*)
CONFIGURE_ARGS+= --without-pthread
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
mail/re-alpine/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/15 23:27:05 reed Exp $
bin/alpine
man/man1/alpine.1

5
mail/re-alpine/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/09/15 23:27:05 reed Exp $
SHA1 (re-alpine-2.01.tar.bz2) = 50a9715176d5da25f38816b73d12f84fd1c09bb1
RMD160 (re-alpine-2.01.tar.bz2) = 3906b75ece8cca6561ff3fafb1a1ee9033a825d0
Size (re-alpine-2.01.tar.bz2) = 5970290 bytes

23
mail/re-alpine/options.mk Normal file
View file

@ -0,0 +1,23 @@
# $NetBSD: options.mk,v 1.1.1.1 2009/09/15 23:27:05 reed Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
PKG_SUPPORTED_OPTIONS= ldap pinepwd
PKG_SUGGESTED_OPTIONS= pinepwd
.include "../../mk/bsd.options.mk"
# not tested
#.if !empty(PKG_OPTIONS:Mkerberos)
#CONFIGURE_ARGS+= --with-krb5
#.include "../../mk/krb5.buildlink3.mk"
#.endif
.if !empty(PKG_OPTIONS:Mldap)
CONFIGURE_ARGS+= --with-ldap
.include "../../databases/openldap-client/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpinepwd)
CONFIGURE_ARGS+= --with-passfile=.pinepwd
.endif