1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/weblint97/files/patch-aa
Jun Kuriyama 35a9cfab42 Ja-weblint97 have contained "jcode.pl".
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>
1998-08-23 16:20:07 +00:00

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: