View | Details | Raw Unified | Return to bug 178001 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-14 / +25 lines)
Lines 1-12 Link Here
1
# Created by:	nemysis@gmx.ch
1
# Created by: nemysis <nemysis@gmx.ch>
2
# $FreeBSD: head/games/capitalism/Makefile 310871 2013-01-23 15:00:18Z makc $
2
# $FreeBSD: head/games/capitalism/Makefile 310871 2013-01-23 15:00:18Z makc $
3
3
4
PORTNAME=	capitalism
4
PORTNAME=	capitalism
5
PORTVERSION=	0.5.1
5
PORTVERSION=	0.5.1
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	games
7
CATEGORIES=	games
8
MASTER_SITES=	http://www.linux-ecke.de/Capitalism/packages/0.5/
8
MASTER_SITES=	SF/${PORTNAME}/Capitalism/0.5/
9
DISTNAME=	${PORTNAME}_${DISTVERSION}
10
EXTRACT_SUFX=	.tbz
9
EXTRACT_SUFX=	.tbz
11
10
12
MAINTAINER=	nemysis@gmx.ch
11
MAINTAINER=	nemysis@gmx.ch
Lines 22-70 Link Here
22
		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
21
		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
23
		xcb:${PORTSDIR}/x11/libxcb
22
		xcb:${PORTSDIR}/x11/libxcb
24
23
25
USE_GETTEXT=	yes
24
WRKSRC=		${WRKDIR}/Capitalism-${PORTVERSION}
25
26
USE_ICONV=	yes
26
USE_ICONV=	yes
27
USE_XORG=	ice sm x11 xau xdmcp xext xrender
27
USE_XORG=	ice sm x11 xau xdmcp xext xrender
28
USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats \
28
USE_QT4=	moc_build qmake_build rcc_build uic_build iconengines imageformats \
29
		corelib gui network script xml
29
		corelib gui network script xml
30
INSTALLS_ICONS=	yes
31
MAKE_JOBS_SAFE=	yes
30
MAKE_JOBS_SAFE=	yes
32
31
33
PORTDOCS=	README changelog
32
PORTDOCS=	README changelog readme.txt
34
33
35
WRKSRC=		${WRKDIR}/Capitalism_${PORTVERSION}
34
INSTALLS_ICONS=	yes
36
ICON_SIZES=	16x16 22x22 24x24 32x32 48x48 64x64
35
ICON_SIZES=	16x16 22x22 24x24 32x32 48x48 64x64
37
36
38
DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \
37
DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \
39
		"${PORTNAME}" "Game;BoardGame;" ${FALSE}
38
		"${PORTNAME}" "Game;BoardGame;" false
