pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/vms-empire Added support for installation to DES...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90b8557acfb1
branches:  trunk
changeset: 535886:90b8557acfb1
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Thu Nov 29 20:52:07 2007 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 games/vms-empire/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 9ac8373ebf3b -r 90b8557acfb1 games/vms-empire/Makefile
--- a/games/vms-empire/Makefile Thu Nov 29 20:50:45 2007 +0000
+++ b/games/vms-empire/Makefile Thu Nov 29 20:52:07 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index