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

Collapse All | Expand All

(-)i/games/OpenClaw/Makefile (+50 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=		OpenClaw
4
DISTVERSION=		1.0-29
5
DISTVERSIONSUFFIX=	-g49c28d9
6
CATEGORIES=		games
7
8
MAINTAINER=	greg@unrelenting.technology
9
COMMENT=	Reimplementation of Captain Claw (1997) platformer
10
11
LICENSE=	GPLv3
12
13
LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
14
15
USES=		cmake:outsource compiler:c++11-lang pkgconfig localbase:ldflags
16
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	pjasicek
19
20
USE_SDL=	image2 mixer2 ttf2 gfx2
21
22
SUB_FILES=	pkg-message
23
DATADIR=	${LOCALBASE}/share/openclaw
24
25
do-install:
26
	${INSTALL} -s ${WRKSRC}/../Build_Release/openclaw \
27
			${STAGEDIR}${PREFIX}/bin/openclaw
28
	${INSTALL} ${WRKSRC}/Build_Release/ClawLauncher.exe \
29
			${STAGEDIR}${PREFIX}/bin/ClawLauncher.exe
30
	${SED} -e 's|/usr/share/openclaw|${DATADIR}|g' \
31
		${WRKSRC}/Build_Release/clawlauncher > \
32
		${WRKSRC}/Build_Release/clawlauncher_freebsd
33
	${INSTALL} ${WRKSRC}/Build_Release/clawlauncher_freebsd \
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
50
.include <bsd.port.mk>
(-)i/games/OpenClaw/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1508534896
2
SHA256 (pjasicek-OpenClaw-1.0-29-g49c28d9_GH0.tar.gz) = 7c9b047b9e7c2eaf5549274ac49e5b844a6ac29d9414a7accab1d39aafb96c1a
3
SIZE (pjasicek-OpenClaw-1.0-29-g49c28d9_GH0.tar.gz) = 26486352
(-)i/games/OpenClaw/files/pkg-message.in (+10 lines)
Added Link Here
1
==============================================================================
2
3
To complete the installation of this port you need to copy the file
4
"CLAW.REZ" from the original Captain Claw distribution to
5
%%DATADIR%%.
6
7
To use clawlauncher (optional), install lang/mono.
8
9
==============================================================================
10
(-)i/games/OpenClaw/pkg-descr (+4 lines)
Added Link Here
1
A multiplatform C++ reimplementation of original Captain Claw (1997) platformer
2
game, using SDL2 and Box2D.
3
4
WWW: https://github.com/pjasicek/OpenClaw
(-)i/games/OpenClaw/pkg-plist (+8 lines)
Added 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

Return to bug 223139