1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/japanese/weblint97/files/patch-aa
Steve Price 2adb1f4aeb Fix misc. nits, including new MASTER_SITES and WWW line in DESCR.
PR:		14581
Submitted by:	maintainer
1999-10-31 23:59:33 +00:00

44 lines
1.1 KiB
Plaintext

--- Makefile.orig Sat Mar 8 00:12:00 1997
+++ Makefile Thu Oct 28 03:41:46 1999
@@ -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
@@ -39,16 +42,14 @@
-cp $(I18NLIB) $(LIBDIR)
jinstall: $(JPROGRAM)
- -cp $(JPROGRAM) $(BINDIR)
- -chmod 755 $(BINDIR)/$(JPROGRAM)
- -cp $(JPDIR)/$(JPROGRAM).1 $(JMANDIR)
- -cp $(EXTLIB) $(LIBDIR)
- -cp $(I18NLIB) $(LIBDIR)
- -cp $(JCODE) $(LIBDIR)
+ ${BSD_INSTALL_SCRIPT} $(JPROGRAM) $(BINDIR)
+ ${BSD_INSTALL_MAN} $(JPDIR)/$(JPROGRAM).1 $(JMANDIR)
+ ${BSD_INSTALL_DATA} $(EXTLIB) $(LIBDIR)
+ ${BSD_INSTALL_DATA} $(I18NLIB) $(LIBDIR)
euc-jp:
patch < $(JPDIR)/euc-jp.patch
- mv $(PROGRAM) $(JPROGRAM)
+ mv $(PROGRAM) $(JPROGRAM_TMP)
mv $(JPDIR)/$(JCODE) .
sjis: