mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
35a9cfab42
But jcode.pl is ported now. Therefore separate jcode.pl from ja-weblint97. PR: ports/7333 Submitted by: Takayuki Ariga <a00821@cc.hc.keio.ac.jp>
35 lines
792 B
Plaintext
35 lines
792 B
Plaintext
--- Makefile.orig Sat Mar 8 00:12:00 1997
|
|
+++ Makefile Sun Aug 23 23:57:27 1998
|
|
@@ -5,12 +5,15 @@
|
|
|
|
SHELL = /bin/sh
|
|
|
|
-BINDIR = /usr/local/bin
|
|
-LIBDIR = /usr/lib/perl
|
|
+PREFIX ?= /usr/local
|
|
+BINDIR = ${PREFIX}/bin
|
|
+PERLLIBDIR?= ${PREFIX}/lib/perl
|
|
+LIBDIR = ${PERLLIBDIR}
|
|
JPDIR = ./l10n/ja-jp
|
|
-JMANDIR = /usr/local/man/ja/man1
|
|
+JMANDIR = ${PREFIX}/man/ja/man1
|
|
PROGRAM = weblint
|
|
JPROGRAM = jweblint
|
|
+JPROGRAM_TMP = jweblint.tmp
|
|
EXTLIB = html-ext.pl
|
|
I18NLIB = htmli18n.pl
|
|
JCODE = jcode.pl
|
|
@@ -44,11 +47,10 @@
|
|
-cp $(JPDIR)/$(JPROGRAM).1 $(JMANDIR)
|
|
-cp $(EXTLIB) $(LIBDIR)
|
|
-cp $(I18NLIB) $(LIBDIR)
|
|
- -cp $(JCODE) $(LIBDIR)
|
|
|
|
euc-jp:
|
|
patch < $(JPDIR)/euc-jp.patch
|
|
- mv $(PROGRAM) $(JPROGRAM)
|
|
+ mv $(PROGRAM) $(JPROGRAM_TMP)
|
|
mv $(JPDIR)/$(JCODE) .
|
|
|
|
sjis:
|