diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 19:03:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 19:03:44 +0000 |
commit | 58a5e77873da17112296ce72492cdb2521c6d601 (patch) | |
tree | 3986ab4d5ef637b199c3a9fcfd780dd4da723dd3 /devel | |
parent | 324397fe514007883b323404c74ec8a95df12629 (diff) | |
download | pkgsrc-58a5e77873da17112296ce72492cdb2521c6d601.tar.gz |
DESTDIR support
Diffstat (limited to 'devel')
-rw-r--r-- | devel/maketool/Makefile | 6 | ||||
-rw-r--r-- | devel/maketool/distinfo | 3 | ||||
-rw-r--r-- | devel/maketool/patches/patch-aa | 25 |
3 files changed, 32 insertions, 2 deletions
diff --git a/devel/maketool/Makefile b/devel/maketool/Makefile index 5315025b8bb..0c6cb7bcca6 100644 --- a/devel/maketool/Makefile +++ b/devel/maketool/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 --git a/devel/maketool/distinfo b/devel/maketool/distinfo index 34e9b8df428..19c1d6cd3c3 100644 --- a/devel/maketool/distinfo +++ b/devel/maketool/distinfo @@ -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 --git a/devel/maketool/patches/patch-aa b/devel/maketool/patches/patch-aa new file mode 100644 index 00000000000..64ed5de18c8 --- /dev/null +++ b/devel/maketool/patches/patch-aa @@ -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; \ |