pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ebview DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcce9fd028bf
branches:  trunk
changeset: 554752:fcce9fd028bf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 19 16:43:13 2009 +0000

description:
DESTDIR support

diffstat:

 textproc/ebview/Makefile         |   4 +++-
 textproc/ebview/distinfo         |   5 ++++-
 textproc/ebview/patches/patch-ac |  21 +++++++++++++++++++++
 textproc/ebview/patches/patch-ad |  23 +++++++++++++++++++++++
 textproc/ebview/patches/patch-ae |  25 +++++++++++++++++++++++++
 5 files changed, 76 insertions(+), 2 deletions(-)

diffs (114 lines):

diff -r a76e3b64fd60 -r fcce9fd028bf textproc/ebview/Makefile
--- a/textproc/ebview/Makefile  Thu Feb 19 16:36:25 2009 +0000
+++ b/textproc/ebview/Makefile  Thu Feb 19 16:43:13 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/06/09 14:33:49 obache Exp $
+# $NetBSD: Makefile,v 1.4 2009/02/19 16:43:13 joerg Exp $
 
 DISTNAME=              ebview-0.3.6
 CATEGORIES=            textproc
@@ -8,6 +8,8 @@
 HOMEPAGE=              http://ebview.sourceforge.net/
 COMMENT=               GTK2 based EPWING dictionary browser
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_PKGLOCALEDIR=      YES
 USE_TOOLS+=            gmake pkg-config msgfmt
 GNU_CONFIGURE=         YES
diff -r a76e3b64fd60 -r fcce9fd028bf textproc/ebview/distinfo
--- a/textproc/ebview/distinfo  Thu Feb 19 16:36:25 2009 +0000
+++ b/textproc/ebview/distinfo  Thu Feb 19 16:43:13 2009 +0000
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/12/12 08:34:16 obache Exp $
+$NetBSD: distinfo,v 1.2 2009/02/19 16:43:13 joerg Exp $
 
 SHA1 (ebview-0.3.6.tar.gz) = 47b63fb2f265c83cc5bf7aeb92f96d0e1cc7f9af
 RMD160 (ebview-0.3.6.tar.gz) = c32de00be68c13794f2c1d9c08edc34fc5dcb613
 Size (ebview-0.3.6.tar.gz) = 564915 bytes
 SHA1 (patch-aa) = 8ecee1eeb1fddb9f1378a3258c8b8ae9a91c1640
 SHA1 (patch-ab) = ffedc7cc8b931f63f5a661314ef3703f88498434
+SHA1 (patch-ac) = 642df47bfd8bd421ec3788e6054397c2a52f49ab
+SHA1 (patch-ad) = d8c111b61ac1100caf6963c26e485c42616702f8
+SHA1 (patch-ae) = 71043b455d7c0ea4ef237d3ab7c1c2d6f8e91f92
diff -r a76e3b64fd60 -r fcce9fd028bf textproc/ebview/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebview/patches/patch-ac  Thu Feb 19 16:43:13 2009 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2009/02/19 16:43:13 joerg Exp $
+
+--- data/Makefile.in.orig      2009-02-16 15:39:52.000000000 +0100
++++ data/Makefile.in
+@@ -304,13 +304,13 @@ check: all
+ 
+ install:
+       if test -r $(MKINSTALLDIRS); then \
+-              $(MKINSTALLDIRS) $(pkgdatadir); \
++              $(MKINSTALLDIRS) ${DESTDIR}$(pkgdatadir); \
+       else \
+-              $(top_srcdir)/mkinstalldirs $(pkgdatadir); \
++              $(top_srcdir)/mkinstalldirs ${DESTDIR}$(pkgdatadir); \
+       fi; \
+       data="$(data)"; \
+       for file in $$data; do \
+-              $(INSTALL_DATA) $(srcdir)/$$file $(pkgdatadir)/$$file; \
++              $(INSTALL_DATA) $(srcdir)/$$file ${DESTDIR}$(pkgdatadir)/$$file; \
+       done;
+ 
+ # Define this as empty until I found a useful application.
diff -r a76e3b64fd60 -r fcce9fd028bf textproc/ebview/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebview/patches/patch-ad  Thu Feb 19 16:43:13 2009 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1 2009/02/19 16:43:13 joerg Exp $
+
+--- doc/Makefile.in.orig       2009-02-16 15:46:52.000000000 +0100
++++ doc/Makefile.in
+@@ -308,15 +308,15 @@ install:
+       dir="$(dir)"; \
+       for lang in $$dir; do \
+               if test -r $(MKINSTALLDIRS); then \
+-                      $(MKINSTALLDIRS) $(pkgdatadir)/help/$$lang; \
++                      $(MKINSTALLDIRS) ${DESTDIR}$(pkgdatadir)/help/$$lang; \
+               else \
+-                      $(top_srcdir)/mkinstalldirs $(pkgdatadir)/help/$$lang; \
++                      $(top_srcdir)/mkinstalldirs ${DESTDIR}$(pkgdatadir)/help/$$lang; \
+               fi; \
+       done; \
+       data="$(data)"; \
+       for lang in $$dir; do \
+               for file in $$data; do \
+-                      $(INSTALL_DATA) $(srcdir)/$$lang/$$file $(pkgdatadir)/help/$$lang/$$file; \
++                      $(INSTALL_DATA) $(srcdir)/$$lang/$$file ${DESTDIR}$(pkgdatadir)/help/$$lang/$$file; \
+               done; \
+       done;
+ 
diff -r a76e3b64fd60 -r fcce9fd028bf textproc/ebview/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ebview/patches/patch-ae  Thu Feb 19 16:43:13 2009 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1 2009/02/19 16:43:13 joerg Exp $
+
+--- po/Makefile.in.in.orig     2009-02-19 17:39:10.000000000 +0100
++++ po/Makefile.in.in
+@@ -115,9 +115,9 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+       if test -r "$(MKINSTALLDIRS)"; then \
+-        $(MKINSTALLDIRS) $(datadir); \
++        $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+       else \
+-        $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++        $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+       fi
+       @catalogs='$(CATALOGS)'; \
+       for cat in $$catalogs; do \
+@@ -127,7 +127,7 @@ install-data-yes: all
+           *)     destdir=$(localedir);; \
+         esac; \
+         lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+-        dir=$$destdir/$$lang/LC_MESSAGES; \
++        dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \
+         if test -r "$(MKINSTALLDIRS)"; then \
+           $(MKINSTALLDIRS) $$dir; \
+         else \



Home | Main Index | Thread Index | Old Index