mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
34 lines
920 B
Makefile
34 lines
920 B
Makefile
PORTNAME= multimc
|
|
DISTVERSION= 0.6.11
|
|
CATEGORIES= games java
|
|
|
|
MAINTAINER= me@tsundoku.ne.jp
|
|
COMMENT= Minecraft launcher with the ability to manage multiple instances
|
|
WWW= https://multimc.org
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
|
|
|
RUN_DEPENDS= lwjgl>=2.9.3:games/lwjgl
|
|
|
|
USES= cmake compiler:c++14-lang java 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_QT= core concurrent gui network testlib:build widgets xml \
|
|
buildtools:build qmake:build
|
|
|
|
CMAKE_ARGS= -DMultiMC_LAYOUT="lin-system"
|
|
CMAKE_OFF= MultiMC_UPDATER
|
|
CXXFLAGS+= -Wno-inconsistent-missing-override \
|
|
-Wno-delete-non-virtual-dtor \
|
|
-DLWJGL_DIR='\"${LOCALBASE}/lib/lwjgl\"'
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libMultiMC_*.so
|
|
|
|
.include <bsd.port.mk>
|