summaryrefslogtreecommitdiff
path: root/games/xscavenger
diff options
context:
space:
mode:
Diffstat (limited to 'games/xscavenger')
-rw-r--r--games/xscavenger/Makefile10
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"