summaryrefslogtreecommitdiff
path: root/textproc/o3read
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 20:58:04 +0000
committerjoerg <joerg>2009-07-07 20:58:04 +0000
commit3e54d0e3088205072f92220d64b6df15e5b9aa28 (patch)
tree954def94ccf352f880fa943af5d6a9d2cec492a6 /textproc/o3read
parent2aa033c08b28a3992f2143cd70861d1143da5673 (diff)
downloadpkgsrc-3e54d0e3088205072f92220d64b6df15e5b9aa28.tar.gz
user-destdir support
Diffstat (limited to 'textproc/o3read')
-rw-r--r--textproc/o3read/Makefile4
-rw-r--r--textproc/o3read/distinfo4
-rw-r--r--textproc/o3read/patches/patch-aa15
3 files changed, 19 insertions, 4 deletions
diff --git a/textproc/o3read/Makefile b/textproc/o3read/Makefile
index e30f89fc592..7157a779fe9 100644
--- a/textproc/o3read/Makefile
+++ b/textproc/o3read/Makefile
@@ -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 @@ MAINTAINER= ghen@NetBSD.org
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 --git a/textproc/o3read/distinfo b/textproc/o3read/distinfo
index 17bc2a88ad4..8faea2c6d5b 100644
--- a/textproc/o3read/distinfo
+++ b/textproc/o3read/distinfo
@@ -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 --git a/textproc/o3read/patches/patch-aa b/textproc/o3read/patches/patch-aa
index 8ff4e75d029..57c4887c67b 100644
--- a/textproc/o3read/patches/patch-aa
+++ b/textproc/o3read/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
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)