1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/emulators/playonbsd/Makefile
Loïc Bartoletti 4c1a399966 x11-toolkits/wxgtk30: Update to 3.0.5.1
Changelog:
  - https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.5/docs/changes.txt

PR:	 246218
Approved by:	tcberner (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D24808
2020-05-17 05:55:12 +00:00

75 lines
2.0 KiB
Makefile

# Created by: Stefan Esser <se@StefanEsser.FreeBSD.org>
# $FreeBSD$
PORTNAME= playonbsd
PORTVERSION= 4.2.10
PORTREVISION= 8
CATEGORIES= emulators games
MAINTAINER= se@FreeBSD.org
COMMENT= Easily install and run Windows software for use with Wine
LICENSE= GPLv3
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-09-15
ONLY_FOR_ARCHS= amd64 i386
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 \
cabextract:archivers/cabextract \
wget:ftp/wget \
icotool:graphics/icoutils
USES= python:2.7,run perl5 shebangfix
USE_WX= 3.0
WX_COMPS= python:run
SHEBANG_GLOB= *.py
SHEBANG_FILES= bash/expert/* lib/*
USE_GITHUB= yes
GH_ACCOUNT= PlayOnLinux
GH_PROJECT= POL-POM-4
OPTIONS_DEFINE= GECKO MONO NLS
OPTIONS_DEFAULT= GECKO MONO
GECKO_DESC= Wine-gecko HTML rendering support
MONO_RUN_DEPENDS= wine-mono>=4.9.4:emulators/wine-mono
GECKO_RUN_DEPENDS= wine-gecko>=2.47.1:emulators/wine-gecko
NLS_USES= gettext
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
RUN_DEPENDS+= wine:emulators/i386-wine
.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:
.for d in bash python
cd ${WRKSRC} && ${COPYTREE_BIN} ${d} ${STAGEDIR}${PREFIX}/lib/playonbsd/ "! -name *\.orig ! -name *\.bak"
.endfor
.for d in etc lang lib plugins resources
cd ${WRKSRC} && ${COPYTREE_BIN} ${d} ${STAGEDIR}${PREFIX}/lib/playonbsd/ "! -name *\.orig ! -name *\.bak"
.endfor
@${REINPLACE_CMD} -e 's:linux:bsd:g;s:linux:BSD:ig' ${WRKSRC}/doc/playonlinux.1
${INSTALL_MAN} ${WRKSRC}/doc/playonlinux.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/playonbsd.1
${INSTALL_SCRIPT} ${WRKDIR}/playonbsd.sh ${STAGEDIR}${PREFIX}/bin/playonbsd
${INSTALL_SCRIPT} ${WRKSRC}/playonfreebsd ${STAGEDIR}${PREFIX}/lib/playonbsd/playonfreebsd
.include <bsd.port.post.mk>