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 | 29d85ddd6a393a4bfaf03a504f8916a55cec3687 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/polyglot | |
parent | 38dd76219d21c71b412129d8960dd0c0b88a92b8 (diff) | |
download | pkgsrc-29d85ddd6a393a4bfaf03a504f8916a55cec3687.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/polyglot')
-rw-r--r-- | games/polyglot/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games/polyglot/Makefile b/games/polyglot/Makefile index 241ba6ec8ac..ee4c00eb168 100644 --- a/games/polyglot/Makefile +++ b/games/polyglot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/17 15:24:32 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 06:59:05 jlam Exp $ # DISTNAME= polyglot_14 @@ -11,6 +11,8 @@ MAINTAINER= rillig@NetBSD.org HOMEPAGE= http://wbec-ridderkerk.nl/html/details/PolyGlot.html COMMENT= UCI to WB adapter (for chess engines) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/polyglot_14 BUILD_DIRS= src MAKE_FILE= ${FILESDIR}/Makefile @@ -39,8 +41,10 @@ do-build: ${CXX} ${CXXFLAGS} ${LDFLAGS} -lm -o polyglot ${SRCS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/polyglot ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/polyglot/ - ${INSTALL_DATA} ${WRKSRC}/fruit.ini ${PREFIX}/share/examples/polyglot/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/polyglot ${DESTDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/polyglot/ + ${INSTALL_DATA} ${WRKSRC}/fruit.ini \ + ${DESTDIR}${PREFIX}/share/examples/polyglot/ .include "../../mk/bsd.pkg.mk" |