diff options
Diffstat (limited to 'games/crafty-doc')
-rw-r--r-- | games/crafty-doc/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/crafty-doc/Makefile b/games/crafty-doc/Makefile index 4ca6db21032..41ccb8db969 100644 --- a/games/crafty-doc/Makefile +++ b/games/crafty-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/03/04 21:29:40 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 06:59:03 jlam Exp $ DISTNAME= crafty-doc-18.0 CATEGORIES= games @@ -8,6 +8,8 @@ DISTFILES= crafty.doc.ps MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Documentation for Crafty chess engine +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV} EXTRACT_ONLY= # empty NO_CONFIGURE= yes @@ -16,9 +18,10 @@ NO_BUILD= yes DOCDIR= ${PREFIX}/share/doc/crafty do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} for file in ${DISTFILES}; do \ - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$${file} ${DOCDIR}; \ + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$${file} \ + ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" |