From 33cc1908d22ed70e2a8ef01e7bd6ca1a4137867c Mon Sep 17 00:00:00 2001 From: cpiazza Date: Sat, 29 Jan 2000 06:56:35 +0000 Subject: Update to 3.12.0. This port now works on 4.0. PR: 16414 Submitted by: maintainer --- editors/cooledit/Makefile | 2 +- editors/cooledit/distinfo | 2 +- editors/cooledit/files/patch-ae | 6 +++--- editors/cooledit/files/patch-af | 8 ++++---- editors/cooledit/files/patch-ah | 14 +++++++------- editors/cooledit/files/patch-al | 11 +++++++++++ editors/cooledit/pkg-plist | 2 ++ 7 files changed, 29 insertions(+), 16 deletions(-) create mode 100644 editors/cooledit/files/patch-al (limited to 'editors') diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile index 6d63638..6419c38 100644 --- a/editors/cooledit/Makefile +++ b/editors/cooledit/Makefile @@ -6,7 +6,7 @@ # $FreeBSD$ # -DISTNAME= cooledit-3.11.3 +DISTNAME= cooledit-3.12.0 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SUNSITE} \ http://www.netins.net/showcase/Comput-IT/cooledit/src/ diff --git a/editors/cooledit/distinfo b/editors/cooledit/distinfo index 9439ffa..83ea3f0 100644 --- a/editors/cooledit/distinfo +++ b/editors/cooledit/distinfo @@ -1 +1 @@ -MD5 (cooledit-3.11.3.tar.gz) = ea0f8aa393d1a77c76c0d7f2ffd358b7 +MD5 (cooledit-3.12.0.tar.gz) = 6071b98029c366e7d42e08ccafc71949 diff --git a/editors/cooledit/files/patch-ae b/editors/cooledit/files/patch-ae index 0bcbab8..3091038 100644 --- a/editors/cooledit/files/patch-ae +++ b/editors/cooledit/files/patch-ae @@ -1,5 +1,5 @@ ---- syntax/Makefile.in.orig Mon Jun 7 15:12:47 1999 -+++ syntax/Makefile.in Mon Jun 7 15:15:31 1999 +--- syntax/Makefile.in.orig Tue Nov 30 02:34:36 1999 ++++ syntax/Makefile.in Wed Jan 26 18:35:05 2000 @@ -99,7 +99,7 @@ VERSION = @VERSION@ l = @l@ @@ -7,5 +7,5 @@ -syntaxdir = $(libdir)/cooledit/syntax +syntaxdir = $(datadir)/cooledit/syntax - syntax_DATA = c.syntax changelog.syntax diff.syntax diffc.syntax html.syntax java.syntax latex.syntax lsm.syntax makefile.syntax ml.syntax nroff.syntax pascal.syntax perl.syntax python.syntax sh.syntax smalltalk.syntax texinfo.syntax unknown.syntax swig.syntax + syntax_DATA = c.syntax changelog.syntax diff.syntax diffc.syntax html.syntax java.syntax latex.syntax lsm.syntax makefile.syntax ml.syntax nroff.syntax pascal.syntax perl.syntax python.syntax sh.syntax smalltalk.syntax texinfo.syntax unknown.syntax swig.syntax mail.syntax ada95.syntax diff --git a/editors/cooledit/files/patch-af b/editors/cooledit/files/patch-af index 856494e..8a15854 100644 --- a/editors/cooledit/files/patch-af +++ b/editors/cooledit/files/patch-af @@ -1,6 +1,6 @@ ---- widget/syntax.c.orig Fri Jun 11 16:24:41 1999 -+++ widget/syntax.c Sat Jun 12 08:30:33 1999 -@@ -729,7 +729,7 @@ +--- widget/syntax.c.orig Tue Nov 30 02:34:27 1999 ++++ widget/syntax.c Wed Jan 26 18:36:26 2000 +@@ -590,7 +590,7 @@ f = fopen (p, "r"); if (f) return f; @@ -8,4 +8,4 @@ + strcpy (p, DATADIR "/cooledit/syntax/"); strcat (p, filename); syntax_free (error_file_name); - error_file_name = strdup (p); + error_file_name = (char *) strdup (p); diff --git a/editors/cooledit/files/patch-ah b/editors/cooledit/files/patch-ah index ef786f4..14504b9 100644 --- a/editors/cooledit/files/patch-ah +++ b/editors/cooledit/files/patch-ah @@ -1,15 +1,15 @@ ---- editor/coolpython.c.orig Fri Jun 11 16:24:42 1999 -+++ editor/coolpython.c Sat Jun 12 08:30:33 1999 -@@ -1485,7 +1485,7 @@ +--- editor/coolpython.c.orig Thu Jan 27 22:59:34 2000 ++++ editor/coolpython.c Thu Jan 27 23:00:34 2000 +@@ -1487,7 +1487,7 @@ PyDict_SetItemString (d, "Mod3Mask", PyInt_FromLong ((long) Mod3Mask)); PyDict_SetItemString (d, "Mod4Mask", PyInt_FromLong ((long) Mod4Mask)); PyDict_SetItemString (d, "Mod5Mask", PyInt_FromLong ((long) Mod5Mask)); - PyDict_SetItemString (d, "LIBDIR", PyString_FromString (LIBDIR)); + PyDict_SetItemString (d, "DATADIR", PyString_FromString (DATADIR)); - } - void coolpython_run_file (char *filename) -@@ -1544,7 +1544,7 @@ + PyDict_SetItemString (d, "Mod5Mask", PyInt_FromLong ((long) Mod5Mask)); + +@@ -1569,7 +1569,7 @@ import sys\n\ sys.path.append('%s')\n\ sys.path.append('%s%s')\n\ @@ -18,7 +18,7 @@ e = PyRun_String (s, Py_file_input, name_space, name_space); if (!e) { PyErr_Print (); -@@ -1553,7 +1553,7 @@ +@@ -1578,7 +1578,7 @@ } Py_DECREF (e); coolpython_constants (name_space); diff --git a/editors/cooledit/files/patch-al b/editors/cooledit/files/patch-al new file mode 100644 index 0000000..73ee55c --- /dev/null +++ b/editors/cooledit/files/patch-al @@ -0,0 +1,11 @@ +--- editor/Makefile.in.orig Fri Jan 28 22:41:04 2000 ++++ editor/Makefile.in Fri Jan 28 22:41:32 2000 +@@ -116,7 +116,7 @@ + datadir = $(prefix)/@DATADIRNAME@ + localedir = $(datadir)/locale + +-DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"${exec_prefix}/lib/cooledit\" @DEFS@ ++DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"${exec_prefix}/lib/cooledit\" -DSYSCONFDIR=\"$(sysconfdir)\" -DDATADIR=\"$(datadir)/coolicon\" @DEFS@ + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = diff --git a/editors/cooledit/pkg-plist b/editors/cooledit/pkg-plist index 59a2070..7b785ed 100644 --- a/editors/cooledit/pkg-plist +++ b/editors/cooledit/pkg-plist @@ -16,6 +16,7 @@ lib/libCw.so.1 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R share/cooledit/global.py +share/cooledit/syntax/ada95.syntax share/cooledit/syntax/c.syntax share/cooledit/syntax/changelog.syntax share/cooledit/syntax/diff.syntax @@ -24,6 +25,7 @@ share/cooledit/syntax/html.syntax share/cooledit/syntax/java.syntax share/cooledit/syntax/latex.syntax share/cooledit/syntax/lsm.syntax +share/cooledit/syntax/mail.syntax share/cooledit/syntax/makefile.syntax share/cooledit/syntax/ml.syntax share/cooledit/syntax/nroff.syntax -- cgit v1.1