re-alpine stable port information

Info2: <<
Package: re-alpine
Version: 2.02
Revision: 2
Source: mirror:sourceforge:re-alpine/re-alpine-%v.tar.bz2
Source-MD5: 5e75826b15f05674856be8618bdefdfb
PatchFile: %n.patch
PatchFile-MD5: 5b6ed87fb32bb9e2f9558666a1616a5e
Depends: cyrus-sasl2-shlibs, db51-aes-shlibs, libgettext3-shlibs, libiconv, libncurses5-shlibs, openldap24-shlibs, openssl098-shlibs, tcltk-shlibs
BuildDepends: cyrus-sasl2-dev, libgettext3-dev, libiconv-dev, libncurses5, openldap24-dev, openssl098-dev, fink (>= 0.24.12)
GCC: 4.0
Replaces: pine, pine-ssl, alpine
ConfigureParams: <<
--bindir=%i/bin --sbindir=%i/sbin --datarootdir=%i/share --with-ldap-dir=%p \
--with-ssl-include-dir=%p/include/openssl --with-ssl-certs-dir=%p/etc/ssl/certs \
--with-openssl=%p/lib --with-local-password-cache-method
<<
SetLDFLAGS: -lintl
PatchScript: <<
sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1
<<
UseMaxBuildJobs: false
CompileScript: <<
./configure %c
make
<<
DocFiles: LICENSE NOTICE README VERSION
License: BSD
Description: Text based tool for managing emails
DescDetail: <<
Re-Alpine is a fork of alpine, building on the alpine release from University
of Washington. Alpine was a fork/redevelopment of the older pine program.

Alpine is a fast, easy to use email client that is suitable for both the
inexperienced email user as well as for the most demanding of power users.
Alpine is based on the Pine(r) Message System, which was also developed at the
University of Washington. Alpine can be learned by exploration and the use of
context-sensitive help. The user experience is highly customizable through the
use of the Alpine Setup command.
<<
DescUsage: <<
Don't forget to copy certs into the %p/etc/ssl/certs directory to use SSL.
<<
Maintainer: H. Todd Fujinaka
Homepage: http://www.washington.edu/alpine
<<

re-alpine stable port .patch

diff -Naur re-alpine-2.01.orig/configure re-alpine-2.01/configure
--- re-alpine-2.01.orig/configure 2009-08-03 06:42:11.000000000 -0700
+++ re-alpine-2.01/configure 2009-08-03 07:23:45.000000000 -0700
@@ -16317,7 +16317,7 @@
;;
*-apple-darwin*)
alpine_SSLTYPE="nopwd"
- alpine_SSLCERTS="/System/Library/OpenSSL/certs"
+ alpine_SSLCERTS="%p/ssl/certs"
;;
*-openbsd*)
alpine_SSLTYPE="nopwd"
diff -Naur re-alpine-2.01.orig/imap/Makefile re-alpine-2.01/imap/Makefile
--- re-alpine-2.01.orig/imap/Makefile 2009-08-03 06:42:11.000000000 -0700
+++ re-alpine-2.01/imap/Makefile 2009-08-03 07:23:45.000000000 -0700
@@ -266,6 +266,7 @@
EXTRASPECIALS=
SPECIALS=

+MAC_OSX_KLUDGE=$(shell if [ -e $(SDKROOT)/usr/include/pam ]; then echo "-DMAC_OSX_KLUDGE="; fi)

# Normal commands

@@ -419,8 +420,8 @@
$(TOUCH) ip6
$(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
PASSWDTYPE=pam \
- EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
- SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
+ EXTRACFLAGS="$(EXTRACFLAGS) $(MAC_OSX_KLUDGE)" \
+ SPECIALS="SSLINCLUDE=@PREFIX@/include/openssl SSLLIB=@PREFIX@/lib SSLCERTS=@PREFIX@/ssl/certs SSLKEYS=@PREFIX@/ssl/private GSSINCLUDE=@PREFIX@/include GSSLIB=@PREFIX@/lib PAMDLFLAGS=-lpam"

osx: osxok an
$(TOUCH) ip6

re-alpine _unstable_ port .patch