summaryrefslogtreecommitdiff
path: root/editors/joe/patches/patch-aa
diff options
context:
space:
mode:
authorexplorer <explorer@pkgsrc.org>1997-10-29 19:48:28 +0000
committerexplorer <explorer@pkgsrc.org>1997-10-29 19:48:28 +0000
commit4ed74a869bf2b000bcd155158de552addcf874e0 (patch)
treed389bec180038d7e9b99ef73ea33321a55e6453b /editors/joe/patches/patch-aa
parent89d9ac7fc90e21ae3af5d8fe910119e2be8694a6 (diff)
downloadpkgsrc-4ed74a869bf2b000bcd155158de552addcf874e0.tar.gz
Import FreeBSD port of the "joe" text editor.
Diffstat (limited to 'editors/joe/patches/patch-aa')
-rw-r--r--editors/joe/patches/patch-aa106
1 files changed, 106 insertions, 0 deletions
diff --git a/editors/joe/patches/patch-aa b/editors/joe/patches/patch-aa
new file mode 100644
index 00000000000..755912494ed
--- /dev/null
+++ b/editors/joe/patches/patch-aa
@@ -0,0 +1,106 @@
+*** Makefile.orig Sat Jul 1 18:43:39 1995
+--- Makefile Sat Jul 1 18:59:47 1995
+***************
+*** 9,17 ****
+ # to go and where you want the man page
+ # to go:
+
+! WHEREJOE = /usr/local/bin
+! WHERERC = /usr/local/lib
+! WHEREMAN = /usr/man/man1
+
+ # If you want to use TERMINFO, you have to set
+ # the following variable to 1. Also you have to
+--- 9,17 ----
+ # to go and where you want the man page
+ # to go:
+
+! WHEREJOE = ${PREFIX}/bin
+! WHERERC = ${PREFIX}/lib
+! WHEREMAN = ${PREFIX}/man/man1
+
+ # If you want to use TERMINFO, you have to set
+ # the following variable to 1. Also you have to
+***************
+*** 27,33 ****
+
+ # C compiler options: make's built-in rules use this variable
+
+! CFLAGS = -O
+
+ # C compiler to use: make's built-in rules use this variable
+
+--- 27,33 ----
+
+ # C compiler options: make's built-in rules use this variable
+
+! # CFLAGS = -O
+
+ # C compiler to use: make's built-in rules use this variable
+
+***************
+*** 84,100 ****
+
+ # Install proceedure
+
+! install: joe termidx
+ strip joe
+! strip termidx
+ if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
+! rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx
+ mv joe $(WHEREJOE)
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
+ ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
+! mv termidx $(WHEREJOE)
+ if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
+ rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
+ cp joerc $(WHERERC)
+--- 84,100 ----
+
+ # Install proceedure
+
+! install: joe # termidx
+ strip joe
+! # strip termidx
+ if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi
+! rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe # $(WHEREJOE)/termidx
+ mv joe $(WHEREJOE)
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jstar
+ ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe
+ ln $(WHEREJOE)/joe $(WHEREJOE)/jpico
+! # mv termidx $(WHEREJOE)
+ if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi
+ rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1
+ cp joerc $(WHERERC)
+***************
+*** 114,126 ****
+ chmod a+r $(WHERERC)/rjoerc
+ chmod a+r $(WHERERC)/jpicorc
+ chmod a+r $(WHEREMAN)/joe.1
+! chmod a+x $(WHEREJOE)/termidx
+! rm -f $(WHERERC)/termcap
+! cp termcap $(WHERERC)/termcap
+! chmod a+r $(WHERERC)/termcap
+! rm -f $(WHERERC)/terminfo
+! cp terminfo $(WHERERC)/terminfo
+! chmod a+r $(WHERERC)/terminfo
+
+ # Cleanup proceedure
+
+--- 114,126 ----
+ chmod a+r $(WHERERC)/rjoerc
+ chmod a+r $(WHERERC)/jpicorc
+ chmod a+r $(WHEREMAN)/joe.1
+! # chmod a+x $(WHEREJOE)/termidx
+! # rm -f $(WHERERC)/termcap
+! # cp termcap $(WHERERC)/termcap
+! # chmod a+r $(WHERERC)/termcap
+! # rm -f $(WHERERC)/terminfo
+! # cp terminfo $(WHERERC)/terminfo
+! # chmod a+r $(WHERERC)/terminfo
+
+ # Cleanup proceedure
+