Bug 5111

Summary: New port of cooledit-3.5.2
Product: Ports & Packages Reporter: brett <brett>
Component: Individual Port(s)Assignee: mph <mph>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description brett 1997-11-20 21:00:01 UTC
This port has some neat features.  Along w/ the GUI editor cooledit, 
it also has a file browser, man page browser, a GUI interface to write,
and a utility to place icons directly on your desktop rather than in a 
Wharf-type bar like AfterStep or fvwm.  Cooledit itself will allow you
to run applications on the file you are editing (for instance ispell
or latex etc).  There is also a stripped down version of cooledit
included called smalledit.  I did check the port w/ portlint before 
submission.  :-)

How-To-Repeat: B

I've uploaded a copy of this port to :
        ftp://ftp.freebsd.org/pub/FreeBSD/incoming/cooledit.tar.gz
Comment 1 brett 1997-11-23 19:07:27 UTC
They went and upgraded the source a day after I submit the port... sigh.
Anyway, please apply the following diff to convert the 3.5.2 port to the
3.5.3 version.  The source is no longer available from the MASTER_SITE for
3.5.2.  Thanks to Bruce Gingery for the notification.

Brett

*************************************************************************
diff for the port follows:

diff -ruN cooledit/Makefile cooledit/Makefile
--- cooledit/Makefile	Thu Nov 20 12:56:35 1997
+++ cooledit/Makefile	Sun Nov 23 11:52:49 1997
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	 cooledit
-# Version required:	3.5.2
+# Version required:	3.5.3
 # Date created:		18 November 1997
 # Whom:			brett@peloton.physics.montana.edu
 #
 # $Id$
 #
 
-DISTNAME=	cooledit-3.5.2
+DISTNAME=	cooledit-3.5.3
 CATEGORIES=	editors
 MASTER_SITES=	ftp://argeas.argos.hol.gr/pub/unix/cooledit/
 
diff -ruN cooledit/files/md5 cooledit/files/md5
--- cooledit/files/md5	Wed Nov 19 12:35:40 1997
+++ cooledit/files/md5	Sun Nov 23 11:24:19 1997
@@ -1 +1 @@
-MD5 (cooledit-3.5.2.tar.gz) = ad6ac44b9ed753976d3584d1ec794e76
+MD5 (cooledit-3.5.3.tar.gz) = c16d1592fadff024ecc429aff9b118ba
diff -ruN cooledit/patches/patch-aa cooledit/patches/patch-aa
--- cooledit/patches/patch-aa	Wed Nov 19 12:01:29 1997
+++ cooledit/patches/patch-aa	Sun Nov 23 11:30:42 1997
@@ -1,5 +1,5 @@
-*** icon/Makefile.in	Thu Nov 13 08:58:22 1997
---- icon/Makefile.in	Wed Nov 19 12:00:08 1997
+*** icon/Makefile.in	Sun Nov 23 11:19:24 1997
+--- icon/Makefile.in	Sun Nov 23 11:21:25 1997
 ***************
 *** 84,90 ****
   VERSION = @VERSION@
@@ -26,11 +26,11 @@
 - coolbrowse_static_SOURCES = coolbrowse.c
 - coolmessage_static_SOURCES = coolmessage.c
 - 
-  LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la -lXext -lXpm
+  coolicon_LDADD = -lm ../widget/libCw.la -lX11 ../intl/libintl.$la -lXext -lXpm ../widget/libC3d.a
   coolbrowse_LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la
   coolmessage_LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la
   
-- coolicon_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la -lXext -lXpm
+- coolicon_static_LDADD = -lm ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la -lXext -lXpm ../widget/libC3d.a
 - coolbrowse_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la
 - coolmessage_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la
 - 
@@ -40,12 +40,12 @@
 --- 92,101 ----
 ***************
 *** 123,146 ****
-  coolicon_LDADD = $(LDADD)
-  coolicon_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la
+  coolicon_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la \
+  ../widget/libC3d.a
   coolicon_LDFLAGS = 
 - coolicon_static_OBJECTS =  icon.o coolicon.o iconmanager.o percentsubs.o
 - coolicon_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
