Update to 20100819 snapshot.

Add destdir support.
This commit is contained in:
Ryo ONODERA 2010-08-21 09:10:51 +00:00 committed by Thomas Klausner
parent 94019aa8c6
commit 86cd8b162d
3 changed files with 13 additions and 15 deletions

View file

@ -1,11 +1,9 @@
# $NetBSD: Makefile,v 1.3 2010/07/05 21:05:07 ryo-on Exp $
# $NetBSD: Makefile,v 1.4 2010/08/21 09:10:51 ryo-on Exp $
#
DISTNAME= arcem-20090925-src
PKGNAME= ${DISTNAME:S/-src//}
DISTNAME= arcem-20100819
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://ryo-on.users.sourceforge.net/distrib/
MASTER_SITES= http://ryo-on.users.sourceforge.net/distrib/
EXTRACT_SUFX= .tar.bz2
PKG_DESTDIR_SUPPORT= user-destdir
@ -30,7 +28,6 @@ MAINTAINER= ryo_on@yk.rim.or.jp
HOMEPAGE= http://arcem.sourceforge.net/
COMMENT= Dave Gilbert's Acorn Archimedes emulator
WRKSRC= ${WRKDIR}/arcem
USE_TOOLS+= gmake
MAKE_ENV+= SYSTEM=X

View file

@ -1,12 +1,12 @@
$NetBSD: distinfo,v 1.1.1.1 2009/12/11 14:06:24 ryo-on Exp $
$NetBSD: distinfo,v 1.2 2010/08/21 09:10:51 ryo-on Exp $
SHA1 (HardImage1.gz) = ab3c2ddd5a913a4051d4c21707e7701b27a103f3
RMD160 (HardImage1.gz) = 09176071c9c325b50a3a2074938789f4e6136d44
Size (HardImage1.gz) = 3545800 bytes
SHA1 (arcem-20090925-src.tar.bz2) = 87c67522bef29eabc21f1bb7d5218e6b89b1314a
RMD160 (arcem-20090925-src.tar.bz2) = fe05cf6e87e4112712baad629f169f8d6e826faf
Size (arcem-20090925-src.tar.bz2) = 1222259 bytes
SHA1 (arcem-20100819.tar.bz2) = 94fc43f39ee11aa74069c3343b49ccea65a6516c
RMD160 (arcem-20100819.tar.bz2) = acfcbde866f36db78a0709a1d987d6e344b6372a
Size (arcem-20100819.tar.bz2) = 1224157 bytes
SHA1 (linux.rom.gz) = 5a3ed7b8bf7e560d14ede14232e50a40a96f9147
RMD160 (linux.rom.gz) = 5bf035a3e6f054a61de62fcf880c52c996f503c6
Size (linux.rom.gz) = 341085 bytes
SHA1 (patch-aa) = 3cbc5efa755423d490640b309977f568ea833e7a
SHA1 (patch-aa) = 8af354b6921196f5078d54508a7e41a2554f3597

View file

@ -1,6 +1,6 @@
$NetBSD: patch-aa,v 1.1.1.1 2009/12/11 14:06:24 ryo-on Exp $
$NetBSD: patch-aa,v 1.2 2010/08/21 09:10:51 ryo-on Exp $
--- Makefile.orig 2009-12-05 08:19:39.000000000 +0900
--- Makefile.orig 2008-11-01 17:40:54.000000000 +0000
+++ Makefile
@@ -67,9 +67,7 @@ CFLAGS += \
-D$(ENDIAN) $(CFL) -DNOOS -DNOFPE $(WARN) \
@ -9,7 +9,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/12/11 14:06:24 ryo-on Exp $
-prefix=/usr/local
-
-INSTALL_DIR = $(prefix)/bin
+INSTALL_DIR = $(PREFIX)/bin
+INSTALL_DIR = ${DESTDIR}$(PREFIX)/bin
INSTALL=cp
@ -24,11 +24,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/12/11 14:06:24 ryo-on Exp $
endif
ifeq (${SYSTEM},win)
@@ -190,7 +188,6 @@ all: $(TARGET)
@@ -190,7 +188,7 @@ all: $(TARGET)
install: all
$(INSTALL) $(TARGET) $(INSTALL_DIR)
- f=arcemrc; test -f $$HOME/.$$f || $(INSTALL) $$f $(HOME)/.$$f
+# f=arcemrc; test -f $$HOME/.$$f || $(INSTALL) $$f $(HOME)/.$$f
$(TARGET): $(OBJS) $(MODEL).o
$(LD) $(LDFLAGS) $(OBJS) $(LIBS) $(MODEL).o -o $@