aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-04-30 16:33:55 +0800
committertaoka <taoka@FreeBSD.org>1999-04-30 16:33:55 +0800
commitdaafaea11ab61f0e0ce332fa90d0152ef1d89fcb (patch)
treeabd614ed2a515cd8b55defaf5febf377d9406209
parente50bb72b549d2eb78b1a0176af4cbb208cfb6812 (diff)
downloadfreebsd-ports-gnome-daafaea11ab61f0e0ce332fa90d0152ef1d89fcb.tar.gz
freebsd-ports-gnome-daafaea11ab61f0e0ce332fa90d0152ef1d89fcb.tar.zst
freebsd-ports-gnome-daafaea11ab61f0e0ce332fa90d0152ef1d89fcb.zip
a simple GTK based text/HTML editor
PR: 10489 Submitted by: Brett Taylor <brett@peloton.physics.montana.edu>
-rw-r--r--editors/gnotepad+/Makefile23
-rw-r--r--editors/gnotepad+/distinfo1
-rw-r--r--editors/gnotepad+/files/patch-aa19
-rw-r--r--editors/gnotepad+/files/patch-ab18
-rw-r--r--editors/gnotepad+/pkg-comment1
-rw-r--r--editors/gnotepad+/pkg-descr4
-rw-r--r--editors/gnotepad+/pkg-plist53
7 files changed, 119 insertions, 0 deletions
diff --git a/editors/gnotepad+/Makefile b/editors/gnotepad+/Makefile
new file mode 100644
index 000000000000..cb8f9c162d2d
--- /dev/null
+++ b/editors/gnotepad+/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: gnotepad+
+# Version required: 1.1.1
+# Date created: 08-March-1999
+# Whom: brett@peloton.physics.montana.edu
+#
+# $Id$
+#
+
+DISTNAME= gnotepad+-1.1.1
+CATEGORIES= editors www
+MASTER_SITES= http://members.xoom.com/ackahn/gnp/
+
+MAINTAINER= brett@peloton.physics.montana.edu
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
+ gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+
+MAN1= gnp.1
+
+.include <bsd.port.mk>
diff --git a/editors/gnotepad+/distinfo b/editors/gnotepad+/distinfo
new file mode 100644
index 000000000000..e772ed40b528
--- /dev/null
+++ b/editors/gnotepad+/distinfo
@@ -0,0 +1 @@
+MD5 (gnotepad+-1.1.1.tar.gz) = 75e5cc4082b8e5345109e6b4756a250a
diff --git a/editors/gnotepad+/files/patch-aa b/editors/gnotepad+/files/patch-aa
new file mode 100644
index 000000000000..1cc68c0cedad
--- /dev/null
+++ b/editors/gnotepad+/files/patch-aa
@@ -0,0 +1,19 @@
+*** src/prefs.c Mon Mar 8 12:48:35 1999
+--- src/prefs.c Mon Mar 8 12:48:56 1999
+***************
+*** 22,28 ****
+ #include <string.h>
+ #include <math.h>
+ #include <errno.h>
+! #include <values.h>
+ #include <fcntl.h>
+ #include <ctype.h>
+ #include <sys/stat.h>
+--- 22,28 ----
+ #include <string.h>
+ #include <math.h>
+ #include <errno.h>
+! #include <limits.h>
+ #include <fcntl.h>
+ #include <ctype.h>
+ #include <sys/stat.h>
diff --git a/editors/gnotepad+/files/patch-ab b/editors/gnotepad+/files/patch-ab
new file mode 100644
index 000000000000..bd274f13b714
--- /dev/null
+++ b/editors/gnotepad+/files/patch-ab
@@ -0,0 +1,18 @@
+--- src/file.c.~1~ Sat Mar 6 01:38:53 1999
++++ src/file.c Fri Apr 30 17:23:33 1999
+@@ -24,7 +24,6 @@
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+-#include <utime.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+@@ -32,6 +31,7 @@
+ #include <sys/file.h>
+ #include <sys/types.h>
+ #include <sys/file.h>
++#include <utime.h>
+ #include "main.h"
+ #if defined(APP_GNP) && defined(USE_GTKXMHTML)
+ #include <glib.h>
diff --git a/editors/gnotepad+/pkg-comment b/editors/gnotepad+/pkg-comment
new file mode 100644
index 000000000000..043073d611d3
--- /dev/null
+++ b/editors/gnotepad+/pkg-comment
@@ -0,0 +1 @@
+gnotepad+ is a simple GTK based text/HTML editor.
diff --git a/editors/gnotepad+/pkg-descr b/editors/gnotepad+/pkg-descr
new file mode 100644
index 000000000000..e4b74e952543
--- /dev/null
+++ b/editors/gnotepad+/pkg-descr
@@ -0,0 +1,4 @@
+gnotepad+ is a simple GTK based text editor. It also has built-in simple
+HTML editing with previews directed to Netscape.
+
+-brett@peloton.physics.montana.edu
diff --git a/editors/gnotepad+/pkg-plist b/editors/gnotepad+/pkg-plist
new file mode 100644
index 000000000000..7a74b8f68bab
--- /dev/null
+++ b/editors/gnotepad+/pkg-plist
@@ -0,0 +1,53 @@
+bin/gnp
+share/gnotepad+/xpm/tb_big.xpm
+share/gnotepad+/xpm/tb_bold.xpm
+share/gnotepad+/xpm/tb_cancel.xpm
+share/gnotepad+/xpm/tb_centjust.xpm
+share/gnotepad+/xpm/tb_comment.xpm
+share/gnotepad+/xpm/tb_copy.xpm
+share/gnotepad+/xpm/tb_cut.xpm
+share/gnotepad+/xpm/tb_edit.xpm
+share/gnotepad+/xpm/tb_emphasis.xpm
+share/gnotepad+/xpm/tb_exit.xpm
+share/gnotepad+/xpm/tb_find.xpm
+share/gnotepad+/xpm/tb_find_next.xpm
+share/gnotepad+/xpm/tb_h1.xpm
+share/gnotepad+/xpm/tb_h2.xpm
+share/gnotepad+/xpm/tb_h3.xpm
+share/gnotepad+/xpm/tb_h4.xpm
+share/gnotepad+/xpm/tb_h5.xpm
+share/gnotepad+/xpm/tb_h6.xpm
+share/gnotepad+/xpm/tb_help.xpm
+share/gnotepad+/xpm/tb_image.xpm
+share/gnotepad+/xpm/tb_italic.xpm
+share/gnotepad+/xpm/tb_leftjust.xpm
+share/gnotepad+/xpm/tb_linebreak.xpm
+share/gnotepad+/xpm/tb_link.xpm
+share/gnotepad+/xpm/tb_listitem.xpm
+share/gnotepad+/xpm/tb_new.xpm
+share/gnotepad+/xpm/tb_open.xpm
+share/gnotepad+/xpm/tb_ordered.xpm
+share/gnotepad+/xpm/tb_paragraph.xpm
+share/gnotepad+/xpm/tb_paste.xpm
+share/gnotepad+/xpm/tb_prefs.xpm
+share/gnotepad+/xpm/tb_print.xpm
+share/gnotepad+/xpm/tb_redo.xpm
+share/gnotepad+/xpm/tb_replace.xpm
+share/gnotepad+/xpm/tb_rightjust.xpm
+share/gnotepad+/xpm/tb_save.xpm
+share/gnotepad+/xpm/tb_separator.xpm
+share/gnotepad+/xpm/tb_small.xpm
+share/gnotepad+/xpm/tb_strikeout.xpm
+share/gnotepad+/xpm/tb_strong.xpm
+share/gnotepad+/xpm/tb_subscript.xpm
+share/gnotepad+/xpm/tb_superscript.xpm
+share/gnotepad+/xpm/tb_target.xpm
+share/gnotepad+/xpm/tb_title.xpm
+share/gnotepad+/xpm/tb_typewriter.xpm
+share/gnotepad+/xpm/tb_underline.xpm
+share/gnotepad+/xpm/tb_undo.xpm
+share/gnotepad+/xpm/tb_unordered.xpm
+share/gnotepad+/xpm/tb_winclose.xpm
+share/gnotepad+/xpm/tb_winnew.xpm
+@dirrm share/gnotepad+/xpm
+@dirrm share/gnotepad+