diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/battleball | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/battleball')
-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" |