pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/lbrate DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a4b4f48a6b0
branches: trunk
changeset: 554163:5a4b4f48a6b0
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Feb 09 23:25:45 2009 +0000
description:
DESTDIR support.
diffstat:
archivers/lbrate/Makefile | 9 +++++----
archivers/lbrate/distinfo | 4 ++--
archivers/lbrate/patches/patch-aa | 6 +++---
3 files changed, 10 insertions(+), 9 deletions(-)
diffs (61 lines):
diff -r 46c6624b82db -r 5a4b4f48a6b0 archivers/lbrate/Makefile
--- a/archivers/lbrate/Makefile Mon Feb 09 23:23:56 2009 +0000
+++ b/archivers/lbrate/Makefile Mon Feb 09 23:25:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/06/18 07:04:16 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/09 23:25:45 joerg Exp $
DISTNAME= lbrate-1.1
PKGREVISION= 1
@@ -10,14 +10,15 @@
COMMENT= Extract/decompress CP/M LBR archives
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FLAGS+= PREFIX=${PREFIX:Q}
-LBRATE_DOCSDIR= ${PREFIX}/share/doc/lbrate
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/lbrate
post-install:
- ${INSTALL_DATA_DIR} ${LBRATE_DOCSDIR}
.for f in COPYING ChangeLog README TODO
- ${INSTALL_DATA} ${WRKSRC}/${f} ${LBRATE_DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/lbrate
.endfor
.include "../../mk/bsd.pkg.mk"
diff -r 46c6624b82db -r 5a4b4f48a6b0 archivers/lbrate/distinfo
--- a/archivers/lbrate/distinfo Mon Feb 09 23:23:56 2009 +0000
+++ b/archivers/lbrate/distinfo Mon Feb 09 23:25:45 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2006/07/17 17:25:25 joerg Exp $
+$NetBSD: distinfo,v 1.5 2009/02/09 23:25:45 joerg Exp $
SHA1 (lbrate-1.1.tar.gz) = 8731283e79fa6c7a73ebd6c821b42854cb864ea9
RMD160 (lbrate-1.1.tar.gz) = ccf0d889eb597d3beecceb40349ddbf00f0273c8
Size (lbrate-1.1.tar.gz) = 29907 bytes
-SHA1 (patch-aa) = 4f8177dfdfa11162da966c3f216d52bcd8e599db
+SHA1 (patch-aa) = 0361401856f93717a45d8599450b5419574d1545
SHA1 (patch-ab) = 94127154f052908a99fb7a6a218984637850b93d
diff -r 46c6624b82db -r 5a4b4f48a6b0 archivers/lbrate/patches/patch-aa
--- a/archivers/lbrate/patches/patch-aa Mon Feb 09 23:23:56 2009 +0000
+++ b/archivers/lbrate/patches/patch-aa Mon Feb 09 23:25:45 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2006/07/17 17:25:25 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2009/02/09 23:25:45 joerg Exp $
--- Makefile.orig Thu Aug 30 17:03:17 2001
+++ Makefile Wed Dec 3 15:29:20 2003
@@ -24,8 +24,8 @@
install: lbrate installdirs
- install -m 755 lbrate $(BINDIR)
- install -m 644 lbrate.1 $(MANDIR)
-+ $(BSD_INSTALL_PROGRAM) lbrate $(BINDIR)
-+ $(BSD_INSTALL_MAN) lbrate.1 ${PREFIX}/$(PKGMANDIR)/man1/
++ $(BSD_INSTALL_PROGRAM) lbrate ${DESTDIR}$(BINDIR)
++ $(BSD_INSTALL_MAN) lbrate.1 ${DESTDIR}${PREFIX}/$(PKGMANDIR)/man1/
uninstall:
$(RM) $(BINDIR)/lbrate $(MANDIR)/lbrate.1
Home |
Main Index |
Thread Index |
Old Index