diff options
Diffstat (limited to 'games/exchess/Makefile')
-rw-r--r-- | games/exchess/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/games/exchess/Makefile b/games/exchess/Makefile index 51d49f536f7..aea0467985f 100644 --- a/games/exchess/Makefile +++ b/games/exchess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/10/04 21:43:00 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2010/01/29 20:29:26 joerg Exp $ DISTNAME= EXCH314S # 5.01beta available @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://personal.denison.edu/~homand/EXchess.htm COMMENT= Experimental chess engine +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ NO_CONFIGURE= yes @@ -27,8 +29,11 @@ post-build: ${SED} -e "s,@PREFIX@,${PREFIX},g" \ < ${WRKSRC}/search.par.in > ${WRKSRC}/search.par -post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCDIR} +INSTALLATION_DIRS+= bin lib/exchess ${DOCDIR} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/exchess ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/search.par ${DESTDIR}${PREFIX}/lib/exchess + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" |