summaryrefslogtreecommitdiff
path: root/mail/re-alpine
diff options
context:
space:
mode:
authorreed <reed>2009-09-15 23:27:05 +0000
committerreed <reed>2009-09-15 23:27:05 +0000
commit125d5c7c48d8e5780c7f0b48ae7dd72a281047a8 (patch)
treeb03a64d88e0dc709ab8cf0552322ebc626ad60ec /mail/re-alpine
parent94138a09e512ce1ce08d01cc59ec0181dd324d04 (diff)
downloadpkgsrc-125d5c7c48d8e5780c7f0b48ae7dd72a281047a8.tar.gz
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.
Diffstat (limited to 'mail/re-alpine')
-rw-r--r--mail/re-alpine/DESCR9
-rw-r--r--mail/re-alpine/Makefile40
-rw-r--r--mail/re-alpine/PLIST3
-rw-r--r--mail/re-alpine/distinfo5
-rw-r--r--mail/re-alpine/options.mk23
5 files changed, 80 insertions, 0 deletions
diff --git a/mail/re-alpine/DESCR b/mail/re-alpine/DESCR
new file mode 100644
index 00000000000..da7cd0d48b7
--- /dev/null
+++ b/mail/re-alpine/DESCR
@@ -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.
diff --git a/mail/re-alpine/Makefile b/mail/re-alpine/Makefile
new file mode 100644
index 00000000000..6a2a80c8945
--- /dev/null
+++ b/mail/re-alpine/Makefile
@@ -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"
diff --git a/mail/re-alpine/PLIST b/mail/re-alpine/PLIST
new file mode 100644
index 00000000000..04bcb753350
--- /dev/null
+++ b/mail/re-alpine/PLIST
@@ -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
diff --git a/mail/re-alpine/distinfo b/mail/re-alpine/distinfo
new file mode 100644
index 00000000000..76e79329b0b
--- /dev/null
+++ b/mail/re-alpine/distinfo
@@ -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
diff --git a/mail/re-alpine/options.mk b/mail/re-alpine/options.mk
new file mode 100644
index 00000000000..6a8e60f8dbc
--- /dev/null
+++ b/mail/re-alpine/options.mk
@@ -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