summaryrefslogtreecommitdiff
path: root/emulators/winetricks/Makefile
blob: 36a847f656c4ee1095b290f5ca034c80a4edd6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	winetricks
PORTVERSION=	20191224
CATEGORIES=	emulators

MAINTAINER=	lifanov@FreeBSD.org
COMMENT=	Easy way to work around problems in Wine

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	cabextract:archivers/cabextract

USES=		perl5
USE_PERL5=	run

USE_GITHUB=	yes
GH_ACCOUNT=	Winetricks

NO_ARCH=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/winetricks man/man1/winetricks.1.gz

OPTIONS_DEFINE=		X11
OPTIONS_DEFAULT=	X11

X11_RUN_DEPENDS=	xdg-open:devel/xdg-utils \
			zenity:x11/zenity

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/src/winetricks ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/src/winetricks.1 \
		${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>