diff --git a/games/enigma/Makefile b/games/enigma/Makefile index 9cb448453776..26758c47be45 100644 --- a/games/enigma/Makefile +++ b/games/enigma/Makefile @@ -1,50 +1,51 @@ # Created by: Edwin Groothuis PORTNAME= enigma PORTVERSION= 1.30 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Reimplementation of Oxyd, a puzzle game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ libpng.so:graphics/png \ libenet.so:net/enet \ libcurl.so:ftp/curl +BUILD_DEPENDS= convert:graphics/ImageMagick6 USE_GITHUB= yes GH_ACCOUNT= Enigma-Game GH_PROJECT= Enigma -USES= autoreconf:build gettext gmake iconv localbase magick:6,build pkgconfig sdl +USES= autoreconf:build gettext gmake iconv localbase pkgconfig sdl GNU_CONFIGURE= yes USE_SDL= sdl2 image2 mixer2 ttf2 CONFIGURE_ARGS= --with-system-enet LDFLAGS+= -lintl SUB_FILES= pkg-message PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html NLS_CONFIGURE_ENABLE=nls pre-configure: @cd ${CONFIGURE_WRKSRC} && ${SH} autogen.sh post-patch-DOCS-off: @${REINPLACE_CMD} -e '/SUBDIRS =/d' ${WRKSRC}/doc/Makefile.am post-patch: @${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \ ${WRKSRC}/etc/enigma.desktop .include diff --git a/games/openspades/Makefile b/games/openspades/Makefile index 48f79b74fc3f..cd5f8606416e 100644 --- a/games/openspades/Makefile +++ b/games/openspades/Makefile @@ -1,49 +1,50 @@ PORTNAME= openspades PORTVERSION= 0.1.3 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= games MASTER_SITES= https://github.com/yvt/openspades-paks/releases/download/r33/:data DISTFILES= OpenSpadesDevPackage-r33.zip:data MAINTAINER= amdmi3@FreeBSD.org COMMENT= Compatible client of Ace of Spades LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript +BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons LIB_DEPENDS= libcurl.so:ftp/curl \ libopusfile.so:audio/opusfile USE_GITHUB= yes GH_ACCOUNT= yvt USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \ - gl gnome magick:6,build openal sdl xorg + gl gnome openal sdl xorg CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h USE_SDL= sdl2 image2 USE_GL= gl glew PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${MV} ${WRKDIR}/Nonfree/*.pak ${WRKDIR}/OfficialMods/*.pak \ ${WRKSRC}/Resources/ post-patch: @${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt post-install: cd ${WRKSRC}/Resources/ && ${COPYTREE_SHARE} "Gfx Locales Maps Models PackageInfo.json Scripts Shaders Sounds Textures *.pak" ${STAGEDIR}${DATADIR} .include