-- ../intl/libintl.$la
+- ../intl/libintl.$la ../widget/libC3d.a
 - coolicon_static_LDFLAGS = 
   coolbrowse_OBJECTS =  coolbrowse.o
   coolbrowse_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la
diff -ruN cooledit/patches/patch-ab cooledit/patches/patch-ab
--- cooledit/patches/patch-ab	Wed Nov 19 12:27:42 1997
+++ cooledit/patches/patch-ab	Sun Nov 23 11:30:59 1997
@@ -1,5 +1,5 @@
-*** editor/Makefile.in.orig	Thu Nov 13 08:58:22 1997
---- editor/Makefile.in	Wed Nov 19 12:27:02 1997
+*** editor/Makefile.in	Sun Nov 23 11:21:59 1997
+--- editor/Makefile.in	Sun Nov 23 11:23:36 1997
 ***************
 *** 84,90 ****
   VERSION = @VERSION@
diff -ruN cooledit/pkg/PLIST cooledit/pkg/PLIST
--- cooledit/pkg/PLIST	Sun Nov 23 11:48:47 1997
+++ cooledit/pkg/PLIST	Sun Nov 23 11:47:24 1997
@@ -13,9 +13,15 @@
 lib/libCw.la
 lib/coolicon/browse.xpm
 lib/coolicon/cooledit.xpm
+lib/coolicon/dynamite.xpm
+lib/coolicon/e.data
+lib/coolicon/launch.xpm
 lib/coolicon/manual.xpm
 lib/coolicon/mc.xpm
+lib/coolicon/netscape.xpm
 lib/coolicon/nscape.xpm
+/lib/coolicon/phonedown.xpm
+/lib/coolicon/phoneup.xpm
 lib/coolicon/printer.xpm
 lib/coolicon/spanner.xpm
 lib/coolicon/xterm.xpm
Comment 2 brett 1998-02-05 21:02:02 UTC
No one has yet committed this port and I've had to make some changes to
the port as a new version has appeared and the master site has switched.
Please use the following diff file to upgrade the originally submitted
port to the now current version of 3.5.6.  Please ignore the first diff I
sent in way back on 23 Nov as it's no longer valid.

*********************************************************
Brett Taylor 		brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/
*********************************************************


diff -ruN cooledit/Makefile cooledit/Makefile
--- cooledit/Makefile	Thu Nov 20 12:56:35 1997
+++ cooledit/Makefile	Thu Feb  5 13:50:56 1998
@@ -1,14 +1,14 @@
 # New ports collection makefile for:	 cooledit
-# Version required:	3.5.2
+# Version required:	3.5.3
 # Date created:		18 November 1997
 # Whom:			brett@peloton.physics.montana.edu
 #
 # $Id$
 #
 
-DISTNAME=	cooledit-3.5.2
+DISTNAME=	cooledit-3.5.6
 CATEGORIES=	editors
-MASTER_SITES=	ftp://argeas.argos.hol.gr/pub/unix/cooledit/
+MASTER_SITES=	http://sunsite.unc.edu/pub/Linux/apps/editors/X/
 
 MAINTAINER=	brett@peloton.physics.montana.edu
 
diff -ruN cooledit/files/md5 cooledit/files/md5
--- cooledit/files/md5	Wed Nov 19 12:35:40 1997
+++ cooledit/files/md5	Thu Feb  5 13:34:56 1998
@@ -1 +1 @@
-MD5 (cooledit-3.5.2.tar.gz) = ad6ac44b9ed753976d3584d1ec794e76
+MD5 (cooledit-3.5.6.tar.gz) = b4f9b56a33b7aee11a20be242d32e976
diff -ruN cooledit/patches/patch-aa cooledit/patches/patch-aa
--- cooledit/patches/patch-aa	Wed Nov 19 12:01:29 1997
+++ cooledit/patches/patch-aa	Thu Feb  5 13:33:21 1998
@@ -1,5 +1,5 @@
-*** icon/Makefile.in	Thu Nov 13 08:58:22 1997
---- icon/Makefile.in	Wed Nov 19 12:00:08 1997
+*** icon/Makefile.in	Thu Feb  5 13:17:43 1998
+--- icon/Makefile.in	Thu Feb  5 13:19:55 1998
 ***************
 *** 84,90 ****
   VERSION = @VERSION@
