2016-11-07 11:12:59 +01:00
|
|
|
# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= winetricks
|
2017-02-09 20:54:23 +01:00
|
|
|
PORTVERSION= 20170207
|
2017-02-17 21:29:47 +01:00
|
|
|
PORTREVISION= 1
|
2016-11-07 11:12:59 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
2016-12-14 04:47:18 +01:00
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
2016-11-07 11:12:59 +01:00
|
|
|
COMMENT= Easy way to work around problems in Wine
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/src/COPYING
|
|
|
|
|
2017-02-17 21:29:47 +01:00
|
|
|
RUN_DEPENDS= curl:ftp/curl cabextract:archivers/cabextract
|
|
|
|
|
2016-11-07 11:12:59 +01:00
|
|
|
.if !defined(WITHOUT_X11)
|
2017-02-17 21:29:47 +01:00
|
|
|
RUN_DEPENDS+= zenity:x11/zenity xdg-open:devel/xdg-utils
|
2016-11-07 11:12:59 +01:00
|
|
|
.endif
|
|
|
|
|
2017-02-17 21:29:47 +01:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= run
|
|
|
|
|
2016-11-07 11:12:59 +01:00
|
|
|
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>
|