aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/winetricks/Makefile
blob: f06acd981b97bfb92e0a27eb22c6839ed7aadcde (plain) (blame)
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
35
36
# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
# $FreeBSD$

PORTNAME=   winetricks
PORTVERSION=    20170207
PORTREVISION=   1
CATEGORIES= emulators

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

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/src/COPYING

RUN_DEPENDS=    curl:ftp/curl cabextract:archivers/cabextract

.if !defined(WITHOUT_X11)
RUN_DEPENDS+=   zenity:x11/zenity xdg-open:devel/xdg-utils
.endif

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

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

.include <bsd.port.mk>