# Created by: Stefan Esser # $FreeBSD: head/emulators/playonbsd/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= playonbsd PORTVERSION= 4.2.8 CATEGORIES= emulators games MAINTAINER= se@FreeBSD.org COMMENT= Easily install and run Windows software for use with wine LICENSE= GPLv3 RUN_DEPENDS= 7z:archivers/p7zip \ bash:shells/bash \ glxinfo:graphics/mesa-demos \ gpg:security/gnupg \ gsed:textproc/gsed \ sudo:security/sudo \ xdg-open:devel/xdg-utils \ xterm:x11/xterm OPTIONS_DEFINE= GECKO MONO OPTIONS_DEFAULT= GECKO MONO GECKO_DESC= Wine-gecko HTML rendering support MONO_RUN_DEPENDS= wine-mono-devel>=4.5.6:emulators/wine-mono-devel GECKO_RUN_DEPENDS= wine-gecko>=2.21:emulators/wine-gecko ONLY_FOR_ARCHS= amd64 i386 USES= python:run USE_PERL= yes USE_WX= 2.8+ WX_COMPS= python:run USE_GITHUB= yes GH_ACCOUNT= PlayOnLinux GH_PROJECT= POL-POM-4 .include .if ${ARCH} == amd64 RUN_DEPENDS+= wine:emulators/i386-wine-devel .else RUN_DEPENDS+= wine:emulators/wine .endif NO_BUILD= true SUB_FILES= playonbsd.sh post-patch: @${REINPLACE_CMD} -e 's:/usr/local/:${LOCALBASE}/:' ${WRKSRC}/lib/wine.lib do-install: cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/playonbsd/ "-perm -0100 ! -name *.orig" cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/playonbsd/ "! -perm 0100 ! -name *.orig" ${INSTALL_SCRIPT} ${WRKDIR}/playonbsd.sh ${STAGEDIR}${PREFIX}/bin/playonbsd .include