Honour varbase and create tmp/vi.recover during +INSTALL. Bump revision.

This commit is contained in:
joerg 2010-01-31 21:24:03 +00:00
parent 6095e239c9
commit 251b54e564
3 changed files with 17 additions and 5 deletions

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.7 2010/01/29 19:39:24 joerg Exp $
# $NetBSD: Makefile,v 1.8 2010/01/31 21:24:03 joerg Exp $
#
DISTNAME= ex-040103
PKGNAME= ex-20040103
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ex-vi/files/ex-vi/040103/}
@ -13,4 +14,6 @@ LICENSE= original-bsd
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_DIRS_PERMS+= ${VARBASE}/tmp/vi.recover ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
.include "../../mk/bsd.pkg.mk"

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.12 2010/01/29 19:39:24 joerg Exp $
$NetBSD: distinfo,v 1.13 2010/01/31 21:24:03 joerg Exp $
SHA1 (ex-040103.tar.gz) = 51fa1d613b37a4f3aed1ef2968be691465cdff09
RMD160 (ex-040103.tar.gz) = 5fc3f222dde5a8d00e1b233281ccf210affdbdf1
Size (ex-040103.tar.gz) = 284130 bytes
SHA1 (patch-aa) = be450377abc260617a6dd42bbcb626a5d4ca75a4
SHA1 (patch-aa) = 8902846a518fbf214725a801293610ebe12c143b
SHA1 (patch-ab) = 5bac9911e71b7fe787023568a7a46d1e87fb4d0e
SHA1 (patch-ac) = 0401448724a4aba59b4aeb07a4cb00982bb52d98
SHA1 (patch-ad) = 31bafb04f553ca286baf90505da450964fea9954

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.6 2010/01/29 19:39:24 joerg Exp $
$NetBSD: patch-aa,v 1.7 2010/01/31 21:24:04 joerg Exp $
--- Makefile.orig 2004-01-03 14:22:47.000000000 +0000
+++ Makefile
@ -14,7 +14,7 @@ $NetBSD: patch-aa,v 1.6 2010/01/29 19:39:24 joerg Exp $
+BINDIR = ${PREFIX}/bin
+LIBEXECDIR = ${PREFIX}/libexec
+MANDIR = ${PREFIX}/${PKGMANDIR}
+PRESERVEDIR = /var/tmp/vi.recover
+PRESERVEDIR = ${VARBASE}/tmp/vi.recover
#
# A BSD-like install program. GNU install will fit well here, too.
@ -65,3 +65,12 @@ $NetBSD: patch-aa,v 1.6 2010/01/29 19:39:24 joerg Exp $
test -d $(DESTDIR)/$(LIBEXECDIR) || mkdir $(DESTDIR)/$(LIBEXECDIR)
$(INSTALL) -c -s exrecover $(DESTDIR)/$(LIBEXECDIR)/exrecover
$(INSTALL) -c -s expreserve $(DESTDIR)/$(LIBEXECDIR)/expreserve
@@ -305,8 +305,6 @@ install: all install-man
ln -s ex $(DESTDIR)/$(BINDIR)/vedit
ln -s ex $(DESTDIR)/$(BINDIR)/vi
ln -s ex $(DESTDIR)/$(BINDIR)/view
- test -d $(PRESERVEDIR) || mkdir $(PRESERVEDIR)
- chmod 1777 $(PRESERVEDIR)
ex.o: config.h ex_argv.h ex.h ex_proto.h ex_temp.h ex_tty.h ex_tune.h
ex.o: ex_vars.h libterm/libterm.h