diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 29d85ddd6a393a4bfaf03a504f8916a55cec3687 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/fruit | |
parent | 38dd76219d21c71b412129d8960dd0c0b88a92b8 (diff) | |
download | pkgsrc-29d85ddd6a393a4bfaf03a504f8916a55cec3687.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')
-rw-r--r-- | games/fruit/Makefile | 6 |
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" |