@@ -19,18 +19,18 @@
   
 ***************
 *** 92,109 ****
-  coolbrowse_SOURCES = coolbrowse.c
-  coolmessage_SOURCES = coolmessage.c
+  coolbrowse_SOURCES = coolbrowse.c trivoptions.c
+  coolmessage_SOURCES = coolmessage.c trivoptions.c
   
-- coolicon_static_SOURCES = icon.c coolicon.c iconmanager.c percentsubs.c
-- coolbrowse_static_SOURCES = coolbrowse.c
-- coolmessage_static_SOURCES = coolmessage.c
+- coolicon_static_SOURCES = icon.c coolicon.c iconmanager.c percentsubs.c trivoptions.c
+- coolbrowse_static_SOURCES = coolbrowse.c trivoptions.c
+- coolmessage_static_SOURCES = coolmessage.c trivoptions.c
 - 
-  LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la -lXext -lXpm
+  coolicon_LDADD = -lm ../widget/libCw.la -lX11 ../intl/libintl.$la -lXext -lXpm ../widget/libC3d.a
   coolbrowse_LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la
   coolmessage_LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la
   
-- coolicon_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la -lXext -lXpm
+- coolicon_static_LDADD = -lm ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la -lXext -lXpm ../widget/libC3d.a
 - coolbrowse_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la
 - coolmessage_static_LDADD = ../widget/.libs/libCw.a -lX11 ../intl/libintl.$la
 - 
@@ -39,34 +39,35 @@
   
 --- 92,101 ----
 ***************
-*** 123,146 ****
-  coolicon_LDADD = $(LDADD)
-  coolicon_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la
+*** 124,148 ****
+  coolicon_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la \
+  ../widget/libC3d.a
   coolicon_LDFLAGS = 
-- coolicon_static_OBJECTS =  icon.o coolicon.o iconmanager.o percentsubs.o
+- coolicon_static_OBJECTS =  icon.o coolicon.o iconmanager.o percentsubs.o \
+- trivoptions.o
 - coolicon_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
-- ../intl/libintl.$la
+- ../intl/libintl.$la ../widget/libC3d.a
 - coolicon_static_LDFLAGS = 
-  coolbrowse_OBJECTS =  coolbrowse.o
+  coolbrowse_OBJECTS =  coolbrowse.o trivoptions.o
   coolbrowse_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la
   coolbrowse_LDFLAGS = 
-- coolbrowse_static_OBJECTS =  coolbrowse.o
+- coolbrowse_static_OBJECTS =  coolbrowse.o trivoptions.o
 - coolbrowse_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
 - ../intl/libintl.$la
 - coolbrowse_static_LDFLAGS = 
-  coolmessage_OBJECTS =  coolmessage.o
+  coolmessage_OBJECTS =  coolmessage.o trivoptions.o
   coolmessage_DEPENDENCIES =  ../widget/libCw.la ../intl/libintl.$la
   coolmessage_LDFLAGS = 
-- coolmessage_static_OBJECTS =  coolmessage.o
+- coolmessage_static_OBJECTS =  coolmessage.o trivoptions.o
 - coolmessage_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
 - ../intl/libintl.$la
 - coolmessage_static_LDFLAGS = 
   CFLAGS = @CFLAGS@
   COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
   LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
---- 115,126 ----
+--- 116,127 ----
 ***************
-*** 152,159 ****
+*** 154,161 ****
   
   TAR = tar
   GZIP = --best
@@ -75,7 +76,7 @@
   
   default: all
   
---- 132,139 ----
+--- 133,140 ----
   
   TAR = tar
   GZIP = --best
@@ -85,7 +86,7 @@
   default: all
   
 ***************
-*** 222,246 ****
+*** 224,248 ****
   	@rm -f coolicon
   	$(LINK) $(coolicon_LDFLAGS) $(coolicon_OBJECTS) $(coolicon_LDADD) $(LIBS)
   
