pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/maketool DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/c9a35e8e6984
branches: trunk
changeset: 570441:c9a35e8e6984
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jan 29 19:03:44 2010 +0000
description:
DESTDIR support
diffstat:
devel/maketool/Makefile | 6 +++++-
devel/maketool/distinfo | 3 ++-
devel/maketool/patches/patch-aa | 25 +++++++++++++++++++++++++
3 files changed, 32 insertions(+), 2 deletions(-)
diffs (65 lines):
diff -r 5182b23566ff -r c9a35e8e6984 devel/maketool/Makefile
--- a/devel/maketool/Makefile Fri Jan 29 18:58:54 2010 +0000
+++ b/devel/maketool/Makefile Fri Jan 29 19:03:44 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/12/12 20:42:32 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2010/01/29 19:03:44 joerg Exp $
#
DISTNAME= maketool-0.7-src
@@ -11,11 +11,15 @@
HOMEPAGE= http://home.alphalink.com.au/~gnb/maketool/
COMMENT= Graphical front end to GNU make
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
diff -r 5182b23566ff -r c9a35e8e6984 devel/maketool/distinfo
--- a/devel/maketool/distinfo Fri Jan 29 18:58:54 2010 +0000
+++ b/devel/maketool/distinfo Fri Jan 29 19:03:44 2010 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 22:24:21 agc Exp $
+$NetBSD: distinfo,v 1.5 2010/01/29 19:03:44 joerg Exp $
SHA1 (maketool-0.7-src.tar.gz) = e1a8e1e9d52074e232ac43180e376ad50a7db7b5
RMD160 (maketool-0.7-src.tar.gz) = 74acc5c8d6f4933aef18e0d85c906e515f588035
Size (maketool-0.7-src.tar.gz) = 218108 bytes
+SHA1 (patch-aa) = 8874b77f39dbe578b40c45b0e6943c32a1977039
diff -r 5182b23566ff -r c9a35e8e6984 devel/maketool/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/maketool/patches/patch-aa Fri Jan 29 19:03:44 2010 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.7 2010/01/29 19:03:44 joerg Exp $
+
+--- po/Makefile.in.in.orig 2010-01-29 19:01:59.000000000 +0000
++++ po/Makefile.in.in
+@@ -111,16 +111,16 @@ 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 \
+ cat=`basename $$cat`; \
+ 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; \
Home |
Main Index |
Thread Index |
Old Index