pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/o3read user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c217da1ea98
branches:  trunk
changeset: 561182:3c217da1ea98
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 20:58:04 2009 +0000

description:
user-destdir support

diffstat:

 textproc/o3read/Makefile         |   4 +++-
 textproc/o3read/distinfo         |   4 ++--
 textproc/o3read/patches/patch-aa |  15 ++++++++++++++-
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r 3dfce0d3e250 -r 3c217da1ea98 textproc/o3read/Makefile
--- a/textproc/o3read/Makefile  Tue Jul 07 20:57:19 2009 +0000
+++ b/textproc/o3read/Makefile  Tue Jul 07 20:58:04 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 20:58:04 joerg Exp $
 
 DISTNAME=      o3read-0.0.4
 CATEGORIES=    textproc
@@ -8,4 +8,6 @@
 HOMEPAGE=      http://siag.nu/o3read/
 COMMENT=       Standalone converter for OpenOffice and OpenDocument file formats
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../mk/bsd.pkg.mk"
diff -r 3dfce0d3e250 -r 3c217da1ea98 textproc/o3read/distinfo
--- a/textproc/o3read/distinfo  Tue Jul 07 20:57:19 2009 +0000
+++ b/textproc/o3read/distinfo  Tue Jul 07 20:58:04 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+$NetBSD: distinfo,v 1.2 2009/07/07 20:58:04 joerg Exp $
 
 SHA1 (o3read-0.0.4.tar.gz) = aa8bcfc82b5327f3d86a35193c0a434e33107d09
 RMD160 (o3read-0.0.4.tar.gz) = c011a283fdc3ee6ff4c340519a4ef7f32c258f38
 Size (o3read-0.0.4.tar.gz) = 21075 bytes
-SHA1 (patch-aa) = aa16d6771f3ad76289318360b8d4725576293c69
+SHA1 (patch-aa) = ed5039ef9bf3a75955b102f6c0318a680d2f0dd4
diff -r 3dfce0d3e250 -r 3c217da1ea98 textproc/o3read/patches/patch-aa
--- a/textproc/o3read/patches/patch-aa  Tue Jul 07 20:57:19 2009 +0000
+++ b/textproc/o3read/patches/patch-aa  Tue Jul 07 20:58:04 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 20:58:04 joerg Exp $
 
 --- Makefile.orig      2005-01-07 09:28:47.000000000 +0100
 +++ Makefile
@@ -15,3 +15,16 @@
  DOCS = COPYING INSTALL README TODO ChangeLog filformat.sxw
  BINS = o3read o3totxt o3tohtml utf8tolatin1
  SRCS = o3read.h main.c o3read.c o3totxt.c o3tohtml.c utf8tolatin1.c
+@@ -42,9 +39,9 @@ strip: $(BINS)
+       strip $(BINS)
+ 
+ install: $(BINS)
+-      mkdir -p $(BINDIR) $(MANDIR)
+-      cp $(BINS) $(BINDIR)
+-      cp $(MANS) $(MANDIR)
++      mkdir -p ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)
++      cp $(BINS) ${DESTDIR}$(BINDIR)
++      cp $(MANS) ${DESTDIR}$(MANDIR)
+ 
+ uninstall:
+       cd $(BINDIR) && rm -f $(BINS)



Home | Main Index | Thread Index | Old Index