mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
0c671252e2
Each port of jvim3 and jvim3-direct_canna has a problem when using jvim3rc in privious port. So I fixed it.
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
--- ./src/makefile.junx.orig Mon Jul 3 05:54:33 1995
|
|
+++ ./src/makefile.junx Wed Oct 4 02:10:05 2000
|
|
@@ -15,12 +15,12 @@
|
|
#
|
|
#>>>>> choose Japanese Kanji code
|
|
#JPCODE = -DJP=\".NN\"
|
|
-#JPCODE = -DJP=\".EE\"
|
|
+JPCODE = -DJP=\".EE\"
|
|
#JPCODE = -DJP=\".NN\" -DJPFEP
|
|
|
|
#>>>>> ONEW specific options
|
|
-JPDEF = -DONEW -DWNN_ISDIR # Wnn + Canna / Onew
|
|
-JPLIB = -lonew -ljd -lcanna # Wnn + Canna / Onew
|
|
+#JPDEF = -DONEW -DWNN_ISDIR # Wnn + Canna / Onew
|
|
+#JPLIB = -lonew -ljd -lcanna # Wnn + Canna / Onew
|
|
#JPDEF = -DONEW # Canna / Onew
|
|
#JPLIB = -lonew -lcanna # Canna / Onew
|
|
#JPDEF = -DONEW -DWNN_ISDIR # Wnn / Onew
|
|
@@ -47,7 +47,13 @@
|
|
-L/usr/X386/lib \
|
|
-L/usr/local/X11R5/lib \
|
|
-L/usr/local/lib \
|
|
- -L/usr/lib
|
|
+ -L/usr/lib \
|
|
+ -L%LOCALBASE%/lib \
|
|
+ -L%X11BASE%/lib \
|
|
+ -L/usr/X11R6/lib
|
|
+
|
|
+INSTALL_MAN?= install -c -m ${MANMOD}
|
|
+
|
|
######################################################################
|
|
|
|
all:
|
|
@@ -183,6 +189,7 @@
|
|
@echo 'FreeBSD'
|
|
$(MAKE) $(TARGET) \
|
|
'MACHINE = -DBSD_UNIX' \
|
|
+ 'LIBS = -ltermcap' \
|
|
'CC = gcc -O2 -Wall'
|
|
|
|
# for FreeBSD before 2.0.5R, 'LIBS = -ltermcap -lcompat' may be needed.
|
|
@@ -362,19 +369,19 @@
|
|
|
|
#>>>>> choose options for install
|
|
### Name of target
|
|
-JVIM = jvim
|
|
+JVIM = jvim2
|
|
JCAT = jcat
|
|
JFOLD = jfold
|
|
JGREP = jgrep
|
|
|
|
### Prefix for location of files
|
|
-PREFIX = /usr/local/jvim2.0
|
|
+PREFIX?= /usr/local
|
|
|
|
### Location of binary
|
|
BINLOC = $(PREFIX)/bin
|
|
|
|
### Location of man page
|
|
-MANDIR = $(PREFIX)/man
|
|
+MANDIR = $(PREFIX)/man/ja
|
|
MANLOC = $(MANDIR)/man1
|
|
|
|
### Location of help file
|
|
@@ -500,14 +507,10 @@
|
|
chmod $(BINMOD) $(BINLOC)/$(JFOLD)
|
|
@$(CSH) -f -c "if (! -d $(MANDIR)) mkdir $(MANDIR)"
|
|
@$(CSH) -f -c "if (! -d $(MANLOC)) mkdir $(MANLOC)"
|
|
- cp ../doc/$(MANFILE) $(MANLOC)
|
|
- chmod $(MANMOD) $(MANLOC)/$(MANFILE)
|
|
- cp ../doc/$(JGREP).1 ../doc/$(JGREP).man $(MANLOC)
|
|
- chmod $(MANMOD) $(MANLOC)/$(JGREP).1 $(MANLOC)/$(JGREP).man
|
|
- cp ../doc/$(JCAT).1 ../doc/$(JCAT).man $(MANLOC)
|
|
- chmod $(MANMOD) $(MANLOC)/$(JCAT).1 $(MANLOC)/$(JCAT).man
|
|
- cp ../doc/$(JFOLD).1 ../doc/$(JFOLD).man $(MANLOC)
|
|
- chmod $(MANMOD) $(MANLOC)/$(JFOLD).1 $(MANLOC)/$(JFOLD).man
|
|
+ ${INSTALL_MAN} ../doc/$(MANFILE) $(MANLOC)
|
|
+ ${INSTALL_MAN} ../doc/$(JGREP).1 $(MANLOC)
|
|
+ ${INSTALL_MAN} ../doc/$(JCAT).1 $(MANLOC)
|
|
+ ${INSTALL_MAN} ../doc/$(JFOLD).1 $(MANLOC)
|
|
@$(CSH) -f -c "if (! -d $(HELPLOC)) mkdir $(HELPLOC)"
|
|
cp ../doc/$(HELPFILE) $(HELPLOC)
|
|
chmod $(HELPMOD) $(HELPLOC)/$(HELPFILE)
|