blob: 757109a7fd5c8b40a5d2c9e0dff56110bfe73e63 (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: glpuzzle
# Date created: 09 Jan 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= jigzo
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.iua.upf.es/~mdeboer/resorama/jigzo/ \
http://mirror.amdmi3.ru/distfiles/
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= An OpenGL jigsaw puzzle game
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.10:${PORTSDIR}/graphics/jpeg
USE_SDL= sdl mixer
USE_GL= gl
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
PORTDOCS= *
DESKTOP_ENTRIES="Jigzo" \
"An OpenGL jigsaw puzzle game" \
"" \
"jigzo" \
"Game;LogicGame;KidsGame;" \
false
post-patch:
.for i in font image puzzles sound
@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
${WRKSRC}/src/main.cxx
.endfor
@${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -rf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
${DATADIR}/
.ifndef (NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|