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

Collapse All | Expand All

(-)b/games/Makefile (-1 / +1 lines)
Lines 17-23 Link Here
17
    SUBDIR += CaribbeanStud
17
    SUBDIR += CaribbeanStud
18
    SUBDIR += HeroesOfMightAndMagic
18
    SUBDIR += HeroesOfMightAndMagic
19
    SUBDIR += KnightCap
19
    SUBDIR += KnightCap
20
    SUBDIR += OpenClaw
21
    SUBDIR += OpenTomb
20
    SUBDIR += OpenTomb
22
    SUBDIR += abbayedesmorts
21
    SUBDIR += abbayedesmorts
23
    SUBDIR += abe
22
    SUBDIR += abe
Lines 695-700 Link Here
695
    SUBDIR += openbor4432
694
    SUBDIR += openbor4432
696
    SUBDIR += openbubbles
695
    SUBDIR += openbubbles
697
    SUBDIR += opencity
696
    SUBDIR += opencity
697
    SUBDIR += openclaw
698
    SUBDIR += openclonk
698
    SUBDIR += openclonk
699
    SUBDIR += opengfx
699
    SUBDIR += opengfx
700
    SUBDIR += openglad
700
    SUBDIR += openglad
(-)a/games/OpenClaw/pkg-plist (-8 lines)
Removed Link Here
1
bin/ClawLauncher.exe
2
bin/clawlauncher
3
bin/openclaw
4
share/openclaw/ASSETS.ZIP
5
share/openclaw/SAVES.XML
6
share/openclaw/clacon.ttf
7
share/openclaw/config.xml
8
share/openclaw/console02.tga
(-)b/games/openclaw/Makefile (-29 / +27 lines)
Lines 1-9 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		OpenClaw
3
PORTNAME=	openclaw
4
DISTVERSION=		1.0-29
4
DISTVERSION=	1.0-29
5
DISTVERSIONSUFFIX=	-g49c28d9
5
DISTVERSIONSUFFIX=	-g49c28d9
6
CATEGORIES=		games
6
CATEGORIES=	games
7
7
8
MAINTAINER=	greg@unrelenting.technology
8
MAINTAINER=	greg@unrelenting.technology
9
COMMENT=	Reimplementation of Captain Claw (1997) platformer
9
COMMENT=	Reimplementation of Captain Claw (1997) platformer
Lines 12-50 LICENSE= GPLv3 Link Here
12
12
13
LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
13
LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
14
14
15
USES=		cmake:outsource compiler:c++11-lang pkgconfig localbase:ldflags
16
17
USE_GITHUB=	yes
15
USE_GITHUB=	yes
18
GH_ACCOUNT=	pjasicek
16
GH_ACCOUNT=	pjasicek
17
GH_PROJECT=	OpenClaw
19
18
19
USES=		cmake compiler:c++11-lib pkgconfig localbase:ldflags
20
USE_SDL=	image2 mixer2 ttf2 gfx2
20
USE_SDL=	image2 mixer2 ttf2 gfx2
21
21
22
PLIST_FILES=	bin/ClawLauncher.exe \
23
		bin/clawlauncher \
24
		bin/openclaw
25
PORTDATA=	ASSETS.ZIP SAVES.XML clacon.ttf config.xml console02.tga
22
SUB_FILES=	pkg-message
26
SUB_FILES=	pkg-message
23
DATADIR=	${LOCALBASE}/share/openclaw
27
28
post-patch:
29
	@${REINPLACE_CMD} '/CMAKE_RUNTIME_OUTPUT_DIRECTORY/d' \
30
		${WRKSRC}/CMakeLists.txt
31
	@${REINPLACE_CMD} -e 's|/usr/share/openclaw|${DATADIR}|g' \
32
		${WRKSRC}/Build_Release/clawlauncher \
33
		${WRKSRC}/Build_Release/config_linux_release.xml
34
35
pre-build:
36
	cd ${WRKSRC}/Build_Release; ${CP} config_linux_release.xml config.xml
24
37
25
do-install:
38
do-install:
26
	${INSTALL} -s ${WRKSRC}/../Build_Release/openclaw \
39
	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
27
			${STAGEDIR}${PREFIX}/bin/openclaw
40
		${STAGEDIR}${PREFIX}/bin
28
	${INSTALL} ${WRKSRC}/Build_Release/ClawLauncher.exe \
41
	${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/clawlauncher \
29
			${STAGEDIR}${PREFIX}/bin/ClawLauncher.exe
42
		${STAGEDIR}${PREFIX}/bin
30
	${SED} -e 's|/usr/share/openclaw|${DATADIR}|g' \
43
	${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/ClawLauncher.exe \
31
		${WRKSRC}/Build_Release/clawlauncher > \
44
		${STAGEDIR}${PREFIX}/bin
32
		${WRKSRC}/Build_Release/clawlauncher_freebsd
45
	(cd ${WRKSRC}/Build_Release && ${COPYTREE_SHARE} \
33
	${INSTALL} ${WRKSRC}/Build_Release/clawlauncher_freebsd \
46
		"${PORTDATA}" ${STAGEDIR}${DATADIR})
34
			${STAGEDIR}${PREFIX}/bin/clawlauncher
35
	${MKDIR} ${STAGEDIR}${DATADIR}
36
	${INSTALL_DATA} ${WRKSRC}/Build_Release/ASSETS.ZIP \
37
			${STAGEDIR}${DATADIR}/ASSETS.ZIP
38
	${INSTALL_DATA} ${WRKSRC}/Build_Release/clacon.ttf \
39
			${STAGEDIR}${DATADIR}/clacon.ttf
40
	${INSTALL_DATA} ${WRKSRC}/Build_Release/console02.tga \
41
			${STAGEDIR}${DATADIR}/console02.tga
42
	${INSTALL_DATA} ${WRKSRC}/Build_Release/SAVES.XML \
43
			${STAGEDIR}${DATADIR}/SAVES.XML
44
	${SED} -e 's|/usr/share/openclaw|${DATADIR}|g' \
45
			${WRKSRC}/Build_Release/config_linux_release.xml > \
46
			${WRKSRC}/Build_Release/config_freebsd_release.xml
47
	${INSTALL_DATA} ${WRKSRC}/Build_Release/config_freebsd_release.xml \
48
			${STAGEDIR}${DATADIR}/config.xml
49
47
50
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)b/games/openclaw/files/pkg-message.in (-1 / +1 lines)
Lines 4-10 To complete the installation of this port you need to copy the file Link Here
4
"CLAW.REZ" from the original Captain Claw distribution to
4
"CLAW.REZ" from the original Captain Claw distribution to
5
%%DATADIR%%.
5
%%DATADIR%%.
6
6
7
To use clawlauncher (optional), install lang/mono.
7
To use clawlauncher (optional), install lang/mono and x11-toolkits/libgdiplus.
8
8
9
==============================================================================
9
==============================================================================
10
10

Return to bug 223139