pkgsrc/misc/qterm/patches/patch-aa
jmmv 57f5340844 Make this package install its configuration files under the examples tree
and use bsd.pkg.install.mk to copy them to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.
2002-12-22 22:26:53 +00:00

26 lines
769 B
Text

$NetBSD: patch-aa,v 1.1 2002/12/22 22:26:54 jmmv Exp $
--- Makefile.in.orig Fri Apr 11 15:13:32 1997
+++ Makefile.in
@@ -22,7 +22,8 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
BINDIR=$(exec_prefix)/bin
LIBDIR=$(exec_prefix)/lib
-ETCDIR=$(exec_prefix)/etc
+ETCDIR=@sysconfdir@
+EGDIR=@datadir@/examples/qterm
INCDIR=$(prefix)/include
MANDIR=$(prefix)/man
@@ -53,9 +54,9 @@ qterm.1: qterm.1.in
$(SED) 's;qterm_etcdir;$(ETCDIR);g' < qterm.1.in > qterm.1
install: qterm qtermtab qterm.1
- ./mkinstalldirs $(BINDIR) $(ETCDIR) $(MANDIR)/man1
+ ./mkinstalldirs $(BINDIR) $(EGDIR) $(MANDIR)/man1
$(INSTALL) -m 755 qterm $(BINDIR)
- $(INSTALL) -m 644 qtermtab $(TABFILE)
+ $(INSTALL) -m 644 qtermtab $(EGDIR)
$(INSTALL) -m 644 qterm.1 $(MANDIR)/man1
clean: