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> |