pkgsrc/games/crafty-doc/Makefile
jlam 0c6a3253fe Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 06:59:03 +00:00

27 lines
636 B
Makefile

# $NetBSD: Makefile,v 1.11 2008/03/04 06:59:03 jlam Exp $
DISTNAME= crafty-doc-18.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/v18/
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
NO_BUILD= yes
DOCDIR= ${PREFIX}/share/doc/crafty
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
for file in ${DISTFILES}; do \
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$${file} \
${DESTDIR}${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"