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/wxhugo | |
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/wxhugo')
-rw-r--r-- | games/wxhugo/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/wxhugo/Makefile b/games/wxhugo/Makefile index e02ce57ae2a..b42bd81f741 100644 --- a/games/wxhugo/Makefile +++ b/games/wxhugo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/05/15 21:05:49 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 06:59:06 jlam Exp $ # DISTNAME= hugov31_unix_source @@ -15,6 +15,8 @@ COMMENT= Interactive fiction interpreter with sound and graphics support DISTFILE_WX= hugov31_wxwin_source${EXTRACT_SUFX} #EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= hugo-3.1.02 USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -33,6 +35,6 @@ INSTALLATION_DIRS= bin .include "../../x11/wxGTK24/buildlink3.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hewx ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/hewx ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |