diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/exchess-book-medium | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/exchess-book-medium')
-rw-r--r-- | games/exchess-book-medium/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/exchess-book-medium/Makefile b/games/exchess-book-medium/Makefile index f465ad61908..ab967be3bac 100644 --- a/games/exchess-book-medium/Makefile +++ b/games/exchess-book-medium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:41 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:04 jlam Exp $ DISTNAME= medium PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511 @@ -14,6 +14,8 @@ DEPENDS+= exchess-[0-9]*:../../games/exchess CONFLICTS= ${CHESS_ENGINE}-book-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} CHESS_ENGINE= exchess DIST_SUBDIR= chessbooks @@ -43,7 +45,7 @@ do-build: cd ${WRKSRC} && exchess < ${CMDFILE} 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" |