14 lines
451 B
Text
14 lines
451 B
Text
$NetBSD: patch-ab,v 1.2 2016/03/30 09:09:48 jperkin Exp $
|
|
|
|
Use pkgsrc layout.
|
|
|
|
--- Makefile.orig 2009-02-10 18:20:22.000000000 +0100
|
|
+++ Makefile
|
|
@@ -14,5 +14,5 @@ clean:
|
|
-rm -f ${PROG} ${OBJS} a.out *.core core
|
|
|
|
install: ${PROG}
|
|
- install -s -m 555 ${PROG} ${PREFIX}/bin
|
|
- install -c -m 444 ${PROG}.1 ${PREFIX}/man/man1
|
|
+ ${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin
|
|
+ ${BSD_INSTALL_MAN} ${PROG}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|