aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/winetricks/Makefile30
-rw-r--r--emulators/winetricks/distinfo3
-rw-r--r--emulators/winetricks/pkg-descr7
-rw-r--r--emulators/winetricks/pkg-message2
5 files changed, 43 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index b8ae99f38116..62264ec0813c 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -171,6 +171,7 @@
SUBDIR += wine-mono
SUBDIR += wine-mono-devel
SUBDIR += wine-staging
+ SUBDIR += winetricks
SUBDIR += wxmupen64plus
SUBDIR += x48
SUBDIR += x49gp
diff --git a/emulators/winetricks/Makefile b/emulators/winetricks/Makefile
new file mode 100644
index 000000000000..cd839ab1e2b9
--- /dev/null
+++ b/emulators/winetricks/Makefile
@@ -0,0 +1,30 @@
+# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
+# $FreeBSD$
+
+PORTNAME= winetricks
+PORTVERSION= 20161012
+CATEGORIES= emulators
+
+MAINTAINER= lifanov@mail.lifanov.com
+COMMENT= Easy way to work around problems in Wine
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/src/COPYING
+
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS= zenity>0:x11/zenity
+.endif
+
+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>
diff --git a/emulators/winetricks/distinfo b/emulators/winetricks/distinfo
new file mode 100644
index 000000000000..75ff04498d9c
--- /dev/null
+++ b/emulators/winetricks/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476286164
+SHA256 (Winetricks-winetricks-20161012_GH0.tar.gz) = 094ecc82178bb2b6875e29927df068a1d7c114868ec86d5517e26e0214030f6f
+SIZE (Winetricks-winetricks-20161012_GH0.tar.gz) = 175820
diff --git a/emulators/winetricks/pkg-descr b/emulators/winetricks/pkg-descr
new file mode 100644
index 000000000000..31426bbfd654
--- /dev/null
+++ b/emulators/winetricks/pkg-descr
@@ -0,0 +1,7 @@
+Winetricks is an easy way to work around problems in Wine.
+
+It has a menu of supported games/apps for which it can do
+all the workarounds automatically. It also lets you install
+missing DLLs or tweak various Wine settings individually.
+
+WWW: https://wiki.winehq.org/Winetricks
diff --git a/emulators/winetricks/pkg-message b/emulators/winetricks/pkg-message
new file mode 100644
index 000000000000..b8983de3075b
--- /dev/null
+++ b/emulators/winetricks/pkg-message
@@ -0,0 +1,2 @@
+This port requires one of the wine ports installed.
+Please pick between wine, wine-devel, or wine-staging.