summaryrefslogtreecommitdiff
path: root/x11/xpostit
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xpostit')
-rw-r--r--x11/xpostit/Makefile18
-rw-r--r--x11/xpostit/files/md53
-rw-r--r--x11/xpostit/files/patch-sum4
-rw-r--r--x11/xpostit/patches/patch-aa42
-rw-r--r--x11/xpostit/patches/patch-ab12
-rw-r--r--x11/xpostit/pkg/DESCR21
-rw-r--r--x11/xpostit/pkg/PLIST5
7 files changed, 105 insertions, 0 deletions
diff --git a/x11/xpostit/Makefile b/x11/xpostit/Makefile
new file mode 100644
index 00000000000..af99ba29818
--- /dev/null
+++ b/x11/xpostit/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+#
+
+DISTNAME= xpostit3.3.1
+PKGNAME= xpostit-3.3.1
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
+ ftp://ftp.freesoftware.com/pub/X11/R5contrib/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= packages@netbsd.org
+COMMENT= Post notes to yourself on the screen
+#HOMEPAGE=
+
+WRKSRC= ${WRKDIR}/xpostit
+USE_IMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xpostit/files/md5 b/x11/xpostit/files/md5
new file mode 100644
index 00000000000..b33f7a8f998
--- /dev/null
+++ b/x11/xpostit/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+
+SHA1 (xpostit3.3.1.tar.Z) = 8ba13bb544d9c99308e36fff2590623ad9a16fef
diff --git a/x11/xpostit/files/patch-sum b/x11/xpostit/files/patch-sum
new file mode 100644
index 00000000000..14a59f92ba3
--- /dev/null
+++ b/x11/xpostit/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+
+SHA1 (patch-aa) = f958b6cfdf3d6ac269d0a73efb4c483fcba1a273
+SHA1 (patch-ab) = 6a61ec1ed69e0311a98bea7bca30f09a74e386a3
diff --git a/x11/xpostit/patches/patch-aa b/x11/xpostit/patches/patch-aa
new file mode 100644
index 00000000000..d90d55a4791
--- /dev/null
+++ b/x11/xpostit/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+
+--- plaid.c.orig Thu Dec 10 09:40:26 1992
++++ plaid.c
+@@ -60,6 +60,7 @@
+ {
+ Arg args[4];
+ register int nargs;
++ Dimension width, height;
+
+ /*
+ * Create the plaid widget.
+@@ -78,20 +79,22 @@
+ * Get the width and height of the widget.
+ */
+ nargs = 0;
+- SetArg(XtNwidth, NULL);
+- SetArg(XtNheight, NULL);
++ SetArg(XtNwidth, &width);
++ SetArg(XtNheight, &height);
+ XtGetValues(plaidwidget, args, nargs);
+
+ /*
+ * If the user didn't set them, then we
+ * should set them to the defaults.
+ */
+- if ((args[0].value == 0) || (args[1].value == 0)) {
+- if (args[0].value == 0)
+- XtSetArg(args[0], XtNwidth, DefaultPlaidWidth);
++ if (width == 0 || height == 0) {
++ nargs = 0;
+
+- if (args[1].value == 0)
+- XtSetArg(args[1], XtNheight, DefaultPlaidHeight);
++ if (width == 0)
++ SetArg(XtNwidth, DefaultPlaidWidth);
++
++ if (height == 0)
++ SetArg(XtNheight, DefaultPlaidHeight);
+
+ XtSetValues(plaidwidget, args, nargs);
+ }
diff --git a/x11/xpostit/patches/patch-ab b/x11/xpostit/patches/patch-ab
new file mode 100644
index 00000000000..3a7757a15bb
--- /dev/null
+++ b/x11/xpostit/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+
+--- xpostit.c.orig Thu Dec 10 09:40:27 1992
++++ xpostit.c
+@@ -121,7 +121,6 @@
+ {
+ Arg args[4];
+ char *appname;
+- char *rindex();
+ Atom protos[2];
+ register int nargs;
+ Boolean setsigs = False;
diff --git a/x11/xpostit/pkg/DESCR b/x11/xpostit/pkg/DESCR
new file mode 100644
index 00000000000..48ec8dff2c3
--- /dev/null
+++ b/x11/xpostit/pkg/DESCR
@@ -0,0 +1,21 @@
+Copyright 1991 by David A. Curry
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that copyright
+notice and this permission notice appear in supporting documentation. The
+author makes no representations about the suitability of this software for
+any purpose. It is provided "as is" without express or implied warranty.
+
+------------------------------------------------------------------------
+
+This is XPostIt Version 3.3.1 for X11 Releases 4 and 5. XPostIt allows
+you to create small notes to yourself in windows on the screen, and save
+them in disk files. This is generally neater than having numerous real
+Post-it notes stuck all around the edges of your monitor.
+
+Dave Curry
+Purdue University
+Engineering Computer Network
+West Lafayette, IN 47907
+davy@ecn.purdue.edu
diff --git a/x11/xpostit/pkg/PLIST b/x11/xpostit/pkg/PLIST
new file mode 100644
index 00000000000..affd8c6b25b
--- /dev/null
+++ b/x11/xpostit/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/03 08:16:14 agc Exp $
+bin/xpostit
+man/cat1/xpostit.0
+lib/X11/app-defaults/XPostit
+lib/X11/app-defaults/XPostit-color