blob: 4f40ba6a3ad57e64c3fbc35d5af40cd862833a47 (
plain) (
blame)
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
41
42
43
|
# New ports collection makefile for: rezerwar
# Date created: 09 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rezerwar
PORTVERSION= 0.3
CATEGORIES= games
MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game involving organizing blocks with pipes
USE_GMAKE= yes
USE_SDL= sdl mixer
HAS_CONFIGURE= yes
CONFIGURE_ARGS= Unix
MAKE_JOBS_SAFE= yes
PORTDOCS= *
post-extract:
@${FIND} ${WRKSRC}/data -name Makefile -delete
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/mkfiles/config_h_unix
# @${REINPLACE_CMD} -e 's|hiscore.dat|.rezerwar.hiscore|' \
# ${WRKSRC}/src/hiscore.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/rezerwar ${PREFIX}/bin/
${MKDIR} ${DATADIR}
cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
.endif
.include <bsd.port.mk>
|