39
40
OPTIONS_DEFINE=	NLS
40
41
41
.include <bsd.port.options.mk>
42
.include <bsd.port.options.mk>
42
43
44
.if ${PORT_OPTIONS:MNLS}
45
USE_GETTEXT=	yes
46
PLIST_SUB+=	NLS=""
47
.else
48
PLIST_SUB+=	NLS="@comment "
49
.endif
50
43
do-configure:
51
do-configure:
44
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
52
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
45
	${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
53
	${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
46
54
47
post-configure:
55
post-configure:
48
	@${REINPLACE_CMD} 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile
56
	@${REINPLACE_CMD} -e 's|-O2 -Wall -W||g' ${WRKSRC}/Makefile
49
57
50
do-install:
58
do-install:
51
	${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${PREFIX}/bin/${PORTNAME}
59
	${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${PREFIX}/bin/${PORTNAME}
52
60
53
.for d in games images ts
61
.for d in games images
54
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
62
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
55
.endfor
63
.endfor
56
64
65
.if ${PORT_OPTIONS:MNLS}
66
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${DATADIR})
67
.endif
68
57
post-install:
69
post-install:
58
.for s in ${ICON_SIZES}
70
.for s in ${ICON_SIZES}
59
	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
71
	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
60
	${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
72
	${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \
61
		${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
73
		${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
62
.endfor
74
.endfor
63
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
75
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
64
		${PREFIX}/share/pixmaps
65
76
66
.if ${PORT_OPTIONS:MDOCS}
77
.if ${PORT_OPTIONS:MDOCS}
67
	${MKDIR} ${DOCSDIR}
78
	@${MKDIR} ${DOCSDIR}
68
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
79
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
69
.endif
80
.endif
70
81
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (capitalism_0.5.1.tbz) = 049baf35bf90bab35f06fe0963969362375b1d8a78efe70514f0527cfe725119
1
SHA256 (capitalism-0.5.1.tbz) = 9580bc11bd186a24fbc81b318d3c6620b072d827c019e2da44a5b1889c952895
2
SIZE (capitalism_0.5.1.tbz) = 343927
2
SIZE (capitalism-0.5.1.tbz) = 340835
(-)./pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Capitalism is a Client for the Monopd server.
1
Capitalism is a Client for the Monopd server.
2
You can play Monopoly like games with it.
2
You can play Monopoly like games with it.
3
3
4
WWW: http://www.linux-ecke.de/Capitalism/
4
WWW: https://sourceforge.net/projects/capitalism/
(-)./pkg-plist (-26 / +11 lines)
Lines 69-85 Link Here
69
%%DATADIR%%/images/tools/sellhouserow.png
69
%%DATADIR%%/images/tools/sellhouserow.png
70
%%DATADIR%%/images/tools/trade.png
70
%%DATADIR%%/images/tools/trade.png
71
%%DATADIR%%/images/tools/unmortage.png
71
%%DATADIR%%/images/tools/unmortage.png
72
%%DATADIR%%/ts/Capid_de.trans
72
%%NLS%%%%DATADIR%%/ts/Capid_de.trans
73
%%DATADIR%%/ts/Capitalism_de.qm
73
%%NLS%%%%DATADIR%%/ts/Capitalism_de.qm
74
%%DATADIR%%/ts/Capitalism_de.ts
74
%%NLS%%%%DATADIR%%/ts/Capitalism_de.ts
75
%%DATADIR%%/ts/Capitalism_es.qm
75
%%NLS%%%%DATADIR%%/ts/Capitalism_es.qm
76
%%DATADIR%%/ts/Capitalism_es.ts
76
%%NLS%%%%DATADIR%%/ts/Capitalism_es.ts
77
%%DATADIR%%/ts/Capitalism_fi.qm
77
%%NLS%%%%DATADIR%%/ts/Capitalism_fi.qm
78
%%DATADIR%%/ts/Capitalism_fi.ts
78
%%NLS%%%%DATADIR%%/ts/Capitalism_fi.ts
79
%%DATADIR%%/ts/Capitalism_it.ts
79
%%NLS%%%%DATADIR%%/ts/Capitalism_it.ts
80
%%DATADIR%%/ts/Capitalism_pl.qm
80
%%NLS%%%%DATADIR%%/ts/Capitalism_pl.qm
81
%%DATADIR%%/ts/Capitalism_pl.ts
81
%%NLS%%%%DATADIR%%/ts/Capitalism_pl.ts
82
%%DATADIR%%/ts/Capitalism_ru.ts
83
share/icons/hicolor/16x16/apps/capitalism.png
82
share/icons/hicolor/16x16/apps/capitalism.png
84
share/icons/hicolor/22x22/apps/capitalism.png
83
share/icons/hicolor/22x22/apps/capitalism.png
85
share/icons/hicolor/24x24/apps/capitalism.png
84
share/icons/hicolor/24x24/apps/capitalism.png
Lines 87-107 Link Here
87
share/icons/hicolor/48x48/apps/capitalism.png
86
share/icons/hicolor/48x48/apps/capitalism.png
88
share/icons/hicolor/64x64/apps/capitalism.png
87
share/icons/hicolor/64x64/apps/capitalism.png
89
share/pixmaps/capitalism.png
88
share/pixmaps/capitalism.png
90
@dirrmtry share/icons/hicolor/64x64/apps
89
%%NLS%%@dirrm %%DATADIR%%/ts
91
@dirrmtry share/icons/hicolor/64x64
92
@dirrmtry share/icons/hicolor/48x48/apps
93
@dirrmtry share/icons/hicolor/48x48
94
@dirrmtry share/icons/hicolor/32x32/apps
95
@dirrmtry share/icons/hicolor/32x32
96
@dirrmtry share/icons/hicolor/24x24/apps
97
@dirrmtry share/icons/hicolor/24x24
98
@dirrmtry share/icons/hicolor/22x22/apps
99
@dirrmtry share/icons/hicolor/22x22
100
@dirrmtry share/icons/hicolor/16x16/apps
101
@dirrmtry share/icons/hicolor/16x16
102
@dirrmtry share/icons/hicolor
103
@dirrmtry share/icons
104
@dirrm %%DATADIR%%/ts
105
@dirrm %%DATADIR%%/images/tools
90
@dirrm %%DATADIR%%/images/tools
106
@dirrm %%DATADIR%%/images/smilies
91
@dirrm %%DATADIR%%/images/smilies
107
@dirrm %%DATADIR%%/images/menu
92
@dirrm %%DATADIR%%/images/menu

Return to bug 178001