From 358380ca0feda0ed50afe725d298453c2bb99694 Mon Sep 17 00:00:00 2001 From: heinz Date: Thu, 29 Nov 2007 20:52:07 +0000 Subject: Added support for installation to DESTDIR. --- games/vms-empire/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/games/vms-empire/Makefile b/games/vms-empire/Makefile index 1d556ac2526..3caa8f5464b 100644 --- a/games/vms-empire/Makefile +++ b/games/vms-empire/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/01/07 09:13:55 rillig Exp $ +# $NetBSD: Makefile,v 1.11 2007/11/29 20:52:07 heinz Exp $ # DISTNAME= vms-empire-1.7 @@ -9,11 +9,13 @@ MAINTAINER= pancake@phreaker.net HOMEPAGE= http://www.catb.org/~esr/vms-empire/ COMMENT= Solitaire Empire (sometimes called "VMS Empire") +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${PREFIX}/${PKGMANDIR}/man6/vms-empire.6 + ${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/vms-empire.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/vms-empire.6 .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3