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/bridge-hands | |
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/bridge-hands')
-rw-r--r-- | games/bridge-hands/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/bridge-hands/Makefile b/games/bridge-hands/Makefile index 7de7fb30d83..76174f8ec3f 100644 --- a/games/bridge-hands/Makefile +++ b/games/bridge-hands/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:40 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:03 jlam Exp $ DISTNAME= hands-2.0.bsd386 PKGNAME= bridge-hands-2.0 @@ -11,6 +11,8 @@ COMMENT= Generate hands for duplicate bridge EXTRACT_ELEMENTS= hands/source +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/hands/source INSTALLATION_DIRS= bin @@ -19,6 +21,6 @@ do-build: -o hands hands.c ${LIBS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hands ${PREFIX}/bin/bridge-hands + ${INSTALL_PROGRAM} ${WRKSRC}/hands ${DESTDIR}${PREFIX}/bin/bridge-hands .include "../../mk/bsd.pkg.mk" |