1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/japanese/weblint97/files/patch-aa

35 lines
792 B
Plaintext
Raw Normal View History

--- 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: