diff options
Diffstat (limited to 'games/crafty-book-small')
-rw-r--r-- | games/crafty-book-small/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/crafty-book-small/Makefile b/games/crafty-book-small/Makefile index c4e1b11bcef..9038d658678 100644 --- a/games/crafty-book-small/Makefile +++ b/games/crafty-book-small/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:40 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:03 jlam Exp $ DISTNAME= small PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511 @@ -14,6 +14,8 @@ DEPENDS+= crafty>=17.0:../../games/crafty CONFLICTS= ${CHESS_ENGINE}-book-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} CHESS_ENGINE= crafty DIST_SUBDIR= chessbooks @@ -35,7 +37,7 @@ do-build: cd ${WRKSRC} && crafty bookpath=. do-install: - ${INSTALL_DATA_DIR} ${BOOKDIR} - ${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${BOOKDIR} + ${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${DESTDIR}${BOOKDIR} .include "../../mk/bsd.pkg.mk" |