diff options
Diffstat (limited to 'games/gnuchess-book-medium/Makefile')
-rw-r--r-- | games/gnuchess-book-medium/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/gnuchess-book-medium/Makefile b/games/gnuchess-book-medium/Makefile index 01b0120e19c..a301e609738 100644 --- a/games/gnuchess-book-medium/Makefile +++ b/games/gnuchess-book-medium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/03/04 21:29:41 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/04 06:59:04 jlam Exp $ DISTNAME= medium PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511 @@ -14,6 +14,8 @@ DEPENDS+= gnuchess>=5.07:../../games/gnuchess CONFLICTS= ${CHESS_ENGINE}-book-* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} CHESS_ENGINE= gnuchess DIST_SUBDIR= chessbooks @@ -32,7 +34,7 @@ do-build: @cd ${WRKSRC} && ${CAT} makebook.gnuchess | ${PREFIX}/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" |