# $FreeBSD: head/emulators/wine-proton/Makefile 564231 2021-02-06 18:02:09Z arrowd $ PORTNAME= wine-proton DISTVERSION= 5.13-4 CATEGORIES= emulators MAINTAINER= iwtcex@gmail.com COMMENT= Wine with a bit of extra spice LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex LIB_DEPENDS= libFAudio.so:audio/faudio \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgnutls.so:security/gnutls \ libjpegxr.so:graphics/libjxr \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libvulkan.so:graphics/vulkan-loader \ libxml2.so:textproc/libxml2 USES= bison desktop-file-utils gettext-runtime gl gmake gnome jpeg localbase openal pkgconfig sdl shebangfix tar:xz xorg USE_GITHUB= yes GH_ACCOUNT= ValveSoftware GH_PROJECT= wine GH_TAGNAME= 7f9f4285c2dfb81234c01996f6d33fae07701629 USE_GCC= yes USE_GL= glu USE_GNOME= glib20 USE_GSTREAMER1= good USE_SDL= sdl2 USE_XORG= x11 xext xcomposite xcursor xi xinerama xrandr xrender GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${PREFIX}/${PORTNAME} CONFIGURE_ARGS= --verbose \ --libdir=${PREFIX}/${PORTNAME}/lib \ --disable-kerberos \ --disable-tests \ --with-cms \ --with-fontconfig \ --with-freetype \ --with-glu \ --with-gnutls \ --with-gstreamer \ --with-jpeg \ --with-jxrlib \ --with-openal \ --with-opengl \ --with-oss \ --with-png \ --with-sdl \ --with-vulkan \ --with-x \ --with-xinerama \ --with-xinput2 \ --with-xrandr \ --with-xrender \ --without-alsa \ --without-capi \ --without-cups \ --without-dbus \ --without-gettext \ --without-gettextpo \ --without-gphoto \ --without-gsm \ --without-hal \ --without-inotify \ --without-krb5 \ --without-ldap \ --without-mingw \ --without-mpg123 \ --without-opencl \ --without-osmesa \ --without-pulse \ --without-sane \ --without-tiff \ --without-udev \ --without-unwind \ --without-usb \ --without-v4l2 \ --without-vkd3d \ --without-xslt CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex" JXRLIB_CFLAGS="-I${LOCALBASE}/include/jxrlib" SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ tools/winedump/function_grep.pl .include .if ${ARCH} == amd64 PLIST_SUB+= WINE32="@comment " WINE64="" CONFIGURE_ARGS+=--enable-win64 .else PLIST_SUB+= WINE32="" WINE64="@comment " .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} depend post-install: .if ${ARCH} == i386 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wineserver32 ${MV} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine32 ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/wine .endif ${RM} -r ${STAGEDIR}${PREFIX}/${PORTNAME}/include ${RM} -r ${STAGEDIR}${MANPREFIX}/man ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ANNOUNCE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include