diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/arnold | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/arnold')
-rw-r--r-- | emulators/arnold/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/arnold/Makefile b/emulators/arnold/Makefile index 081b343dcd7..5547ec771ed 100644 --- a/emulators/arnold/Makefile +++ b/emulators/arnold/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/02/27 12:52:41 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= arnsrc27012002 @@ -12,6 +12,8 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://arnold.emuunlim.com/ COMMENT= Amstrad CPC, Amstrad CPC+ and KC Compact emulator +PKG_DESTDIR_SUPPORT= user-destdir + # we want case sensitive file names. EXTRACT_OPTS_ZIP= -aqo @@ -27,9 +29,10 @@ MAKE_ENV+= SHAREDIR=${SHAREDIR} AUTO_MKDIRS= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/arnold ${PREFIX}/bin - cd ${WRKSRC}/roms && pax -wr * ${SHAREDIR}/roms/ - cd ${WRKSRC} && ${INSTALL_DATA} readme.* ${PREFIX}/share/doc/arnold + ${INSTALL_PROGRAM} ${WRKSRC}/arnold ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC}/roms && pax -wr * ${DESTDIR}${SHAREDIR}/roms/ + cd ${WRKSRC} && ${INSTALL_DATA} readme.* \ + ${DESTDIR}${PREFIX}/share/doc/arnold .include "../../mk/oss.buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" |