@@ -111,4 +112,4 @@
   
   tags: TAGS
   
---- 202,214 ----
+--- 203,215 ----
diff -ruN cooledit/patches/patch-ab cooledit/patches/patch-ab
--- cooledit/patches/patch-ab	Wed Nov 19 12:27:42 1997
+++ cooledit/patches/patch-ab	Thu Feb  5 13:33:21 1998
@@ -1,5 +1,5 @@
-*** editor/Makefile.in.orig	Thu Nov 13 08:58:22 1997
---- editor/Makefile.in	Wed Nov 19 12:27:02 1997
+*** editor/Makefile.in	Thu Feb  5 13:20:58 1998
+--- editor/Makefile.in	Thu Feb  5 13:22:34 1998
 ***************
 *** 84,90 ****
   VERSION = @VERSION@
@@ -19,14 +19,14 @@
   
 ***************
 *** 94,111 ****
-  smalledit_SOURCES = smalledit.c copyright.h
-  coolman_SOURCES = coolman.c manpage.c
+  smalledit_SOURCES = smalledit.c copyright.h trivoptions.c
+  coolman_SOURCES = coolman.c manpage.c trivoptions.c
   
 - cooledit_static_SOURCES = cooledit.c editoptions.c mancmd.c options.c \
 - 	cooleditmenus.c shell.c shell.h copyright.h mail.c complete.c \
 - 	manpage.c percentsubs.c
-- smalledit_static_SOURCES = smalledit.c copyright.h
-- coolman_static_SOURCES = coolman.c manpage.c
+- smalledit_static_SOURCES = smalledit.c copyright.h trivoptions.c
+- coolman_static_SOURCES = coolman.c manpage.c trivoptions.c
 - 
   LDADD = ../widget/libCw.la -lX11 ../intl/libintl.$la
   
@@ -48,11 +48,11 @@
 - cooledit_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
 - ../intl/libintl.$la
 - cooledit_static_LDFLAGS = 
-- smalledit_static_OBJECTS =  smalledit.o
+- smalledit_static_OBJECTS =  smalledit.o trivoptions.o
 - smalledit_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
 - ../intl/libintl.$la
 - smalledit_static_LDFLAGS = 
-- coolman_static_OBJECTS =  coolman.o manpage.o
+- coolman_static_OBJECTS =  coolman.o manpage.o trivoptions.o
 - coolman_static_DEPENDENCIES =  ../widget/.libs/libCw.a \
 - ../intl/libintl.$la
 - coolman_static_LDFLAGS = 
diff -ruN cooledit/pkg/PLIST cooledit/pkg/PLIST
--- cooledit/pkg/PLIST	Thu Nov 20 13:09:01 1997
+++ cooledit/pkg/PLIST	Thu Feb  5 13:33:47 1998
@@ -13,9 +13,15 @@
 lib/libCw.la
 lib/coolicon/browse.xpm
 lib/coolicon/cooledit.xpm
+lib/coolicon/dynamite.xpm
+lib/coolicon/e.data
+lib/coolicon/launch.xpm
 lib/coolicon/manual.xpm
 lib/coolicon/mc.xpm
+lib/coolicon/netscape.xpm
 lib/coolicon/nscape.xpm
+lib/coolicon/phonedown.xpm
+lib/coolicon/phoneup.xpm
 lib/coolicon/printer.xpm
 lib/coolicon/spanner.xpm
 lib/coolicon/xterm.xpm
Comment 3 mph freebsd_committer freebsd_triage 1998-04-17 19:54:29 UTC
Responsible Changed
From-To: freebsd-ports->mph

I'll take this at the request of Brian Handy <handy@sag.space.lockheed.com>. 
"New committer, piss, vinegar, all that jazz." 
Comment 4 mph freebsd_committer freebsd_triage 1998-04-19 06:17:09 UTC
State Changed
From-To: open->closed

Imported with changes as follows: 

- Upgraded to 3.6.0 because old distfile was unavailable. 
(patches apply cleanly) 
- Use MASTER_SITE_SUNSITE 
- Moved LIB_DEPENDS to appease portlint 

Thanks for your contribution.