[Midnightbsd-cvs] mports: mports/deskutils:
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Dec 3 00:06:51 EST 2007
Log Message:
-----------
Modified Files:
--------------
mports/deskutils:
Makefile (r1.15 -> r1.16)
Added Files:
-----------
mports/deskutils/xpostit:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/deskutils/xpostit/files:
patch-aa (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/deskutils/Makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -L deskutils/Makefile -L deskutils/Makefile -u -r1.15 -r1.16
--- deskutils/Makefile
+++ deskutils/Makefile
@@ -1,4 +1,4 @@
-# $FreeBSD: ports/deskutils/Makefile,v 1.237 2006/09/25 02:12:48 dinoex Exp $
+# $MidnightBSD$
#
COMMENT = Things that used to be on the desktop before computers were invented
@@ -25,5 +25,6 @@
SUBDIR += preferences.app
SUBDIR += toolbox
SUBDIR += toolboxkit
+ SUBDIR += xpostit
.include <bsd.port.subdir.mk>
--- /dev/null
+++ deskutils/xpostit/pkg-descr
@@ -0,0 +1,23 @@
+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 at ecn.purdue.edu
--- /dev/null
+++ deskutils/xpostit/pkg-plist
@@ -0,0 +1,3 @@
+bin/xpostit
+lib/X11/app-defaults/XPostit
+lib/X11/app-defaults/XPostit-color
--- /dev/null
+++ deskutils/xpostit/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: xpostit
+# Date created: 3 Dec 2007
+# Whom: laffer1
+#
+# $MidnightBSD: mports/deskutils/xpostit/Makefile,v 1.1 2007/12/03 05:06:49 laffer1 Exp $
+# $FreeBSD: ports/deskutils/xpostit/Makefile,v 1.15 2007/05/19 20:01:57 flz Exp $
+#
+
+PORTNAME= xpostit
+PORTVERSION= 3.3.1
+CATEGORIES= deskutils
+MASTER_SITES= ftp://ftp.x.org/R5contrib/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= PostIt (R) messages onto your X11 screen
+LICENSE= unknown
+
+USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/xpostit
+MAN1= xpostit.1
+
+.include <bsd.port.mk>
--- /dev/null
+++ deskutils/xpostit/distinfo
@@ -0,0 +1,3 @@
+MD5 (xpostit3.3.1.tar.Z) = 9fa0b297118054ea3242e0ae00cf2345
+SHA256 (xpostit3.3.1.tar.Z) = 819fcf8c7197ab6be356c2ec298e0711e0fb4bf4c36608e9763f43d8ef4edad4
+SIZE (xpostit3.3.1.tar.Z) = 53910
--- /dev/null
+++ deskutils/xpostit/files/patch-aa
@@ -0,0 +1,50 @@
+--- plaid.c.orig Thu Dec 10 17:40:26 1992
++++ plaid.c Mon May 6 13:23:17 1996
+@@ -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);
+ }
+--- ./xpostit.c.org Thu Dec 10 08:40:27 1992
++++ ./xpostit.c Thu Oct 31 21:31:14 1996
+@@ -121,7 +121,6 @@
+ {
+ Arg args[4];
+ char *appname;
+- char *rindex();
+ Atom protos[2];
+ register int nargs;
+ Boolean setsigs = False;
More information about the Midnightbsd-cvs
mailing list