diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/gnuboy-sdl | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/gnuboy-sdl')
-rw-r--r-- | emulators/gnuboy-sdl/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/emulators/gnuboy-sdl/Makefile b/emulators/gnuboy-sdl/Makefile index 459c3a8f9a5..ed9c467b7ab 100644 --- a/emulators/gnuboy-sdl/Makefile +++ b/emulators/gnuboy-sdl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/06/12 16:28:06 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/03 19:21:38 jlam Exp $ DISTNAME= gnuboy-1.0.3 PKGNAME= ${DISTNAME:S/-/-sdl-/} @@ -10,18 +10,21 @@ MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://gnuboy.unix-fu.org/ COMMENT= SDL port of Gameboy emulator -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-sdl +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-sdl .include "../../devel/SDL/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy-sdl - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy-sdl - ${INSTALL_PROGRAM} ${WRKSRC}/sdlgnuboy ${PREFIX}/bin/gnuboy-sdl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gnuboy-sdl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gnuboy-sdl + ${INSTALL_PROGRAM} ${WRKSRC}/sdlgnuboy \ + ${DESTDIR}${PREFIX}/bin/gnuboy-sdl ${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \ - ${PREFIX}/share/examples/gnuboy-sdl/ + ${DESTDIR}${PREFIX}/share/examples/gnuboy-sdl/ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \ - ${PREFIX}/share/doc/gnuboy-sdl/ + ${DESTDIR}${PREFIX}/share/doc/gnuboy-sdl/ .include "../../mk/bsd.pkg.mk" |