diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-14 22:31:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-14 22:31:30 +0000 |
commit | 34926169837ef05e94cee9504e93bb23588a8622 (patch) | |
tree | 205c8c5056076421a60c5ebb9125f9a00f8a2968 /games/xscavenger | |
parent | 4e513a8d29f51fafe6725e3709dc42623c959714 (diff) | |
download | pkgsrc-34926169837ef05e94cee9504e93bb23588a8622.tar.gz |
DESTDIR support
Diffstat (limited to 'games/xscavenger')
-rw-r--r-- | games/xscavenger/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/xscavenger/Makefile b/games/xscavenger/Makefile index 2d118054508..1df5048bb35 100644 --- a/games/xscavenger/Makefile +++ b/games/xscavenger/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/01/07 09:13:55 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2010/02/14 22:31:30 joerg Exp $ # DISTNAME= xscavenger-1.4.4 @@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.xdr.com/dash/scavenger.html COMMENT= Loderunner clone with sound for X11 +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews USE_IMAKE= yes @@ -20,14 +21,13 @@ NO_INSTALL_MANPAGES= yes CPPFLAGS+= -DSOUNDDEV="\"${DEVOSSSOUND}\"" -INSTALLATION_DIRS= ${PKGMANDIR}/man6 +INSTALLATION_DIRS= ${PKGMANDIR}/man6 share/doc/scavenger .include "../../mk/oss.buildlink3.mk" post-install: - @${INSTALL_MAN} ${WRKSRC}/src/scavenger.6 ${PREFIX}/${PKGMANDIR}/man6/ - @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scavenger - @${INSTALL_MAN} ${WRKSRC}/DOC ${PREFIX}/share/doc/scavenger + ${INSTALL_MAN} ${WRKSRC}/src/scavenger.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/ + ${INSTALL_MAN} ${WRKSRC}/DOC ${DESTDIR}${PREFIX}/share/doc/scavenger .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" |