diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-16 19:12:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-16 19:12:00 +0000 |
commit | ecf7feebf8fb8de1f6967bb134f1f12dc36f2efb (patch) | |
tree | 950deea6baa27e406e7f6b0af1d43dbd2fd05113 /ham/tnt | |
parent | 36ff59238e0bdff20ab5a26b2a110ae844afcff4 (diff) | |
download | pkgsrc-ecf7feebf8fb8de1f6967bb134f1f12dc36f2efb.tar.gz |
DESTDIR support
Diffstat (limited to 'ham/tnt')
-rw-r--r-- | ham/tnt/Makefile | 3 | ||||
-rw-r--r-- | ham/tnt/distinfo | 3 | ||||
-rw-r--r-- | ham/tnt/patches/patch-ae | 25 |
3 files changed, 29 insertions, 2 deletions
diff --git a/ham/tnt/Makefile b/ham/tnt/Makefile index 9478ee06d6b..119c895cc0d 100644 --- a/ham/tnt/Makefile +++ b/ham/tnt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/12/09 13:08:42 obache Exp $ +# $NetBSD: Makefile,v 1.25 2009/02/16 19:20:16 joerg Exp $ # DISTNAME= tnt-1.9.2 @@ -12,6 +12,7 @@ COMMENT= Amateur packet radio terminal program for TNC2, AEA PK232 and PK88 DEPENDS+= dialog>=0.6z:../../misc/dialog PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake USE_PKGLOCALEDIR= yes diff --git a/ham/tnt/distinfo b/ham/tnt/distinfo index 5e314117968..27f24b374b4 100644 --- a/ham/tnt/distinfo +++ b/ham/tnt/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2007/12/09 13:08:42 obache Exp $ +$NetBSD: distinfo,v 1.9 2009/02/16 19:20:16 joerg Exp $ SHA1 (tnt-1.9.2.tar.gz) = 8826e7e730c3440113bf723e18bb136e91cef8f8 RMD160 (tnt-1.9.2.tar.gz) = 10e5812715d564f25797ff3d83124ad2b86f2a62 @@ -6,3 +6,4 @@ Size (tnt-1.9.2.tar.gz) = 920883 bytes SHA1 (patch-aa) = f2b6c9f22ffd4ef418f5aab6ca179d656e0a563c SHA1 (patch-ac) = 86865198639da69469c2766ec638898553eb7662 SHA1 (patch-ad) = 1735028a7a52cc75f83a3f3c9fd29a06c9dd0153 +SHA1 (patch-ae) = 0f952e74159cd2eed714b7f3ab62bf54c9fbd177 diff --git a/ham/tnt/patches/patch-ae b/ham/tnt/patches/patch-ae new file mode 100644 index 00000000000..d10012deff4 --- /dev/null +++ b/ham/tnt/patches/patch-ae @@ -0,0 +1,25 @@ +$NetBSD: patch-ae,v 1.1 2009/02/16 19:20:16 joerg Exp $ + +--- po/Makefile.in.in.orig 2009-02-16 20:17:28.000000000 +0100 ++++ po/Makefile.in.in +@@ -111,9 +111,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 \ +@@ -123,7 +123,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 \ |