aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile1
-rw-r--r--mail/xc-mail/Makefile31
-rw-r--r--mail/xc-mail/distinfo1
-rw-r--r--mail/xc-mail/files/patch-aa11
-rw-r--r--mail/xc-mail/files/patch-ab12
-rw-r--r--mail/xc-mail/files/patch-ac12
-rw-r--r--mail/xc-mail/files/patch-ad11
-rw-r--r--mail/xc-mail/files/patch-ae21
-rw-r--r--mail/xc-mail/pkg-comment1
-rw-r--r--mail/xc-mail/pkg-descr12
-rw-r--r--mail/xc-mail/pkg-plist18
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/xclasses/Makefile31
-rw-r--r--x11-toolkits/xclasses/distinfo1
-rw-r--r--x11-toolkits/xclasses/files/patch-aa20
-rw-r--r--x11-toolkits/xclasses/files/patch-ab11
-rw-r--r--x11-toolkits/xclasses/files/patch-ac53
-rw-r--r--x11-toolkits/xclasses/pkg-comment1
-rw-r--r--x11-toolkits/xclasses/pkg-descr14
-rw-r--r--x11-toolkits/xclasses/pkg-plist86
20 files changed, 349 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 74391478a5db..5e45cd620127 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -139,6 +139,7 @@
SUBDIR += wmmail
SUBDIR += wmpop3
SUBDIR += xbuffy
+ SUBDIR += xc-mail
SUBDIR += xfaces
SUBDIR += xfmail
SUBDIR += xlbiff
diff --git a/mail/xc-mail/Makefile b/mail/xc-mail/Makefile
new file mode 100644
index 000000000000..f7b53b140760
--- /dev/null
+++ b/mail/xc-mail/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xc-mail
+# Date created: 2000-10-01
+# Whom: Trevor Johnson <trevor@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xc-mail
+PORTVERSION= 20001001 # from CVS
+CATEGORIES= mail
+MASTER_SITES= http://people.freebsd.org/~trevor/
+
+MAINTAINER= trevor@FreeBSD.org
+
+LIB_DEPENDS= Xclasses.1:${PORTSDIR}/x11-toolkits/xclasses
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+
+CONFIGURE_ARGS= \
+ --includedir=${X11BASE}/include/ \
+ --libdir=${X11BASE}/lib/ \
+ --x-includes=${X11BASE}/include/ \
+ --x-libraries=${X11BASE}/lib/
+
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib" \
+ LIBS="-L${X11BASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/mail/xc-mail/distinfo b/mail/xc-mail/distinfo
new file mode 100644
index 000000000000..8786a3da4e64
--- /dev/null
+++ b/mail/xc-mail/distinfo
@@ -0,0 +1 @@
+MD5 (xc-mail-20001001.tar.gz) = e004f7af1667aeb005a79ccaed1f0b3e
diff --git a/mail/xc-mail/files/patch-aa b/mail/xc-mail/files/patch-aa
new file mode 100644
index 000000000000..5eee1f95b680
--- /dev/null
+++ b/mail/xc-mail/files/patch-aa
@@ -0,0 +1,11 @@
+--- plugins/linkshared.in.orig Tue Sep 15 16:18:07 1998
++++ plugins/linkshared.in Sun Oct 1 05:02:54 2000
+@@ -26,7 +26,7 @@
+
+ case @host@ in
+
+- *-linux-*|*-irix6*|*-freebsd3*|*solaris2*)
++ *-linux-*|*-irix6*|*-freebsd3*|*-freebsd4*|*-freebsd5*|*solaris2*)
+ echo @CXX@ -o $dest -shared -Wl,-soname,"$dest" $*
+ @CXX@ -o $dest -shared -Wl,-soname,"$dest" $* || die
+ ;;
diff --git a/mail/xc-mail/files/patch-ab b/mail/xc-mail/files/patch-ab
new file mode 100644
index 000000000000..ea43351ff9ee
--- /dev/null
+++ b/mail/xc-mail/files/patch-ab
@@ -0,0 +1,12 @@
+--- src/mail_class.cxx.orig Mon Jun 5 12:11:04 2000
++++ src/mail_class.cxx Sun Oct 1 05:07:19 2000
+@@ -12,8 +12,8 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <errno.h>
+-#include <utime.h>
+ #include <sys/types.h>
++#include <utime.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <ctype.h>
diff --git a/mail/xc-mail/files/patch-ac b/mail/xc-mail/files/patch-ac
new file mode 100644
index 000000000000..b2aa48d58a99
--- /dev/null
+++ b/mail/xc-mail/files/patch-ac
@@ -0,0 +1,12 @@
+--- src/npop3get.cxx.orig Fri Jun 23 10:42:27 2000
++++ src/npop3get.cxx Sun Oct 1 05:08:18 2000
+@@ -12,8 +12,8 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <errno.h>
+-#include <utime.h>
+ #include <sys/types.h>
++#include <utime.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <ctype.h>
diff --git a/mail/xc-mail/files/patch-ad b/mail/xc-mail/files/patch-ad
new file mode 100644
index 000000000000..e770067308cb
--- /dev/null
+++ b/mail/xc-mail/files/patch-ad
@@ -0,0 +1,11 @@
+--- src/sendmail.cxx.orig Sat Sep 9 14:45:54 2000
++++ src/sendmail.cxx Mon Oct 2 00:07:59 2000
+@@ -101,7 +101,7 @@
+ ::send(sockfd,b,len,0);
+ // alarm(0);
+ }
+- fcntl(sockfd,F_SETFL,O_SYNC);
++ fcntl(sockfd,F_SETFL,O_FSYNC);
+ return r;
+ }
+ int sendmail::RCPT(void)
diff --git a/mail/xc-mail/files/patch-ae b/mail/xc-mail/files/patch-ae
new file mode 100644
index 000000000000..f6c5efb16c42
--- /dev/null
+++ b/mail/xc-mail/files/patch-ae
@@ -0,0 +1,21 @@
+This patch is from the XCmail FAQ.
+
+--- src/reader.cxx.orig Sat Jun 10 22:44:38 2000
++++ src/reader.cxx Mon Oct 2 00:15:12 2000
+@@ -2041,16 +2041,6 @@
+ {
+ mn.Recreate();
+ }
+- else
+- {
+- static message msg;
+- msg.Add(mn,new msgget_int(&mn,
+- (int (callable::*)(void))&menu::Selection),
+- NULL,NULL,NULL);
+- msg.Add(status,NULL,NULL,new msgset_int(&status,
+- (void (callable::*)(int))&bannertext::MenuHelpText),
+- NULL);
+- }
+
+ if (spooled>0)
+ mn.UnlockItem(5,2);
diff --git a/mail/xc-mail/pkg-comment b/mail/xc-mail/pkg-comment
new file mode 100644
index 000000000000..82ad5209907b
--- /dev/null
+++ b/mail/xc-mail/pkg-comment
@@ -0,0 +1 @@
+Mail client for X which supports POP and PGP
diff --git a/mail/xc-mail/pkg-descr b/mail/xc-mail/pkg-descr
new file mode 100644
index 000000000000..e4d33ee0cfb5
--- /dev/null
+++ b/mail/xc-mail/pkg-descr
@@ -0,0 +1,12 @@
+XCmail is a MIME- and POP3-capable e-mail client for X11. It has
+plugins to display various kinds of MIME attachments. There is an
+address book. XCmail can work with a local mailbox--or several--and
+POP3. With POP3, it can use the UIDL function and cache the UIDL
+history so mail which is left on the POP server but deleted on the
+client is only downloaded once. XCmail has RFC 2015-compliant
+support for encrypted mail in multipart MIME format.
+
+WWW: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
+
+Trevor Johnson
+trevor@freebsd.org
diff --git a/mail/xc-mail/pkg-plist b/mail/xc-mail/pkg-plist
new file mode 100644
index 000000000000..9add1aeff35a
--- /dev/null
+++ b/mail/xc-mail/pkg-plist
@@ -0,0 +1,18 @@
+XCmail/converters/elm2xcmail
+XCmail/converters/ns2xcmail
+XCmail/plugins/babelfish_pl.o
+XCmail/plugins/binhex_encoding_pl.o
+XCmail/plugins/check_new_release_pl.o
+XCmail/plugins/dictionary_pl.o
+XCmail/plugins/js_code_pl.o
+XCmail/plugins/mhstyle_pl.o
+XCmail/plugins/rot13_encoding_pl.o
+XCmail/plugins/search_pl.o
+XCmail/plugins/simple_filter_pl.o
+XCmail/plugins/spam_bouncer_pl.o
+XCmail/plugins/test_pl.o
+XCmail/plugins/trashmgr_pl.o
+bin/xc-mail
+@dirrm XCmail/plugins
+@dirrm XCmail/converters
+@dirrm XCmail
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index b698b5ca092c..f263aeb2d6c0 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -83,6 +83,7 @@
SUBDIR += vdkbuilder
SUBDIR += wxgtk
SUBDIR += xbae
+ SUBDIR += xclasses
SUBDIR += xenophilia
SUBDIR += xforms
SUBDIR += xg
diff --git a/x11-toolkits/xclasses/Makefile b/x11-toolkits/xclasses/Makefile
new file mode 100644
index 000000000000..61d9c6e33d87
--- /dev/null
+++ b/x11-toolkits/xclasses/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xclasses
+# Date created: 2000-10-01
+# Whom: Trevor Johnson <trevor@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xclasses
+PORTVERSION= 1.1.0
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://fsai.fh-trier.de/~schmitzj/Xclasses/arc/
+DISTNAME= Xclasses-public-${PORTVERSION}.src
+
+MAINTAINER= trevor@FreeBSD.org
+
+USE_X_PREFIX= yes
+PLIST_SUB= VERSION="${PORTVERSION}"
+WRKSRC= ${WRKDIR}/xclasses
+
+post-patch:
+ @${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/build \
+ ${WRKSRC}/System/ARules.FreeBSD
+
+do-build:
+ @cd ${WRKSRC} && ${SH} build all
+
+do-install:
+ @cd ${WRKSRC} && ${SH} build install
+ @${INSTALL_SCRIPT} ${WRKSRC}/setenvxc ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/xclasses/distinfo b/x11-toolkits/xclasses/distinfo
new file mode 100644
index 000000000000..f9c7415dcf2b
--- /dev/null
+++ b/x11-toolkits/xclasses/distinfo
@@ -0,0 +1 @@
+MD5 (Xclasses-public-1.1.0.src.tar.gz) = 8e40da5f84c724f668f672be8570fefb
diff --git a/x11-toolkits/xclasses/files/patch-aa b/x11-toolkits/xclasses/files/patch-aa
new file mode 100644
index 000000000000..6ef990b40f09
--- /dev/null
+++ b/x11-toolkits/xclasses/files/patch-aa
@@ -0,0 +1,20 @@
+--- System/ARules.FreeBSD.orig Thu Sep 10 19:12:51 1998
++++ System/ARules.FreeBSD Sun Oct 1 02:15:35 2000
+@@ -34,7 +34,7 @@
+ CPU=$(CPU$(CPUm))
+
+ ## additional include paths
+-INCLUDES=-I$(TOPDIR)/include -I/usr/openwin/include -I/usr/local/include -I$(INCLUDESDIR)
++INCLUDES=-I$(TOPDIR)/include -I/usr/openwin/include -IX11BASE/include -I$(INCLUDESDIR)
+
+ ## Flags for compiler AND linker
+ BOTH=
+@@ -48,7 +48,7 @@
+ CC_OPTIONS=$(CPU) $(WARNS) $(INCLUDES) $(DEFINES)
+
+ ## linker flags
+-LD_OPTIONS=-L/usr/X11/lib -L/usr/lib -L$(LIBSDIR)
++LD_OPTIONS=-LX11BASE/lib -L/usr/lib -L$(LIBSDIR)
+
+ ## linker libraries
+ SHLIBS=-lX11 -lm
diff --git a/x11-toolkits/xclasses/files/patch-ab b/x11-toolkits/xclasses/files/patch-ab
new file mode 100644
index 000000000000..23b5d61dfb2f
--- /dev/null
+++ b/x11-toolkits/xclasses/files/patch-ab
@@ -0,0 +1,11 @@
+--- code/code.rule.orig Thu Jul 16 19:29:27 1998
++++ code/code.rule Sun Oct 1 02:46:19 2000
+@@ -13,7 +13,7 @@
+
+ compile: .depend $(ALL)
+ @rm -f ../$(DIRNAME).arc
+- @(for N in $(ALL); do echo >>../$(DIRNAME).arc "$(DIRNAME)/`basename $$N .o`.lo"; done)
++ @(for N in $(ALL); do echo >>../$(DIRNAME).arc "$(DIRNAME)/`basename $$N .o`.o"; done)
+
+ install:
+ $(MAKE) -C ../ install
diff --git a/x11-toolkits/xclasses/files/patch-ac b/x11-toolkits/xclasses/files/patch-ac
new file mode 100644
index 000000000000..0858a3beac03
--- /dev/null
+++ b/x11-toolkits/xclasses/files/patch-ac
@@ -0,0 +1,53 @@
+--- build.orig Thu Jun 8 00:13:13 2000
++++ build Sun Oct 1 03:15:10 2000
+@@ -57,29 +57,25 @@
+ rm -f Rules
+ rm -f Rules.make
+
+- INCLUDESDIR=${XCLASSESINCLUDE:-"/usr/local/include"}
+- LIBSDIR=${XCLASSESLIB:-"/usr/local/lib"}
+- CONFIGSDIR=${XCLASSESCONFIG:-"/usr/lib/X11/Xclasses"}
++ INCLUDESDIR=X11BASE/include/
++ LIBSDIR=X11BASE/lib/
++ CONFIGSDIR=X11BASE/share/Xclasses/
+ ROOTID=0
+
+ if [ "$2" != "quit" ]; then
+ echo -n "includes dir [$INCLUDESDIR] :"
+- read R
+ if [ -n "$R" ]; then
+ INCLUDESDIR="$R"
+ fi
+ echo -n "libs dir [$LIBSDIR] :"
+- read R
+ if [ -n "$R" ]; then
+ LIBSDIR="$R"
+ fi
+ echo -n "configs dir [$CONFIGSDIR] :"
+- read R
+ if [ -n "$R" ]; then
+ CONFIGSDIR="$R"
+ fi
+ echo -n "root id (Xclasses owner) [$ROOTID] :"
+- read R
+ if [ -n "$R" ]; then
+ ROOTID="$R"
+ fi
+@@ -100,7 +96,7 @@
+
+ # look for installed XPM lib
+ MAKEXPM="y"
+- for N in /usr/include/X11 /usr/local/include/X11
++ for N in X11BASE/include/X11/
+ do
+ if [ -f "$N/xpm.h" ]; then
+ MAKEXPM="n"
+@@ -112,7 +108,7 @@
+ fi
+
+ # look for shapes
+- if [ -f "/usr/include/X11/extensions/shape.h" ]; then
++ if [ -f "X11BASE/include/X11/extensions/shape.h" ]; then
+ USESHAPE="y"
+ else
+ USESHAPE="n"
diff --git a/x11-toolkits/xclasses/pkg-comment b/x11-toolkits/xclasses/pkg-comment
new file mode 100644
index 000000000000..521fcd632f62
--- /dev/null
+++ b/x11-toolkits/xclasses/pkg-comment
@@ -0,0 +1 @@
+C++ layout library for X
diff --git a/x11-toolkits/xclasses/pkg-descr b/x11-toolkits/xclasses/pkg-descr
new file mode 100644
index 000000000000..b7c7e6f7aa20
--- /dev/null
+++ b/x11-toolkits/xclasses/pkg-descr
@@ -0,0 +1,14 @@
+from the README:
+
+Xclasses is a C++ layout library for the X Window System. The
+sizes of all objects (gadgets) change with the size of the font
+and the size of the window.
+
+All gadgets have the same base class (class gadget) so they are
+all used the same way. Gadgets are put together in groups which
+manage the sizes of the gadgets (or groups) inside.
+
+WWW: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/
+
+Trevor Johnson
+trevor@freebsd.org
diff --git a/x11-toolkits/xclasses/pkg-plist b/x11-toolkits/xclasses/pkg-plist
new file mode 100644
index 000000000000..dcd89d7b8a88
--- /dev/null
+++ b/x11-toolkits/xclasses/pkg-plist
@@ -0,0 +1,86 @@
+bin/setenvxc
+include/Xclasses/Ddraw.h
+include/Xclasses/XCprogram.h
+include/Xclasses/Xclasses.h
+include/Xclasses/Xclasses_class.h
+include/Xclasses/Xcolors.h
+include/Xclasses/Xdisplay.h
+include/Xclasses/Xshadow.h
+include/Xclasses/Xwindows.h
+include/Xclasses/anim.h
+include/Xclasses/appwindow.h
+include/Xclasses/autotextbox.h
+include/Xclasses/bordergroup.h
+include/Xclasses/button.h
+include/Xclasses/callable.h
+include/Xclasses/card.h
+include/Xclasses/checkbox.h
+include/Xclasses/choice.h
+include/Xclasses/colornamegroup.h
+include/Xclasses/config.h
+include/Xclasses/creater.h
+include/Xclasses/dirview.h
+include/Xclasses/dlist.h
+include/Xclasses/easy_dialog.h
+include/Xclasses/fbutton.h
+include/Xclasses/file_dialog.h
+include/Xclasses/fileinput.h
+include/Xclasses/fontgroup.h
+include/Xclasses/gadget.h
+include/Xclasses/gfx_arrow.h
+include/Xclasses/gfx_autotext.h
+include/Xclasses/gfx_checkbox.h
+include/Xclasses/gfx_command.h
+include/Xclasses/gfx_dir.h
+include/Xclasses/gfx_file.h
+include/Xclasses/gfx_knob.h
+include/Xclasses/gfx_locked.h
+include/Xclasses/gfx_object.h
+include/Xclasses/gfx_text.h
+include/Xclasses/gfx_xpm.h
+include/Xclasses/go_button.h
+include/Xclasses/go_selbutton.h
+include/Xclasses/gpopup.h
+include/Xclasses/graphic.h
+include/Xclasses/group.h
+include/Xclasses/html_gadget.h
+include/Xclasses/htmltextbox.h
+include/Xclasses/image.h
+include/Xclasses/indicator.h
+include/Xclasses/input.h
+include/Xclasses/keyclass.h
+include/Xclasses/lefttext.h
+include/Xclasses/listgroup.h
+include/Xclasses/listview.h
+include/Xclasses/menu.h
+include/Xclasses/message.h
+include/Xclasses/message_tools.h
+include/Xclasses/multilistview.h
+include/Xclasses/mxbutton.h
+include/Xclasses/mxgadget.h
+include/Xclasses/mxknob.h
+include/Xclasses/output.h
+include/Xclasses/popbutton.h
+include/Xclasses/popup.h
+include/Xclasses/rubbergroup.h
+include/Xclasses/ruler.h
+include/Xclasses/scroller.h
+include/Xclasses/selbutton.h
+include/Xclasses/selgadget.h
+include/Xclasses/selknob.h
+include/Xclasses/slider.h
+include/Xclasses/spacegroup.h
+include/Xclasses/text.h
+include/Xclasses/textbox.h
+include/Xclasses/tools.h
+include/Xclasses/treeview.h
+include/Xclasses/types.h
+include/Xclasses/visible.h
+include/Xclasses/xclock.h
+lib/libXclasses.a
+lib/libXclasses.so
+lib/libXclasses.so.1
+lib/libXclasses.so.%%VERSION%%
+share/Xclasses/Xclasses
+@dirrm share/Xclasses
+@dirrm include/Xclasses