blob: 51cc22683e2f5cf621e4a923ad1de568f24aa87d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= valyriatear
PORTVERSION= 1.0.0
PORTREVISION= 10
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open Source J-RPG based on the Hero of Allacrost engine
# Valyria Tear underwent a licensing audit.
# The main game is GPLv2 but artwork/music/fonts are a variety of licenses:
# GPLv2, GPLv3 (with font exception), OFL-1.1, CC0, CC-BY-3, and CC-BY-SA-3.
LICENSE= GPLv2
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libvorbis.so:audio/libvorbis \
libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= Bertram25
GH_PROJECT= ValyriaTear
GH_TAGNAME= ${PORTVERSION}-gcc5 # contains relevant tolua++ fixes
USES= alias cmake compiler:c++11-lang gettext-tools gl iconv lua:51 \
openal sdl
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
USE_SDL= sdl image ttf
USE_GL= gl glu
USE_XORG= x11 xext sm ice
USE_CXXSTD= c++03
INSTALLS_ICONS= yes
LLD_UNSAFE= yes
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CMAKE_OFF= -DDISABLE_TRANSLATIONS:BOOL=OFF
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/CMake/Modules/*.cmake
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/MANUAL ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|