pkgsrc/net/dlint/patches/patch-aa
2016-03-30 08:33:18 +00:00

33 lines
896 B
Text

$NetBSD: patch-aa,v 1.5 2016/03/30 08:33:18 jperkin Exp $
Use pkgsrc layout.
--- Makefile.orig 2000-11-19 15:07:40.000000000 +0000
+++ Makefile
@@ -5,11 +5,11 @@
VERSION=1.4.0
# Basic area to install things in:
-DEST=$(DESTROOT)/usr/local
+DEST=${PREFIX}
BIN=$(DEST)/bin
MANEXT=1
-MAN=$(DEST)/man/man$(MANEXT)
+MAN=$(DEST)/${PKGMANDIR}/man$(MANEXT)
# How to run BSD-style install prog:
INSTALL=install # Linux, BSD, SunOS 4.x
@@ -20,9 +20,9 @@ all:
@echo 'nothing to make; see INSTALL for instructions.'
install:
- $(INSTALL) -c -m 755 -o bin -g bin dlint $(BIN)
- $(INSTALL) -c -m 755 -o bin -g bin digparse $(BIN)
- $(INSTALL) -c -m 644 -o bin -g bin dlint.1 $(MAN)/dlint.$(MANEXT)
+ $(BSD_INSTALL_SCRIPT) dlint $(DESTDIR)$(BIN)
+ $(BSD_INSTALL_SCRIPT) digparse $(DESTDIR)$(BIN)
+ $(BSD_INSTALL_DATA) dlint.1 $(DESTDIR)$(MAN)/dlint.$(MANEXT)
clean:
-rm -f *.shar core