summaryrefslogtreecommitdiff
path: root/misc/pinfo
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /misc/pinfo
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'misc/pinfo')
-rw-r--r--misc/pinfo/Makefile4
-rw-r--r--misc/pinfo/distinfo3
-rw-r--r--misc/pinfo/patches/patch-ad24
3 files changed, 29 insertions, 2 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
index ab4b67e157c..71beb5a6bc8 100644
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2008/01/04 07:49:35 obache Exp $
+# $NetBSD: Makefile,v 1.33 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= pinfo-0.6.1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pinfo.alioth.debian.org/
COMMENT= Przemek's Info Viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
diff --git a/misc/pinfo/distinfo b/misc/pinfo/distinfo
index 5ee6e066b2b..dcb12ee5368 100644
--- a/misc/pinfo/distinfo
+++ b/misc/pinfo/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2006/04/05 22:54:59 jlam Exp $
+$NetBSD: distinfo,v 1.7 2008/06/12 02:14:37 joerg Exp $
SHA1 (pinfo-0.6.1.tar.gz) = f0444f4eb3bad4f10ad96c971d7bcd553b567ef4
RMD160 (pinfo-0.6.1.tar.gz) = 85313caf3323f00720bd319dffd2593025745779
@@ -6,3 +6,4 @@ Size (pinfo-0.6.1.tar.gz) = 271015 bytes
SHA1 (patch-aa) = e2d7d0e8ccbe5db276fb736d22682bb8f719eb98
SHA1 (patch-ab) = f089af56a969af630e2cb886aa8fb40be055eca7
SHA1 (patch-ac) = 7dbddcf81e9ad6ff00dadd8a93cf2c160992ce75
+SHA1 (patch-ad) = 29a395521ab7e08960fb7200f1dd4e0721d1895d
diff --git a/misc/pinfo/patches/patch-ad b/misc/pinfo/patches/patch-ad
new file mode 100644
index 00000000000..9569dd8256d
--- /dev/null
+++ b/misc/pinfo/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.3 2008/06/12 02:14:37 joerg Exp $
+
+--- po/Makefile.in.in.orig 2008-06-11 09:15:29.000000000 +0000
++++ po/Makefile.in.in
+@@ -124,15 +124,15 @@ 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 \
+- $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \