mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
2adb1f4aeb
PR: 14581 Submitted by: maintainer
44 lines
1.1 KiB
Plaintext
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:
|