diff options
author | agc <agc@pkgsrc.org> | 2007-08-31 21:48:37 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-08-31 21:48:37 +0000 |
commit | d287d54e2f37820c921ccb82ec0aca2450ae6d14 (patch) | |
tree | 7dd206d7f9f200587d6ea03deedd2c2b4d49a08b /misc/qterm | |
parent | dee53130b9048133d76e349d585e7d6c7ce08c48 (diff) | |
download | pkgsrc-d287d54e2f37820c921ccb82ec0aca2450ae6d14.tar.gz |
Add DESTDIR support
Diffstat (limited to 'misc/qterm')
-rw-r--r-- | misc/qterm/Makefile | 4 | ||||
-rw-r--r-- | misc/qterm/distinfo | 4 | ||||
-rw-r--r-- | misc/qterm/patches/patch-aa | 21 |
3 files changed, 17 insertions, 12 deletions
diff --git a/misc/qterm/Makefile b/misc/qterm/Makefile index 3b45ca12e27..f59282912a7 100644 --- a/misc/qterm/Makefile +++ b/misc/qterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/12/29 06:21:55 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2007/08/31 21:50:50 agc Exp $ # DISTNAME= qterm-ac-1.0 @@ -15,6 +15,8 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +PKG_DESTDIR_SUPPORT= user-destdir + EGDIR= ${PREFIX}/share/examples/qterm CONF_FILES= ${EGDIR}/qtermtab ${PKG_SYSCONFDIR}/qtermtab diff --git a/misc/qterm/distinfo b/misc/qterm/distinfo index 22b1eb6a90f..32e1eeca441 100644 --- a/misc/qterm/distinfo +++ b/misc/qterm/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2005/11/10 18:13:53 joerg Exp $ +$NetBSD: distinfo,v 1.6 2007/08/31 21:50:50 agc Exp $ SHA1 (qterm-ac-1.0.tar.gz) = 2603f57265f62b144418ff4a283fc3454f9dcb4c RMD160 (qterm-ac-1.0.tar.gz) = 6234e96caff468ba5dd13babb6a0b2e33dcbd3d4 Size (qterm-ac-1.0.tar.gz) = 42415 bytes -SHA1 (patch-aa) = f0bb49766ecd146788b4782da36c94423efe8fbb +SHA1 (patch-aa) = f4909ffb2d7729b264e796f6083a71f284d1884e SHA1 (patch-ab) = 49c741feed2bab08084fba6c9880a4e29e2db62c diff --git a/misc/qterm/patches/patch-aa b/misc/qterm/patches/patch-aa index 86eb1fc82f6..c5838b2a01e 100644 --- a/misc/qterm/patches/patch-aa +++ b/misc/qterm/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1 2002/12/22 22:26:54 jmmv Exp $ +$NetBSD: patch-aa,v 1.2 2007/08/31 21:50:50 agc Exp $ ---- Makefile.in.orig Fri Apr 11 15:13:32 1997 -+++ Makefile.in -@@ -22,7 +22,8 @@ prefix=@prefix@ +--- Makefile.in.orig 1997-04-11 14:13:32.000000000 +0100 ++++ Makefile.in 2007-08-31 12:44:39.000000000 +0100 +@@ -22,7 +22,8 @@ exec_prefix=@exec_prefix@ BINDIR=$(exec_prefix)/bin LIBDIR=$(exec_prefix)/lib @@ -12,15 +12,18 @@ $NetBSD: patch-aa,v 1.1 2002/12/22 22:26:54 jmmv Exp $ INCDIR=$(prefix)/include MANDIR=$(prefix)/man -@@ -53,9 +54,9 @@ qterm.1: qterm.1.in +@@ -53,10 +54,10 @@ $(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 755 qterm $(BINDIR) - $(INSTALL) -m 644 qtermtab $(TABFILE) -+ $(INSTALL) -m 644 qtermtab $(EGDIR) - $(INSTALL) -m 644 qterm.1 $(MANDIR)/man1 +- $(INSTALL) -m 644 qterm.1 $(MANDIR)/man1 ++ ./mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(EGDIR) ${DESTDIR}$(MANDIR)/man1 ++ $(BSD_INSTALL_PROGRAM) qterm ${DESTDIR}$(BINDIR) ++ $(BSD_INSTALL_MAN) qtermtab ${DESTDIR}$(EGDIR) ++ $(BSD_INSTALL_MAN) qterm.1 ${DESTDIR}$(MANDIR)/man1 clean: + rm -f *.o core log *~ \#* qterm $(OBJS) |