Skip site navigation (1)Skip section navigation (2)
Date:      15 Jun 2000 04:39:15 -0000
From:      lioux@uol.com.br
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19287: New port mail/arrow uses x11-toolkits/jx
Message-ID:  <20000615043915.21372.qmail@Fedaykin.here>

next in thread | raw e-mail | index | archive | help

>Number:         19287
>Category:       ports
>Synopsis:       New port mail/arrow uses x11-toolkits/jx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 21:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #2: Fri Jun  9 13:22:10 EST 2000     lioux@Here.here:/usr/src/sys/compile/LIOUX  i386

>Description:

Mail Reader for X: view, compose and organize; e.g, PGP, GnuPG, POP & APOP

>How-To-Repeat:

n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	arrow
#	arrow/patches
#	arrow/patches/patch-aa
#	arrow/patches/patch-ab
#	arrow/patches/patch-ac
#	arrow/patches/patch-ad
#	arrow/patches/patch-ae
#	arrow/pkg
#	arrow/pkg/COMMENT
#	arrow/pkg/DESCR
#	arrow/pkg/PLIST
#	arrow/files
#	arrow/files/md5
#	arrow/Makefile
#
echo c - arrow
mkdir -p arrow > /dev/null 2>&1
echo c - arrow/patches
mkdir -p arrow/patches > /dev/null 2>&1
echo x - arrow/patches/patch-aa
sed 's/^X//' >arrow/patches/patch-aa << 'END-of-arrow/patches/patch-aa'
X--- Makefile.orig	Sat Sep 11 17:44:38 1999
X+++ Makefile	Wed Jun 14 01:07:15 2000
X@@ -262,25 +262,11 @@
X freebsd2.x: prep
X 	@ln -s sys/FreeBSD-2.x_g++ \
X            include/make/jx_config
X-	@ln -s ../../include/missing_proto/jMissingProto_empty.h \
X-           include/jcore/jMissingProto.h
X-	@ln -s config-freebsd.h \
X-           ACE/ACE_wrappers/ace/config.h
X-	@ln -s platform_freebsd.GNU \
X-           ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU
X-	@${INSTALL_CMD}
X 
X .PHONY : freebsd3.x
X freebsd3.x: prep
X 	@ln -s sys/FreeBSD-3.x_g++ \
X            include/make/jx_config
X-	@ln -s ../../include/missing_proto/jMissingProto_empty.h \
X-           include/jcore/jMissingProto.h
X-	@ln -s config-freebsd-pthread.h \
X-           ACE/ACE_wrappers/ace/config.h
X-	@ln -s platform_freebsd_pthread.GNU \
X-           ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU
X-	@${INSTALL_CMD}
X 
X #
X # SunOS 4.x
END-of-arrow/patches/patch-aa
echo x - arrow/patches/patch-ab
sed 's/^X//' >arrow/patches/patch-ab << 'END-of-arrow/patches/patch-ab'
X--- include/make/sys/FreeBSD-2.x_g++.orig	Wed Jun 14 01:44:51 2000
X+++ include/make/sys/FreeBSD-2.x_g++	Wed Jun 14 01:45:00 2000
X@@ -35,7 +35,7 @@
X # Comment this out if ACE or other code gives you warnings that
X # you can't avoid.
X 
X-J_DIE_ON_WARNING := -Werror
X+#J_DIE_ON_WARNING := -Werror
X 
X # Uncomment this if istrstream is broken.  One way to check is to run
X # testjcore/testJFileArray.
END-of-arrow/patches/patch-ab
echo x - arrow/patches/patch-ac
sed 's/^X//' >arrow/patches/patch-ac << 'END-of-arrow/patches/patch-ac'
X--- include/make/sys/FreeBSD-3.x_g++.orig	Wed Jun 14 01:44:51 2000
X+++ include/make/sys/FreeBSD-3.x_g++	Wed Jun 14 01:45:00 2000
X@@ -35,7 +35,7 @@
X # Comment this out if ACE or other code gives you warnings that
X # you can't avoid.
X 
X-J_DIE_ON_WARNING := -Werror
X+#J_DIE_ON_WARNING := -Werror
X 
X # Uncomment this if istrstream is broken.  One way to check is to run
X # testjcore/testJFileArray.
END-of-arrow/patches/patch-ac
echo x - arrow/patches/patch-ad
sed 's/^X//' >arrow/patches/patch-ad << 'END-of-arrow/patches/patch-ad'
X--- programs/arrow/Make.header.orig	Mon Oct  4 20:07:33 1999
X+++ programs/arrow/Make.header	Wed Jun 14 14:41:40 2000
X@@ -19,7 +19,7 @@
X 
X # Directories to search for header files
X 
X-SEARCHDIRS := -I- \
X+SEARCHDIRS = -I- \
X               -I${CODEDIR} \
X               -I${MAILTREE} \
X               -I${ADDBOOKTREE} \
X@@ -29,7 +29,8 @@
X               -I${JXDIR} \
X               -I${MENUIMGDIR} \
X               -I${JSEARCHDIR} \
X-              -I${ACE_ROOT}
X+              -I${ACE_ROOT} \
X+		${J_X11_INCLUDE_DIR}
X 
X # other constants
X 
X@@ -47,15 +48,6 @@
X 
X # library dependencies
X 
X-ifdef J_BUILD_SHARED_LIB
X-  LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.so \
X-              ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.so \
X-              ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.so
X-else
X-  LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.a \
X-              ${JLIBDIR}/libjtoolbar-${JTOOLBAR_LIB_VERSION}.a \
X-              ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.a
X-endif
X 
X # make variables
X 
X@@ -75,7 +67,7 @@
X #####
X 
X .PHONY : default
X-default: libs arrow
X+default: arrow
X 
X .PHONY : Makefiles
X Makefiles:
END-of-arrow/patches/patch-ad
echo x - arrow/patches/patch-ae
sed 's/^X//' >arrow/patches/patch-ae << 'END-of-arrow/patches/patch-ae'
X--- programs/arrow/code/SMTPMessage.cc.orig	Wed Jun 14 14:15:43 2000
X+++ programs/arrow/code/SMTPMessage.cc	Wed Jun 14 14:37:44 2000
X@@ -42,7 +42,7 @@
X #include <ace/LSOCK_Connector.h>
X #include <ace/LSOCK_Stream.h>
X 
X-#include <sys/timeb.h>
X+#include <sys/time.h>
X #include <sys/utsname.h>
X #include <fstream.h>
X #include <strstream.h>
X@@ -395,9 +395,22 @@
X 	itsFrom->Print(*itsOutboxStream);
X 	*itsOutboxStream << " ";
X 	
X+/*	This is obsolete on FreeBSD
X+	Try the replacemente below
X 	struct timeb tp;
X 	ftime(&tp);
X 	JString date(ctime(&(tp.time)));
X+*/
X+
X+/* BEGIN of ftime replacement */
X+	struct timeval t;
X+	struct timezone tz;
X+
X+	gettimeofday(&t, &tz);
X+	JString date(ctime(&(t.tv_sec)));
X+
X+/* END of ftime replacement */
X+	
X 	date.Print(*itsOutboxStream);
X 
X 	jistrstream(is, date.GetCString(), date.GetLength());
END-of-arrow/patches/patch-ae
echo c - arrow/pkg
mkdir -p arrow/pkg > /dev/null 2>&1
echo x - arrow/pkg/COMMENT
sed 's/^X//' >arrow/pkg/COMMENT << 'END-of-arrow/pkg/COMMENT'
XMail Reader for X: view, compose and organize; e.g, PGP, GnuPG, POP & APOP
END-of-arrow/pkg/COMMENT
echo x - arrow/pkg/DESCR
sed 's/^X//' >arrow/pkg/DESCR << 'END-of-arrow/pkg/DESCR'
XArrow provides a powerful, intuitive interface to electronic mail.
XThe ability to automatically monitor an unlimited number of inboxes
Xfed by a procmail script and to rearrange messages and even move
Xthem to different mailboxes by simply dragging them significantly
Xeases the burden on managing one's daily correspondence.
X
XIt is a free e-mail program that was written to address the e-mail needs
Xof users migrating from Win95 and the Macintosh to Linux. It currently
Xsupports viewing, composing, and organizing of e-mail, including secure
Xe-mail via PGP, POP access,  and a spell checker.
X
XWWW: http://www.newplanetsoftware.com/arrow/
END-of-arrow/pkg/DESCR
echo x - arrow/pkg/PLIST
sed 's/^X//' >arrow/pkg/PLIST << 'END-of-arrow/pkg/PLIST'
Xbin/arrow
X%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE
X%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary
X%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%%
END-of-arrow/pkg/PLIST
echo c - arrow/files
mkdir -p arrow/files > /dev/null 2>&1
echo x - arrow/files/md5
sed 's/^X//' >arrow/files/md5 << 'END-of-arrow/files/md5'
XMD5 (Arrow_source-1.0.8.tar.gz) = 0f435480f3df28f538b778a7931b1cc4
END-of-arrow/files/md5
echo x - arrow/Makefile
sed 's/^X//' >arrow/Makefile << 'END-of-arrow/Makefile'
X# New ports collection makefile for:	Arrow
X# Date created:		14 June 2000
X# Whom:			 Mario S F Ferreira <lioux@linf.unb.br> et al.
X#
X# $FreeBSD$
X#
X
XPORTNAME=	arrow
XPORTVERSION=	1.0.8
XCATEGORIES=	mail
XMASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/arrow/source/
XDISTNAME=	Arrow_source-${PORTVERSION}
X
XMAINTAINER=	lioux@linf.unb.br
X
XBUILD_DEPENDS=	nonexistent:${JXPORT}:configure \
X		makemake:${JXPORT}
XLIB_DEPENDS=	jx-1_5_3.1:${JXPORT} \
X		jsearch-0_5_6.0:${PORTSDIR}/x11-toolkits/libjsearch \
X		jtoolbar-0_5_4.0:${PORTSDIR}/x11-toolkits/libjtoolbar \
X		jtree-1_1_7.1:${PORTSDIR}/x11-toolkits/libjtree
X
XWRKSRC=		${WRKDIR}/JX-1.5.3
X
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XMAKE_ARGS=	CC="${CC}" CXX="${CXX}" \
X		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
XMAKE_ENV=	JX_INSTALL_ROOT="${X11BASE}/bin" \
X		JX_LIB_ROOT="${X11BASE}/lib"
XPLIST_SUB=	PORTNAME="${PORTNAME}"
X
X# Make environment
XPORTINCLUDES=	-I${X11BASE}/include/jx \
X		-I${X11BASE}/include/jcore \
X		-I${X11BASE}/include/jsearch \
X		-I${X11BASE}/include/jtoolbar \
X		-I${X11BASE}/include/jtree \
X		-I${X11BASE}/share/jx
X
X# Installs dir with proper permissions
XINSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
X# program files
XPROGRAMFILES=		arrow/arrow
X# documents
XDOCFILES=       LICENSE README.binary
XDOCDIR_PREFIX=  ${PREFIX}/share/doc/${PORTNAME}
X# additional configuration and header files
XEXTRALIB_PREFIX=	${X11BASE}/lib/jx
XEXTRALIBFILES_MAKE_WRKSRC=	include/make
X# main jx distribution files needed for building
XCOPY_JXDIRS=	include
XCOPY_JXFILES=	Makefile
X# main jx distribution port wrksrc
XJXPORT=		${PORTSDIR}/x11-toolkits/jx
XJXPORT_WRKSRC=	${JXPORT}/work/JX-1.5.3
XJX_MAKE_CONSTANTS=	jsearch_constants jtoolbar_constants jtree_constants
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} >= 300000
XALL_TARGET=	freebsd3.x
X.else
XALL_TARGET=	freebsd2.x
X.endif
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=	PORTDOCS:="@comment "
X.else
XPLIST_SUB+=	PORTDOCS:=
X.endif # !defined(NOPORTDOCS)
X
Xpost-extract:
X.for i in ${COPY_JXDIRS}
X	@${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC}
X.endfor
X.for i in ${COPY_JXFILES}
X	@${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC}
X.endfor
X
Xpost-patch:
X	@${ECHO} "SEARCHDIRS += ${PORTINCLUDES}" >> \
X		${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/jx_constants
X
Xpre-build:
X.for i in ${JX_MAKE_CONSTANTS}
X	@${LN} -sf ${EXTRALIB_PREFIX}/make/${i} ${WRKSRC}/include/make
X.endfor
X
Xpost-build:
X	@cd ${WRKSRC}/programs/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \
X		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
X			${MAKEFILE} ${MAKE_ARGS}
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X# Install all documentation
X	@${INSTALL_DATA_DIR} ${DOCDIR_PREFIX}
X.for i in ${DOCFILES}
X	@${INSTALL_DATA} ${WRKSRC}/programs/${PORTNAME}/${i} ${DOCDIR_PREFIX}
X.endfor
X.endif # !defined(NOPORTDOCS)
X# Install all programs
X.for i in ${PROGRAMFILES}
X	@${INSTALL_PROGRAM} ${WRKSRC}/programs/${i} ${PREFIX}/bin
X.endfor
X
X.include <bsd.port.post.mk>
END-of-arrow/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000615043915.21372.qmail>