summaryrefslogtreecommitdiff
path: root/emulators/Cygne-SDL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/Cygne-SDL/Makefile')
-rw-r--r--emulators/Cygne-SDL/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/emulators/Cygne-SDL/Makefile b/emulators/Cygne-SDL/Makefile
index 730eb7eaf23..a281dd49616 100644
--- a/emulators/Cygne-SDL/Makefile
+++ b/emulators/Cygne-SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/12/18 01:34:54 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 19:21:37 jlam Exp $
#
DISTNAME= Cygne-SDL-0.1-src
@@ -14,6 +14,8 @@ COMMENT= Bandai Wonderswan Color handheld emulator
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
BUILD_DEPENDS+= zip>=2.0:../../archivers/zip
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/Cygne-SDL-0.1
MAKE_FILE= Makefiles/Makefile.unix
NO_CONFIGURE= yes
@@ -30,14 +32,14 @@ post-build:
${LOCALBASE}/bin/zip Wondersnake.zip Wondersnake.wsc
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${PREFIX}/bin/Cygne-SDL
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Cygne-SDL
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Cygne-SDL
- ${INSTALL_DATA_DIR} ${PREFIX}/share/Cygne-SDL
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/cygne ${DESTDIR}${PREFIX}/bin/Cygne-SDL
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Cygne-SDL
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/Cygne-SDL
${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.txt \
- ${PREFIX}/share/Cygne-SDL
+ ${DESTDIR}${PREFIX}/share/Cygne-SDL
${INSTALL_DATA} ${WRKSRC}/WonderSnake/Wondersnake.zip \
- ${PREFIX}/share/Cygne-SDL
+ ${DESTDIR}${PREFIX}/share/Cygne-SDL
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"