summaryrefslogtreecommitdiff
path: root/games/fruit/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 06:59:03 +0000
committerjlam <jlam>2008-03-04 06:59:03 +0000
commit769a84077c1badca9f84e031b0acccd322865a99 (patch)
tree85dcef76c01a75047f6f6e519e34539fa17ae348 /games/fruit/Makefile
parent7b123f326cdc00a4b734669b2ce16963198987ed (diff)
downloadpkgsrc-769a84077c1badca9f84e031b0acccd322865a99.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/fruit/Makefile')
-rw-r--r--games/fruit/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/fruit/Makefile b/games/fruit/Makefile
index 288edab14e4..7a2ac1fd732 100644
--- a/games/fruit/Makefile
+++ b/games/fruit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/02 20:05:20 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 06:59:04 jlam Exp $
#
DISTNAME= fruit_21_linux
@@ -11,10 +11,12 @@ MAINTAINER= rillig@NetBSD.org
HOMEPAGE= http://arctrix.com/nas/fruit/
COMMENT= Chess playing engine
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= src
USE_LANGUAGES= c++
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/fruit ${PREFIX}/bin/fruit
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/fruit ${DESTDIR}${PREFIX}/bin/fruit
.include "../../mk/bsd.pkg.mk"