From 38254bc3ce1defbbaef5a71c36ecc603fc085178 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 18 Sep 2000 00:40:20 +0000 Subject: Adding arrow version 1.0.8. A mail reader for X that lets you view, compose, and organize your mail. It groks PGP, GnuPG, POP, and APOP. PR: 19287 Submitted by: Mario S F Ferreira --- mail/Makefile | 1 + mail/arrow/Makefile | 108 ++++++++++++++++++++++++++++++++++++++++++++++ mail/arrow/distinfo | 1 + mail/arrow/files/patch-aa | 28 ++++++++++++ mail/arrow/files/patch-ab | 11 +++++ mail/arrow/files/patch-ac | 11 +++++ mail/arrow/files/patch-ad | 46 ++++++++++++++++++++ mail/arrow/files/patch-ae | 34 +++++++++++++++ mail/arrow/pkg-comment | 1 + mail/arrow/pkg-descr | 12 ++++++ mail/arrow/pkg-plist | 4 ++ 11 files changed, 257 insertions(+) create mode 100644 mail/arrow/Makefile create mode 100644 mail/arrow/distinfo create mode 100644 mail/arrow/files/patch-aa create mode 100644 mail/arrow/files/patch-ab create mode 100644 mail/arrow/files/patch-ac create mode 100644 mail/arrow/files/patch-ad create mode 100644 mail/arrow/files/patch-ae create mode 100644 mail/arrow/pkg-comment create mode 100644 mail/arrow/pkg-descr create mode 100644 mail/arrow/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 75bc9ec..993f43d 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -3,6 +3,7 @@ SUBDIR += adcomplain SUBDIR += asmail + SUBDIR += arrow SUBDIR += autorespond SUBDIR += balsa SUBDIR += bbmail diff --git a/mail/arrow/Makefile b/mail/arrow/Makefile new file mode 100644 index 0000000..0ab8e91 --- /dev/null +++ b/mail/arrow/Makefile @@ -0,0 +1,108 @@ +# New ports collection makefile for: Arrow +# Date created: 14 June 2000 +# Whom: Mario S F Ferreira et al. +# +# $FreeBSD$ +# + +PORTNAME= arrow +PORTVERSION= 1.0.8 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.newplanetsoftware.com/pub/arrow/source/ +DISTNAME= Arrow_source-${PORTVERSION} + +MAINTAINER= lioux@linf.unb.br + +BUILD_DEPENDS= nonexistent:${JXPORT}:configure \ + makemake:${JXPORT} +LIB_DEPENDS= jx-1_5_3.1:${JXPORT} \ + jsearch-0_5_6.0:${PORTSDIR}/x11-toolkits/libjsearch \ + jtoolbar-0_5_4.0:${PORTSDIR}/x11-toolkits/libjtoolbar \ + jtree-1_1_7.1:${PORTSDIR}/x11-toolkits/libjtree + +WRKSRC= ${WRKDIR}/JX-1.5.3 + +USE_XLIB= yes +USE_GMAKE= yes +MAKE_ARGS= CC="${CC}" CXX="${CXX}" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +MAKE_ENV= JX_INSTALL_ROOT="${X11BASE}/bin" \ + JX_LIB_ROOT="${X11BASE}/lib" +PLIST_SUB= PORTNAME="${PORTNAME}" + +# Make environment +PORTINCLUDES= -I${X11BASE}/include/jx \ + -I${X11BASE}/include/jcore \ + -I${X11BASE}/include/jsearch \ + -I${X11BASE}/include/jtoolbar \ + -I${X11BASE}/include/jtree \ + -I${X11BASE}/share/jx + +# Installs dir with proper permissions +INSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 +# program files +PROGRAMFILES= arrow/arrow +# documents +DOCFILES= LICENSE README.binary +DOCDIR_PREFIX= ${PREFIX}/share/doc/${PORTNAME} +# additional configuration and header files +EXTRALIB_PREFIX= ${X11BASE}/lib/jx +EXTRALIBFILES_MAKE_WRKSRC= include/make +# main jx distribution files needed for building +COPY_JXDIRS= include +COPY_JXFILES= Makefile +# main jx distribution port wrksrc +JXPORT= ${PORTSDIR}/x11-toolkits/jx +JXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3 +JX_MAKE_CONSTANTS= jsearch_constants jtoolbar_constants jtree_constants + +.include + +.if ${OSVERSION} >= 300000 +ALL_TARGET= freebsd3.x +.else +ALL_TARGET= freebsd2.x +.endif + +.if defined(NOPORTDOCS) +PLIST_SUB+= PORTDOCS:="@comment " +.else +PLIST_SUB+= PORTDOCS:= +.endif # !defined(NOPORTDOCS) + +post-extract: +.for i in ${COPY_JXDIRS} + @${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC} +.endfor +.for i in ${COPY_JXFILES} + @${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC} +.endfor + +post-patch: + @${ECHO} "SEARCHDIRS += ${PORTINCLUDES}" >> \ + ${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/jx_constants + +pre-build: +.for i in ${JX_MAKE_CONSTANTS} + @${LN} -sf ${EXTRALIB_PREFIX}/make/${i} ${WRKSRC}/include/make +.endfor + +post-build: + @cd ${WRKSRC}/programs/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ + ${MAKEFILE} ${MAKE_ARGS} + +do-install: +.if !defined(NOPORTDOCS) +# Install all documentation + @${INSTALL_DATA_DIR} ${DOCDIR_PREFIX} +.for i in ${DOCFILES} + @${INSTALL_DATA} ${WRKSRC}/programs/${PORTNAME}/${i} ${DOCDIR_PREFIX} +.endfor +.endif # !defined(NOPORTDOCS) +# Install all programs +.for i in ${PROGRAMFILES} + @${INSTALL_PROGRAM} ${WRKSRC}/programs/${i} ${PREFIX}/bin +.endfor + +.include diff --git a/mail/arrow/distinfo b/mail/arrow/distinfo new file mode 100644 index 0000000..4f36b62 --- /dev/null +++ b/mail/arrow/distinfo @@ -0,0 +1 @@ +MD5 (Arrow_source-1.0.8.tar.gz) = 0f435480f3df28f538b778a7931b1cc4 diff --git a/mail/arrow/files/patch-aa b/mail/arrow/files/patch-aa new file mode 100644 index 0000000..18be5d2 --- /dev/null +++ b/mail/arrow/files/patch-aa @@ -0,0 +1,28 @@ +--- Makefile.orig Sat Sep 11 17:44:38 1999 ++++ Makefile Wed Jun 14 01:07:15 2000 +@@ -262,25 +262,11 @@ + freebsd2.x: prep + @ln -s sys/FreeBSD-2.x_g++ \ + include/make/jx_config +- @ln -s ../../include/missing_proto/jMissingProto_empty.h \ +- include/jcore/jMissingProto.h +- @ln -s config-freebsd.h \ +- ACE/ACE_wrappers/ace/config.h +- @ln -s platform_freebsd.GNU \ +- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU +- @${INSTALL_CMD} + + .PHONY : freebsd3.x + freebsd3.x: prep + @ln -s sys/FreeBSD-3.x_g++ \ + include/make/jx_config +- @ln -s ../../include/missing_proto/jMissingProto_empty.h \ +- include/jcore/jMissingProto.h +- @ln -s config-freebsd-pthread.h \ +- ACE/ACE_wrappers/ace/config.h +- @ln -s platform_freebsd_pthread.GNU \ +- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU +- @${INSTALL_CMD} + + # + # SunOS 4.x diff --git a/mail/arrow/files/patch-ab b/mail/arrow/files/patch-ab new file mode 100644 index 0000000..08f994d --- /dev/null +++ b/mail/arrow/files/patch-ab @@ -0,0 +1,11 @@ +--- include/make/sys/FreeBSD-2.x_g++.orig Wed Jun 14 01:44:51 2000 ++++ include/make/sys/FreeBSD-2.x_g++ Wed Jun 14 01:45:00 2000 +@@ -35,7 +35,7 @@ + # Comment this out if ACE or other code gives you warnings that + # you can't avoid. + +-J_DIE_ON_WARNING := -Werror ++#J_DIE_ON_WARNING := -Werror + + # Uncomment this if istrstream is broken. One way to check is to run + # testjcore/testJFileArray. diff --git a/mail/arrow/files/patch-ac b/mail/arrow/files/patch-ac new file mode 100644 index 0000000..464c422 --- /dev/null +++ b/mail/arrow/files/patch-ac @@ -0,0 +1,11 @@ +--- include/make/sys/FreeBSD-3.x_g++.orig Wed Jun 14 01:44:51 2000 ++++ include/make/sys/FreeBSD-3.x_g++ Wed Jun 14 01:45:00 2000 +@@ -35,7 +35,7 @@ + # Comment this out if ACE or other code gives you warnings that + # you can't avoid. + +-J_DIE_ON_WARNING := -Werror ++#J_DIE_ON_WARNING := -Werror + + # Uncomment this if istrstream is broken. One way to check is to run + # testjcore/testJFileArray. diff --git a/mail/arrow/files/patch-ad b/mail/arrow/files/patch-ad new file mode 100644 index 0000000..e4bacc7 --- /dev/null +++ b/mail/arrow/files/patch-ad @@ -0,0 +1,46 @@ +--- programs/arrow/Make.header.orig Mon Oct 4 20:07:33 1999 ++++ programs/arrow/Make.header Wed Jun 14 14:41:40 2000 +@@ -19,7 +19,7 @@ + + # Directories to search for header files + +-SEARCHDIRS := -I- \ ++SEARCHDIRS = -I- \ + -I${CODEDIR} \ + -I${MAILTREE} \ + -I${ADDBOOKTREE} \ +@@ -29,7 +29,8 @@ + -I${JXDIR} \ + -I${MENUIMGDIR} \ + -I${JSEARCHDIR} \ +- -I${ACE_ROOT} ++ -I${ACE_ROOT} \ ++ ${J_X11_INCLUDE_DIR} + + # other constants + +@@ -47,15 +48,6 @@ + + # library dependencies + +-ifdef J_BUILD_SHARED_LIB +- LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.so \ +- ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.so \ +- ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.so +-else +- LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.a \ +- ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.a \ +- ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.a +-endif + + # make variables + +@@ -75,7 +67,7 @@ + ##### + + .PHONY : default +-default: libs arrow ++default: arrow + + .PHONY : Makefiles + Makefiles: diff --git a/mail/arrow/files/patch-ae b/mail/arrow/files/patch-ae new file mode 100644 index 0000000..58308bd --- /dev/null +++ b/mail/arrow/files/patch-ae @@ -0,0 +1,34 @@ +--- programs/arrow/code/SMTPMessage.cc.orig Wed Jun 14 14:15:43 2000 ++++ programs/arrow/code/SMTPMessage.cc Wed Jun 14 14:37:44 2000 +@@ -42,7 +42,7 @@ + #include + #include + +-#include ++#include + #include + #include + #include +@@ -395,9 +395,22 @@ + itsFrom->Print(*itsOutboxStream); + *itsOutboxStream << " "; + ++/* This is obsolete on FreeBSD ++ Try the replacemente below + struct timeb tp; + ftime(&tp); + JString date(ctime(&(tp.time))); ++*/ ++ ++/* BEGIN of ftime replacement */ ++ struct timeval t; ++ struct timezone tz; ++ ++ gettimeofday(&t, &tz); ++ JString date(ctime(&(t.tv_sec))); ++ ++/* END of ftime replacement */ ++ + date.Print(*itsOutboxStream); + + jistrstream(is, date.GetCString(), date.GetLength()); diff --git a/mail/arrow/pkg-comment b/mail/arrow/pkg-comment new file mode 100644 index 0000000..897e4e0 --- /dev/null +++ b/mail/arrow/pkg-comment @@ -0,0 +1 @@ +Mail Reader for X: view, compose and organize; e.g, PGP, GnuPG, POP & APOP diff --git a/mail/arrow/pkg-descr b/mail/arrow/pkg-descr new file mode 100644 index 0000000..4c5e1f6 --- /dev/null +++ b/mail/arrow/pkg-descr @@ -0,0 +1,12 @@ +Arrow provides a powerful, intuitive interface to electronic mail. +The ability to automatically monitor an unlimited number of inboxes +fed by a procmail script and to rearrange messages and even move +them to different mailboxes by simply dragging them significantly +eases the burden on managing one's daily correspondence. + +It is a free e-mail program that was written to address the e-mail needs +of users migrating from Win95 and the Macintosh to Linux. It currently +supports viewing, composing, and organizing of e-mail, including secure +e-mail via PGP, POP access, and a spell checker. + +WWW: http://www.newplanetsoftware.com/arrow/ diff --git a/mail/arrow/pkg-plist b/mail/arrow/pkg-plist new file mode 100644 index 0000000..fbe858d --- /dev/null +++ b/mail/arrow/pkg-plist @@ -0,0 +1,4 @@ +bin/arrow +%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE +%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary +%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%% -- cgit v1.1