Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 04:16:46 -0500
From:      Serge Gagnon <gagnon__s@videotron.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47157: Update port: editors/wily
Message-ID:  <E18ZScI-0004Wb-00@quenix.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         47157
>Category:       ports
>Synopsis:       Update port: editors/wily
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 01:10:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD quenix.dyndns.org 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Jan 5 00:27:05 EST 2003 serge@quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN i386

>Description:

	- Build and install some tools in the wily tarball to make the
	behaviour of wily much closer of acme.

	New file:
	files/patch-aa
	files/patch-ab
	files/patch-ac
	pkg-message

>How-To-Repeat:

>Fix:

--- patch-wily-4 begins here ---
diff -urN wily.orig/Makefile wily/Makefile
--- wily.orig/Makefile	Thu Apr 13 20:25:52 2000
+++ wily/Makefile	Fri Jan 17 03:54:46 2003
@@ -18,6 +18,11 @@
 USE_XLIB=	YES
 GNU_CONFIGURE=	YES
 USE_GMAKE=	YES
+MAN1=		wgoto.1 win.1 wreplace.1 Tag.1 mktags.1 Man.1
+
+# Must run autoconf and configure script in the tools directory.
+post-configure:
+	cd ${WRKSRC}/tools/win; autoconf; ./configure
 
 WILYDOCDIR=	${PREFIX}/share/doc/wily
 WILYTUTEDIR=	${WILYDOCDIR}/tute
@@ -40,5 +45,6 @@
 		${INSTALL_DATA} ${WRKSRC}/Doc/$${f} ${WILYDOCDIR}/$${f}; \
 	done
 .endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -urN wily.orig/files/patch-aa wily/files/patch-aa
--- wily.orig/files/patch-aa	Wed Dec 31 19:00:00 1969
+++ wily/files/patch-aa	Thu Jan 16 04:39:40 2003
@@ -0,0 +1,30 @@
+--- Makefile.in.orig	Sat May  3 02:37:17 1997
++++ Makefile.in	Thu Jan 16 03:46:37 2003
+@@ -2,11 +2,11 @@
+ srcdir=@srcdir@
+ VPATH=@srcdir@
+ 
+-SUBDIRS=libXg libframe libmsg wily
++SUBDIRS=libXg libframe libmsg wily tools/win
+ 
+-all:	wily/wily
++all:	wily/wily win
+ 
+-wily/wily: libXg/libXg.a libframe/libframe.a libmsg/libmsg.a
++wily/wily: libXg/libXg.a libframe/libframe.a libmsg/libmsg.a 
+ 	cd wily; $(MAKE) $(MFLAGS)
+ libXg/libXg.a:
+ 	cd libXg; $(MAKE) $(MFLAGS)
+@@ -14,9 +14,11 @@
+ 	cd libframe; $(MAKE) $(MFLAGS) all
+ libmsg/libmsg.a:
+ 	cd libmsg; $(MAKE) $(MFLAGS) all
+-
++win:
++	cd tools/win; $(MAKE) $(MFLAGS)
+ install:	all
+ 	cd wily; $(MAKE) $(MFLAGS) install
++	cd tools/win; $(MAKE) $(MFLAGS) install
+ clean:
+ 	for i in $(SUBDIRS); do \
+ 		(cd $$i; $(MAKE) $(MFLAGS) $@); \
diff -urN wily.orig/files/patch-ab wily/files/patch-ab
--- wily.orig/files/patch-ab	Wed Dec 31 19:00:00 1969
+++ wily/files/patch-ab	Thu Jan 16 04:39:40 2003
@@ -0,0 +1,23 @@
+--- tools/win/Makefile.in.orig	Mon Dec  2 01:44:13 1996
++++ tools/win/Makefile.in	Wed Jan 15 23:56:02 2003
+@@ -2,7 +2,7 @@
+ 
+ srcdir			= @srcdir@
+ VPATH			= @srcdir@
+-
++wilydir			= ../../
+ prefix			= @prefix@
+ exec_prefix		= @exec_prefix@
+ bindir			= $(exec_prefix)/bin
+@@ -12,9 +12,9 @@
+ INSTALL_DATA	= @INSTALL_DATA@
+ 
+ CC				= @CC@
+-CFLAGS			= @CFLAGS@ -I.. -I$(srcdir)/../include -I$(srcdir)/../sam/include
++CFLAGS			= @CFLAGS@ -I$(wilydir) -I$(wilydir)/include 
+ DEFS			= @DEFS@
+-LIBS			= @LIBS@ ../libmsg/libmsg.a  ../sam/libXg/libXg.a
++LIBS			= $(wilydir)/libmsg/libmsg.a  $(wilydir)/libXg/libXg.a
+ LDFLAGS			= @LDFLAGS@
+ 
+ RC				= @RC@
diff -urN wily.orig/files/patch-ac wily/files/patch-ac
--- wily.orig/files/patch-ac	Wed Dec 31 19:00:00 1969
+++ wily/files/patch-ac	Fri Jan 17 03:36:16 2003
@@ -0,0 +1,10 @@
+--- tools/win/Man.rc.orig	Fri Jan 17 03:33:37 2003
++++ tools/win/Man.rc	Fri Jan 17 03:35:29 2003
+@@ -10,6 +10,6 @@
+ }
+ 
+ name = `{ echo $*($#*) }
+-man $* >[2=1] | col -bx | wreplace -c '+Man '^$name^':,'
++man $* >[2=1] | col -bx | wreplace -c '~/Man '^$name^':,'
+ 
+ exit
diff -urN wily.orig/pkg-message wily/pkg-message
--- wily.orig/pkg-message	Wed Dec 31 19:00:00 1969
+++ wily/pkg-message	Fri Jan 17 04:07:40 2003
@@ -0,0 +1,7 @@
+
+Some wily-tools have been added:
+wreplace win wgoto mktags Man Tag
+Refer to their man page to know what they are doing.
+
+The wily(1) man page has not been installed because it's not up to date.
+You have to refer to the ${PREFIX}/share/doc/wily documentations.
diff -urN wily.orig/pkg-plist wily/pkg-plist
--- wily.orig/pkg-plist	Mon Sep  7 00:11:07 1998
+++ wily/pkg-plist	Thu Jan 16 21:17:58 2003
@@ -1,4 +1,10 @@
+bin/Man
+bin/Tag
+bin/mktags
+bin/wgoto
 bin/wily
+bin/win
+bin/wreplace
 share/doc/wily/index.html
 share/doc/wily/intro.html
 share/doc/wily/download.html
--- patch-wily-4 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18ZScI-0004Wb-00>