blob: f6cf0fc63437702cf4a29653b109bceb14934f82 (
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
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.20 2006/06/12 16:28:11 wiz Exp $
#
DISTNAME= xrick-021212
PKGREVISION= 9
CATEGORIES= games
MASTER_SITES= http://www.bigorno.net/xrick/
EXTRACT_SUFX= .tgz
MAINTAINER= pino@dohd.org
HOMEPAGE= http://www.bigorno.net/xrick/
COMMENT= Rick Dangerous clone for X
RESTRICTED= Copyright of graphics, images, maps, and sounds is questionable.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
USE_TOOLS+= gmake gunzip
SUBST_CLASSES+= data
SUBST_STAGE.data= post-patch
SUBST_MESSAGE.data= Adjusting path to data.zip
SUBST_FILES.data= src/xrick.c
SUBST_SED.data= -e "s|data.zip|${PREFIX}/share/xrick/&|"
INSTALLATION_DIRS= bin man/man6
post-extract:
cd ${WRKSRC} && ${GUNZIP_CMD} xrick.6.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xrick.6 ${PREFIX}/man/man6
${INSTALL_DATA_DIR} ${PREFIX}/share/xrick
${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|