summaryrefslogtreecommitdiff
path: root/games/xscavenger/Makefile
blob: f25fd20d46f8d55166cb1f076a5db869a0c84a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.15 2006/06/15 13:31:29 wiz Exp $
#

DISTNAME=	xscavenger-1.4.4
PKGREVISION=	2
CATEGORIES=	games x11
MASTER_SITES=	http://www.xdr.com/dash/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.xdr.com/dash/scavenger.html
COMMENT=	Loderunner clone with sound for X11

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_IMAKE=		yes
CONFIGURE_DIRS=		src
BUILD_DIRS=		${CONFIGURE_DIRS}
NO_INSTALL_MANPAGES=	yes
DEINSTALL_SRC=		${PKGDIR}/DEINSTALL
INSTALL_SRC=		# empty

CPPFLAGS+=	-DSOUNDDEV="\"${DEVOSSSOUND}\""

INSTALLATION_DIRS=	man/man6

.include "../../mk/oss.buildlink3.mk"

post-install:
	@${INSTALL_MAN} ${WRKSRC}/src/scavenger.6 ${PREFIX}/man/man6/
	@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scavenger
	@${INSTALL_MAN} ${WRKSRC}/DOC ${PREFIX}/share/doc/scavenger

.include "../../mk/bsd.pkg.mk"