diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/wxhugo | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.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" |