summaryrefslogtreecommitdiff
path: root/games/adom
diff options
context:
space:
mode:
Diffstat (limited to 'games/adom')
-rw-r--r--games/adom/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/adom/Makefile b/games/adom/Makefile
index c86abc31cae..7d63d169007 100644
--- a/games/adom/Makefile
+++ b/games/adom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:25 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:03 jlam Exp $
DISTNAME= adom-111-elf
PKGNAME= adom-1.1.1
@@ -13,13 +13,15 @@ COMMENT= Ancient Domains of Mystery - yet another roguelike game
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/adom
BUILD_DIRS= # empty
INSTALLATION_DIRS= bin share/doc/adom
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom
+ ${INSTALL_PROGRAM} ${WRKSRC}/adom ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/*.* ${DESTDIR}${PREFIX}/share/doc/adom
.include "../../mk/bsd.pkg.mk"