diff options
Diffstat (limited to 'games/battleball/Makefile')
-rw-r--r-- | games/battleball/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/battleball/Makefile b/games/battleball/Makefile index 48b0058f696..95d5878dda8 100644 --- a/games/battleball/Makefile +++ b/games/battleball/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2008/01/19 09:16:20 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/04 06:59:03 jlam Exp $ DISTNAME= battleball.21.src PKGNAME= battleball-2.1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://web.archive.org/web/*/http://www.cs.utexas.edu/users/pahardin/bb.html COMMENT= 3d game of soccer, with tanks +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/battleball-2.1-src USE_LANGUAGES= c c++ @@ -24,7 +26,7 @@ do-configure: ${SED} ${SED_CMDS} < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${DESTDIR}${PREFIX}/bin/ .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |