Lines 2-13
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= openspades |
4 |
PORTNAME= openspades |
5 |
PORTVERSION= 0.0.12 |
5 |
PORTVERSION= 0.1.2 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
PORTREVISION= 6 |
|
|
8 |
CATEGORIES= games |
7 |
CATEGORIES= games |
9 |
MASTER_SITES= http://yvt.jp/files/programs/osppaks/:data |
8 |
MASTER_SITES= https://github.com/yvt/openspades-paks/releases/download/r33/:data |
10 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DevPaks27.zip:data |
9 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} OpenSpadesDevPackage-r33.zip:data |
11 |
|
10 |
|
12 |
MAINTAINER= amdmi3@FreeBSD.org |
11 |
MAINTAINER= amdmi3@FreeBSD.org |
13 |
COMMENT= Compatible client of Ace of Spades |
12 |
COMMENT= Compatible client of Ace of Spades |
Lines 16-22
LICENSE= GPLv3
Link Here
|
16 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
17 |
|
16 |
|
18 |
BUILD_DEPENDS= convert:graphics/ImageMagick # for building icons |
17 |
BUILD_DEPENDS= convert:graphics/ImageMagick # for building icons |
19 |
LIB_DEPENDS= libcurl.so:ftp/curl |
18 |
LIB_DEPENDS= libcurl.so:ftp/curl \ |
|
|
19 |
libopusfile.so:audio/opusfile |
20 |
|
20 |
|
21 |
NOT_FOR_ARCHS= aarch64 powerpc64 |
21 |
NOT_FOR_ARCHS= aarch64 powerpc64 |
22 |
NOT_FOR_ARCHS_REASON= fails to compile: uses x86 assembly |
22 |
NOT_FOR_ARCHS_REASON= fails to compile: uses x86 assembly |
Lines 24-30
NOT_FOR_ARCHS_REASON= fails to compile: uses x86 assembly
Link Here
|
24 |
USE_GITHUB= yes |
24 |
USE_GITHUB= yes |
25 |
GH_ACCOUNT= yvt |
25 |
GH_ACCOUNT= yvt |
26 |
|
26 |
|
27 |
USES= cmake compiler:c++11-lib desktop-file-utils |
27 |
USES= cmake compiler:c++11-lib desktop-file-utils openal |
28 |
CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ |
28 |
CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ |
29 |
-DOPENSPADES_INSTALL_MAN="man/man6" \ |
29 |
-DOPENSPADES_INSTALL_MAN="man/man6" \ |
30 |
-DOPENSPADES_INSTALL_BINARY="bin" \ |
30 |
-DOPENSPADES_INSTALL_BINARY="bin" \ |
Lines 39-48
PORTDATA= *
Link Here
|
39 |
OPTIONS_DEFINE= DOCS |
39 |
OPTIONS_DEFINE= DOCS |
40 |
|
40 |
|
41 |
post-extract: |
41 |
post-extract: |
42 |
@${MKDIR} ${WRKSRC}/Resources/DevPak |
42 |
@${MV} ${WRKDIR}/Nonfree/*.pak ${WRKDIR}/OfficialMods/*.pak \ |
43 |
@${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/ |
43 |
${WRKSRC}/Resources/ |
44 |
|
44 |
|
45 |
post-patch: |
45 |
post-patch: |
46 |
@${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt |
46 |
@${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt |
47 |
|
47 |
|
|
|
48 |
post-install: |
49 |
cd ${WRKSRC}/Resources/ && ${COPYTREE_SHARE} "Gfx Locales Maps Models PackageInfo.json Scripts Shaders Sounds Textures *.pak" ${STAGEDIR}${DATADIR} |
50 |
|
48 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |