From 624094fed7ca7cfa32dcf96ffa103d8e8d356a36 Mon Sep 17 00:00:00 2001 From: Automaton Date: Mon, 17 Dec 2012 21:15:23 +0100 Subject: [PATCH] Import deskutils/xpostitPlus version 2.3_3 --- deskutils/xpostitPlus/Makefile | 22 ++++++++++++++++++++++ deskutils/xpostitPlus/distinfo | 2 ++ deskutils/xpostitPlus/files/patch-aa | 19 +++++++++++++++++++ deskutils/xpostitPlus/files/patch-notes.c | 20 ++++++++++++++++++++ deskutils/xpostitPlus/pkg-descr | 2 ++ deskutils/xpostitPlus/pkg-plist | 2 ++ 6 files changed, 67 insertions(+) create mode 100644 deskutils/xpostitPlus/Makefile create mode 100644 deskutils/xpostitPlus/distinfo create mode 100644 deskutils/xpostitPlus/files/patch-aa create mode 100644 deskutils/xpostitPlus/files/patch-notes.c create mode 100644 deskutils/xpostitPlus/pkg-descr create mode 100644 deskutils/xpostitPlus/pkg-plist diff --git a/deskutils/xpostitPlus/Makefile b/deskutils/xpostitPlus/Makefile new file mode 100644 index 00000000000..fc61f175ec3 --- /dev/null +++ b/deskutils/xpostitPlus/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: xpostit+ +# Date created: 26 Sep 1997 +# Whom: mi +# +# $FreeBSD: ports/deskutils/xpostitPlus/Makefile,v 1.16 2012/11/17 05:55:31 svnexp Exp $ +# + +PORTNAME= XPostitPlus +PORTVERSION= 2.3 +PORTREVISION= 3 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= office + +MAINTAINER= ports2@dclg.ca +COMMENT= PostIt (R) messages onto your X11 screen + +USE_IMAKE= yes +USE_XORG= ice sm x11 xaw xext xmu xpm xt +MAN1= xpostit+.1 + +.include diff --git a/deskutils/xpostitPlus/distinfo b/deskutils/xpostitPlus/distinfo new file mode 100644 index 00000000000..0d26a4e1e00 --- /dev/null +++ b/deskutils/xpostitPlus/distinfo @@ -0,0 +1,2 @@ +SHA256 (XPostitPlus-2.3.tar.gz) = bacaa1d4b9f664f4f01033b9ea122cc93ca46d0b3eabcb8ca6add6958c220100 +SIZE (XPostitPlus-2.3.tar.gz) = 78950 diff --git a/deskutils/xpostitPlus/files/patch-aa b/deskutils/xpostitPlus/files/patch-aa new file mode 100644 index 00000000000..93b6ca1949e --- /dev/null +++ b/deskutils/xpostitPlus/files/patch-aa @@ -0,0 +1,19 @@ +--- Imakefile.orig Fri Sep 26 12:06:02 1997 ++++ Imakefile Fri Sep 26 12:30:24 1997 +@@ -25,4 +25,4 @@ + +-BINDIR=bin-d +-MANDIR=man-d ++XCOMM BINDIR=bin-d ++XCOMM MANDIR=man-d + +@@ -37,3 +37,3 @@ + XCOMM for debugging purposes +-DEFINES = -g -Wall ++DEFINES = -Wall + +@@ -44,3 +44,3 @@ + XCOMM notes if you haven't specified to save-on-exit on the command line. +-XCOMM DEFINES = -DPROMPT_FOR_SAVE ++DEFINES = -DPROMPT_FOR_SAVE + diff --git a/deskutils/xpostitPlus/files/patch-notes.c b/deskutils/xpostitPlus/files/patch-notes.c new file mode 100644 index 00000000000..63fd0e7d4c2 --- /dev/null +++ b/deskutils/xpostitPlus/files/patch-notes.c @@ -0,0 +1,20 @@ +*** note.c.orig Wed Dec 20 17:15:34 2000 +--- note.c Wed Dec 20 17:20:15 2000 +*************** +*** 359,364 **** +--- 359,373 ---- + } + } + ++ /* ++ * The problem is that texth == 0 or textw == 0 causes an ungraceful exit. ++ * In this case, we set them all to a standard size. ++ */ ++ if(texth == 0 || textw == 0) ++ { ++ texth = 169; ++ textw = 227; ++ } + + /* + * Get the index number of this note. diff --git a/deskutils/xpostitPlus/pkg-descr b/deskutils/xpostitPlus/pkg-descr new file mode 100644 index 00000000000..82c6ff30cb5 --- /dev/null +++ b/deskutils/xpostitPlus/pkg-descr @@ -0,0 +1,2 @@ +This is another branch of xpostit development tree. Allows to fill +your screen with virtual PostIt (R) notes. They are saved into files. diff --git a/deskutils/xpostitPlus/pkg-plist b/deskutils/xpostitPlus/pkg-plist new file mode 100644 index 00000000000..93657ef4b0f --- /dev/null +++ b/deskutils/xpostitPlus/pkg-plist @@ -0,0 +1,2 @@ +bin/xpostit+ +lib/X11/app-defaults/XPostitPlus -- 2.41.0