aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xclasses
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-10-04 12:52:56 +0800
committertrevor <trevor@FreeBSD.org>2000-10-04 12:52:56 +0800
commit65d912247daae4898a11a2ea4df1c33f5e92e346 (patch)
treec1c3a74a9dcbbd9609151c584f1baa841e13b595 /x11-toolkits/xclasses
parent035ab241ed3ceb24a3680b7b11f09f9a0a2ec043 (diff)
downloadfreebsd-ports-gnome-65d912247daae4898a11a2ea4df1c33f5e92e346.tar.gz
freebsd-ports-gnome-65d912247daae4898a11a2ea4df1c33f5e92e346.tar.zst
freebsd-ports-gnome-65d912247daae4898a11a2ea4df1c33f5e92e346.zip
Add mail/xc-mail, an RFC 2015-aware e-mail client.
Add x11-toolkits/xclasses, required by XCmail. PR: 21665, 21666 Approved by: will
Diffstat (limited to 'x11-toolkits/xclasses')
-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
8 files changed, 217 insertions, 0 deletions
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