diff options
Diffstat (limited to 'games/gnuchess-book')
-rw-r--r-- | games/gnuchess-book/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/gnuchess-book/Makefile b/games/gnuchess-book/Makefile index f21d5051c74..37065e2f166 100644 --- a/games/gnuchess-book/Makefile +++ b/games/gnuchess-book/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/03/04 21:29:41 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 06:59:04 jlam Exp $ # DISTNAME= book_1.01.pgn @@ -16,6 +16,8 @@ DEPENDS+= gnuchess>=5.07:../../games/gnuchess CONFLICTS+= gnuchess-book-* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} CHESS_ENGINE= gnuchess NO_CONFIGURE= yes @@ -33,7 +35,7 @@ do-build: @cd ${WRKSRC} && ${CAT} makebook.gnuchess | ${LOCALBASE}/bin/gnuchess 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" |