From 3b0d97b0de8516db29699676c860489da3f7f0e1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- emulators/vice/Makefile | 4 +++- emulators/vice/distinfo | 3 ++- emulators/vice/patches/patch-aa | 25 +++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 emulators/vice/patches/patch-aa (limited to 'emulators/vice') diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index 4d078e834c8..824ca4c5923 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.77 2008/01/16 11:11:23 drochner Exp $ +# $NetBSD: Makefile,v 1.78 2008/06/20 01:09:18 joerg Exp $ # DISTNAME= vice-1.22 @@ -11,6 +11,8 @@ MAINTAINER= kristerw@NetBSD.org HOMEPAGE= http://www.viceteam.org/ COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20 +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= ROM image copyright is questionable. NO_BIN_ON_CDROM= ${RESTRICTED} NO_SRC_ON_CDROM= ${RESTRICTED} diff --git a/emulators/vice/distinfo b/emulators/vice/distinfo index 34a0d4d646a..f147091864d 100644 --- a/emulators/vice/distinfo +++ b/emulators/vice/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.31 2007/08/30 12:23:00 wiz Exp $ +$NetBSD: distinfo,v 1.32 2008/06/20 01:09:18 joerg Exp $ SHA1 (vice-1.22.tar.gz) = 55e0047824f64173539e03ddd2d5ab51cd581fbb RMD160 (vice-1.22.tar.gz) = ca93fc424e617e38f27e288ebcdfbab2aa3659db Size (vice-1.22.tar.gz) = 6088483 bytes +SHA1 (patch-aa) = 16bc2420025494bee1eb6ed64c7b746f001406f7 SHA1 (patch-af) = 524913b7bc753dafde909bb26ace8f0500be14d5 diff --git a/emulators/vice/patches/patch-aa b/emulators/vice/patches/patch-aa new file mode 100644 index 00000000000..53a55148cbc --- /dev/null +++ b/emulators/vice/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.9 2008/06/20 01:10:02 joerg Exp $ + +--- po/Makefile.in.in.orig 2008-06-18 16:02:50.000000000 +0000 ++++ po/Makefile.in.in +@@ -116,16 +116,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; \ -- cgit v1.2.3