mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
b1a1d38bf9
From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
35 lines
915 B
Makefile
35 lines
915 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= multimc
|
|
DISTVERSION= 0.6.2
|
|
CATEGORIES= games java
|
|
|
|
MAINTAINER= me@tsundoku.ne.jp
|
|
COMMENT= Minecraft launcher with the ability to manage multiple instances
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
|
|
|
RUN_DEPENDS= lwjgl>=2.9.3:games/lwjgl
|
|
|
|
USES= cmake:outsource compiler:c++14-lang qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MultiMC
|
|
GH_PROJECT= MultiMC5
|
|
GH_TUPLE= MultiMC:libnbtplusplus:508eda8:libnbtplusplus/libraries/libnbtplusplus \
|
|
MultiMC:quazip:3691d57:quazip/libraries/quazip
|
|
USE_LDCONFIG= yes
|
|
USE_JAVA= 1.8+
|
|
USE_QT= buildtools core concurrent gui network qmake testlib_build widgets xml
|
|
|
|
CMAKE_ARGS= -DMultiMC_LAYOUT="lin-system"
|
|
CMAKE_OFF= MultiMC_UPDATER
|
|
CXXFLAGS+= -Wno-inconsistent-missing-override \
|
|
-Wno-delete-non-virtual-dtor \
|
|
-DLWJGL_DIR='\"${LOCALBASE}/lib/lwjgl2.9.3\"'
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libMultiMC_*.so
|
|
|
|
.include <bsd.port.mk>
|