summaryrefslogtreecommitdiff
path: root/games/adom
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 06:59:03 +0000
committerjlam <jlam>2008-03-04 06:59:03 +0000
commita5ad2f881e519990668be04e718e20f1b24c9005 (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/adom
parent5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff)
downloadpkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
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"