View | Details | Raw Unified | Return to bug 138452
Collapse All | Expand All

(-)games/freedoko/Makefile (-5 / +8 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	freedoko
8
PORTNAME=	freedoko
9
PORTVERSION=	0.7.5
9
PORTVERSION=	0.7.6b
10
PORTREVISION=	1
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	SF/free-doko/FreeDoko%20source/${PORTVERSION}
11
MASTER_SITES=	SF/free-doko/FreeDoko%20source/${PORTVERSION}
13
DISTNAME=	FreeDoko_${PORTVERSION}.src
12
DISTNAME=	FreeDoko_${PORTVERSION}.src
Lines 22-42 Link Here
22
21
23
USE_ZIP=	yes
22
USE_ZIP=	yes
24
USE_GMAKE=	yes
23
USE_GMAKE=	yes
25
MAKE_ENV=	OS="${OPSYS}" DATADIR="${DATADIR}"
24
MAKE_ENV=	OS="${OPSYS}" DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
26
25
27
post-patch:
26
post-patch:
28
	@${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
27
	@${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
29
		's|\.\./data|$$(DATADIR)|g ; \
28
		's|\.\./data|$$(DATADIR)|g ; \
29
		 s|\.\./doc/manual|$$(DOCSDIR)/manual|g ; \
30
		 s|@echo $$(CXX)|@true $$(CXX)|g ; \
30
		 s|@echo $$(CXX)|@true $$(CXX)|g ; \
31
		 s|@$$(CXX)|$$(CXX)|g ; \
31
		 s|@$$(CXX)|$$(CXX)|g ; \
32
		 s|make -C|$$(MAKE) -C|g'
32
		 s|make -C|$$(MAKE) -C|g'
33
	@${RM} -rf ${WRKSRC}/../data/translations/fr/bak
33
	@${REINPLACE_CMD} -e '/\/X11\//d ; \
34
		 s|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/misc/setting.cpp
34
35
35
do-install:
36
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/FreeDoko ${PREFIX}/bin
37
	${INSTALL_PROGRAM} ${WRKSRC}/FreeDoko ${PREFIX}/bin
37
	${LN} -sf FreeDoko ${PREFIX}/bin/freedoko
38
	${LN} -sf FreeDoko ${PREFIX}/bin/freedoko
38
	@${MKDIR} ${DATADIR}
39
	@${MKDIR} ${DATADIR}
39
	${INSTALL_DATA} ${WRKSRC}/icon.png ${WRKSRC}/logo.png ${DATADIR}
40
.for file in icon.png logo.png
41
	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
42
.endfor
40
.for dir in backgrounds cardsets rules translations
43
.for dir in backgrounds cardsets rules translations
41
	@cd ${WRKSRC}/../data && ${FIND} ${dir} ! -name "*Makefile*" | \
44
	@cd ${WRKSRC}/../data && ${FIND} ${dir} ! -name "*Makefile*" | \
42
		${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
45
		${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
(-)games/freedoko/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (FreeDoko_0.7.5.src.zip) = 44419dd3a3f89931af96ec4422578be8
1
MD5 (FreeDoko_0.7.6b.src.zip) = b5316e4968267dcabaeaa04eefb2c013
2
SHA256 (FreeDoko_0.7.5.src.zip) = b4d61c0f273c7124188e8177e3d75af0d2a6d2ec420c45f9c90342168bd3451a
2
SHA256 (FreeDoko_0.7.6b.src.zip) = 1f6f17c3da453514cddad9ead79cf82712dcd316b6dd9658620a9f33795104b4
3
SIZE (FreeDoko_0.7.5.src.zip) = 9114898
3
SIZE (FreeDoko_0.7.6b.src.zip) = 9234498
(-)games/freedoko/pkg-plist (-34 / +4 lines)
Lines 24-29 Link Here
24
%%PORTDOCS%%%%DOCSDIR%%/en/README.txt
24
%%PORTDOCS%%%%DOCSDIR%%/en/README.txt
25
%%PORTDOCS%%%%DOCSDIR%%/en/Windows
25
%%PORTDOCS%%%%DOCSDIR%%/en/Windows
26
%%PORTDOCS%%%%DOCSDIR%%/en/shortrules.tex
26
%%PORTDOCS%%%%DOCSDIR%%/en/shortrules.tex
27
%%PORTDOCS%%%%DOCSDIR%%/freedoko.sgml
27
%%PORTDOCS%%%%DOCSDIR%%/hpux.required_libs.txt
28
%%PORTDOCS%%%%DOCSDIR%%/hpux.required_libs.txt
28
%%DATADIR%%/backgrounds/table.png
29
%%DATADIR%%/backgrounds/table.png
29
%%DATADIR%%/cardsets/xskat/COPYRIGHT
30
%%DATADIR%%/cardsets/xskat/COPYRIGHT
Lines 106-115 Link Here
106
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.diamond.png
107
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.diamond.png
107
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.heart.png
108
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.heart.png
108
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.spade.png
109
%%DATADIR%%/cardsets/xskat/french/icons/swines-hyperswines.spade.png
109
%%DATADIR%%/cardsets/xskat/french/icons/swines.heart.png
110
%%DATADIR%%/cardsets/xskat/french/icons/swines.spade.png
111
%%DATADIR%%/cardsets/xskat/french/icons/swines.club.png
110
%%DATADIR%%/cardsets/xskat/french/icons/swines.club.png
112
%%DATADIR%%/cardsets/xskat/french/icons/swines.diamond.png
111
%%DATADIR%%/cardsets/xskat/french/icons/swines.diamond.png
112
%%DATADIR%%/cardsets/xskat/french/icons/swines.heart.png
113
%%DATADIR%%/cardsets/xskat/french/icons/swines.spade.png
113
%%DATADIR%%/cardsets/xskat/german/COPYRIGHT
114
%%DATADIR%%/cardsets/xskat/german/COPYRIGHT
114
%%DATADIR%%/cardsets/xskat/german/backs/christmas/candle.png
115
%%DATADIR%%/cardsets/xskat/german/backs/christmas/candle.png
115
%%DATADIR%%/cardsets/xskat/german/backs/christmas/christmasdog.png
116
%%DATADIR%%/cardsets/xskat/german/backs/christmas/christmasdog.png
Lines 198-204 Link Here
198
%%DATADIR%%/rules/beginner
199
%%DATADIR%%/rules/beginner
199
%%DATADIR%%/rules/standard
200
%%DATADIR%%/rules/standard
200
%%DATADIR%%/rules/tournament
201
%%DATADIR%%/rules/tournament
201
%%DATADIR%%/translations/de-alt/text
202
%%DATADIR%%/translations/de/aiconfig
202
%%DATADIR%%/translations/de/aiconfig
203
%%DATADIR%%/translations/de/aiconfig.heuristics.description
203
%%DATADIR%%/translations/de/aiconfig.heuristics.description
204
%%DATADIR%%/translations/de/basistypes
204
%%DATADIR%%/translations/de/basistypes
Lines 214-219 Link Here
214
%%DATADIR%%/translations/de/settings
214
%%DATADIR%%/translations/de/settings
215
%%DATADIR%%/translations/de/text
215
%%DATADIR%%/translations/de/text
216
%%DATADIR%%/translations/de/versions
216
%%DATADIR%%/translations/de/versions
217
%%DATADIR%%/translations/de-alt/text
217
%%DATADIR%%/translations/en/aiconfig
218
%%DATADIR%%/translations/en/aiconfig
218
%%DATADIR%%/translations/en/aiconfig.heuristics.description
219
%%DATADIR%%/translations/en/aiconfig.heuristics.description
219
%%DATADIR%%/translations/en/basistypes
220
%%DATADIR%%/translations/en/basistypes
Lines 244-280 Link Here
244
%%DATADIR%%/translations/fr/settings
245
%%DATADIR%%/translations/fr/settings
245
%%DATADIR%%/translations/fr/text
246
%%DATADIR%%/translations/fr/text
246
%%DATADIR%%/translations/fr/versions
247
%%DATADIR%%/translations/fr/versions
247
%%DATADIR%%/translations/t/fr/rules
248
%%DATADIR%%/translations/t/fr/cards
249
%%DATADIR%%/translations/t/fr/basistypes
250
%%DATADIR%%/translations/t/fr/messages
251
%%DATADIR%%/translations/t/fr/menu
252
%%DATADIR%%/translations/t/fr/gui
253
%%DATADIR%%/translations/t/fr/chat
254
%%DATADIR%%/translations/t/fr/versions
255
%%DATADIR%%/translations/t/fr/settings
256
%%DATADIR%%/translations/t/fr/network
257
%%DATADIR%%/translations/t/fr/bug_report
258
%%DATADIR%%/translations/t/fr/text
259
%%DATADIR%%/translations/t/fr/help
260
%%DATADIR%%/translations/t/fr/aiconfig
261
%%DATADIR%%/translations/t/fr2/rules
262
%%DATADIR%%/translations/t/fr2/cards
263
%%DATADIR%%/translations/t/fr2/basistypes
264
%%DATADIR%%/translations/t/fr2/messages
265
%%DATADIR%%/translations/t/fr2/menu
266
%%DATADIR%%/translations/t/fr2/gui
267
%%DATADIR%%/translations/t/fr2/chat
268
%%DATADIR%%/translations/t/fr2/versions
269
%%DATADIR%%/translations/t/fr2/settings
270
%%DATADIR%%/translations/t/fr2/network
271
%%DATADIR%%/translations/t/fr2/bug_report
272
%%DATADIR%%/translations/t/fr2/text
273
%%DATADIR%%/translations/t/fr2/help
274
%%DATADIR%%/translations/t/fr2/aiconfig
275
@dirrm %%DATADIR%%/translations/t/fr2
276
@dirrm %%DATADIR%%/translations/t/fr
277
@dirrm %%DATADIR%%/translations/t
278
@dirrm %%DATADIR%%/translations/fr
248
@dirrm %%DATADIR%%/translations/fr
279
@dirrm %%DATADIR%%/translations/en
249
@dirrm %%DATADIR%%/translations/en
280
@dirrm %%DATADIR%%/translations/de-alt
250
@dirrm %%DATADIR%%/translations/de-alt

Return to bug 138452