aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-doors
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-14 04:05:57 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-14 04:05:57 +0000
commit6f69d6bfe4191d833688d8c272d25a4d2c14d8cc (patch)
tree7363ca6edbd483edf9cf6ec4d2a347d72626aaec /emulators/wine-doors
parentef6e522406462160b0f93a1fb47afff5ce5d8597 (diff)
downloadports-6f69d6bfe4191d833688d8c272d25a4d2c14d8cc.tar.gz
ports-6f69d6bfe4191d833688d8c272d25a4d2c14d8cc.zip
Wine-doors is an application designed to make installing windows software on
Linux, Solaris or other Unix systems easier. Wine-doors is essentially a package management tool for windows software on Linux systems. Most Linux desktop users are familiar with package management style application delivery, so it made sense to apply this model to windows software. WWW: http://www.wine-doors.org/ PR: ports/114630 Submitted by: ports at mcdermottroe.com
Notes
Notes: svn path=/head/; revision=199465
Diffstat (limited to 'emulators/wine-doors')
-rw-r--r--emulators/wine-doors/Makefile47
-rw-r--r--emulators/wine-doors/distinfo3
-rw-r--r--emulators/wine-doors/files/patch-setup.py44
-rw-r--r--emulators/wine-doors/files/preferences.xml.in3
-rw-r--r--emulators/wine-doors/pkg-descr7
-rw-r--r--emulators/wine-doors/pkg-plist138
6 files changed, 242 insertions, 0 deletions
diff --git a/emulators/wine-doors/Makefile b/emulators/wine-doors/Makefile
new file mode 100644
index 000000000000..25ad26161995
--- /dev/null
+++ b/emulators/wine-doors/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: wine-doors
+# Date created: 7 July 2007
+# Whom: ports@mcdermottroe.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= wine-doors
+PORTVERSION= 0.1
+CATEGORIES= emulators
+MASTER_SITES= http://www.wine-doors.org/releases/
+
+MAINTAINER= ports@mcdermottroe.com
+COMMENT= Windows application management for the GNOME Desktop
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PYLXML_EGG}:${PORTSDIR}/devel/py-lxml \
+ ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtksourceview.so:${PORTSDIR}/x11-toolkits/py-gnome-desktop \
+ bash:${PORTSDIR}/shells/bash \
+ cabextract:${PORTSDIR}/archivers/cabextract \
+ orange:${PORTSDIR}/archivers/orange \
+ unzip:${PORTSDIR}/archivers/unzip \
+ wine:${PORTSDIR}/emulators/wine
+
+USE_PYTHON= 2.4+
+
+NO_BUILD= yes
+
+SUB_FILES= preferences.xml
+
+post-patch:
+ @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} 's|/etc/wine-doors|${PREFIX}/etc/wine-doors|g' \
+ ${WRKSRC}/src/preferences.py
+ @${GREP} -lr '^#!/bin/bash' ${WRKDIR} | ${XARGS} \
+ ${REINPLACE_CMD} 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash|'
+
+do-install:
+ ${MKDIR} ${PREFIX}/etc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKDIR}/preferences.xml ${PREFIX}/etc/${PORTNAME}
+ ${PYTHON_CMD} ${WRKSRC}/setup.py install
+
+.include <bsd.port.pre.mk>
+
+PYLXML_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-lxml/Makefile -V PYLXML_EGG
+
+.include <bsd.port.post.mk>
diff --git a/emulators/wine-doors/distinfo b/emulators/wine-doors/distinfo
new file mode 100644
index 000000000000..3bc6c87c651b
--- /dev/null
+++ b/emulators/wine-doors/distinfo
@@ -0,0 +1,3 @@
+MD5 (wine-doors-0.1.tar.gz) = 0f95c9b15f2d74255279d9f33488f384
+SHA256 (wine-doors-0.1.tar.gz) = ca5dcc50020804f30974ab43e711c81a269675e3794f23a51713d32ba9bfbff0
+SIZE (wine-doors-0.1.tar.gz) = 2553737
diff --git a/emulators/wine-doors/files/patch-setup.py b/emulators/wine-doors/files/patch-setup.py
new file mode 100644
index 000000000000..1a06d435ff65
--- /dev/null
+++ b/emulators/wine-doors/files/patch-setup.py
@@ -0,0 +1,44 @@
+--- setup.py.orig Fri Jul 13 20:24:48 2007
++++ setup.py Fri Jul 13 20:29:51 2007
+@@ -89,24 +89,14 @@
+ if argument.startswith( "-S" ):
+ sysinstall = True
+
+- if sysinstall:
+- final = prefix
+- prefix = temp + prefix
+- prefix_bin = prefix + "/usr/bin/"
+- prefix_data = prefix + "/usr/share/"
+- prefix_conf = prefix + "/etc/" + wine_doors + "/"
+- winedoors_data = prefix_data + wine_doors + "/"
+-
+- final_data = final + "usr/share/wine-doors/"
+- final_conf = prefix_conf
+- else:
+- prefix_bin = prefix + "bin/"
+- prefix_data = prefix + ".local/share/"
+- prefix_conf = prefix + ".wine/wine-doors/"
+- winedoors_data = prefix_data + wine_doors + "/"
+-
+- final_data = winedoors_data
+- final_conf = prefix_conf
++ prefix = "%%PREFIX%%/"
++ prefix_bin = prefix + "bin/"
++ prefix_data = prefix + "share/"
++ prefix_conf = prefix + "etc/wine-doors/"
++ winedoors_data = prefix_data + "wine-doors/"
++ final = prefix
++ final_data = winedoors_data
++ final_conf = prefix_conf
+
+ if command in ("install", "uninstall"):
+ from preferences import preferences
+@@ -198,7 +188,7 @@
+ # Fix perms
+ if sysinstall:
+ print "Setting permissions"
+- os.system( "chmod og+r -R "+winedoors_data )
++ os.system( "chmod -R og+r "+winedoors_data )
+
+ # Write preferences.xml
+ print "Creating initial preferences"
diff --git a/emulators/wine-doors/files/preferences.xml.in b/emulators/wine-doors/files/preferences.xml.in
new file mode 100644
index 000000000000..a277665708c1
--- /dev/null
+++ b/emulators/wine-doors/files/preferences.xml.in
@@ -0,0 +1,3 @@
+<?xml version="1.0" ?>
+<winedoors>
+</winedoors>
diff --git a/emulators/wine-doors/pkg-descr b/emulators/wine-doors/pkg-descr
new file mode 100644
index 000000000000..2764aea87693
--- /dev/null
+++ b/emulators/wine-doors/pkg-descr
@@ -0,0 +1,7 @@
+Wine-doors is an application designed to make installing windows software on
+Linux, Solaris or other Unix systems easier. Wine-doors is essentially a
+package management tool for windows software on Linux systems. Most Linux
+desktop users are familiar with package management style application delivery,
+so it made sense to apply this model to windows software.
+
+WWW: http://www.wine-doors.org/
diff --git a/emulators/wine-doors/pkg-plist b/emulators/wine-doors/pkg-plist
new file mode 100644
index 000000000000..55298a1b5b2e
--- /dev/null
+++ b/emulators/wine-doors/pkg-plist
@@ -0,0 +1,138 @@
+bin/wine-doors
+etc/wine-doors/preferences.xml
+@dirrm etc/wine-doors
+share/applications/wine-doors.desktop
+share/pixmaps/wine-doors.png
+share/pixmaps/wine-doors.svg
+%%DATADIR%%/base.repo/arial-1.wdi
+%%DATADIR%%/base.repo/arial_bold-1.wdi
+%%DATADIR%%/base.repo/autohotkey-1.0.46.08.wdi
+%%DATADIR%%/base.repo/comicsans-1.wdi
+%%DATADIR%%/base.repo/courier_new-1.wdi
+%%DATADIR%%/base.repo/mozcontrol-1.7.wdi
+%%DATADIR%%/base.repo/packlist.xml.gz
+%%DATADIR%%/base.repo/times_new_roman-1.wdi
+%%DATADIR%%/base.repo/vc-6.wdi
+%%DATADIR%%/base.repo/webdings-1.wdi
+%%DATADIR%%/base.repo/winegecko-0.1.wdi
+@dirrm %%DATADIR%%/base.repo
+%%DATADIR%%/pixmaps/ahk.png
+%%DATADIR%%/pixmaps/ahk.svg
+%%DATADIR%%/pixmaps/cdex.png
+%%DATADIR%%/pixmaps/cedega.svg
+%%DATADIR%%/pixmaps/cod.png
+%%DATADIR%%/pixmaps/cod.svg
+%%DATADIR%%/pixmaps/crossover.svg
+%%DATADIR%%/pixmaps/directx.png
+%%DATADIR%%/pixmaps/directx.svg
+%%DATADIR%%/pixmaps/dreamweaver.svg
+%%DATADIR%%/pixmaps/eudora.png
+%%DATADIR%%/pixmaps/firefox.png
+%%DATADIR%%/pixmaps/firefox.svg
+%%DATADIR%%/pixmaps/flash.svg
+%%DATADIR%%/pixmaps/font.png
+%%DATADIR%%/pixmaps/gecko.png
+%%DATADIR%%/pixmaps/gecko.svg
+%%DATADIR%%/pixmaps/gnome-dock-design.svg
+%%DATADIR%%/pixmaps/ie.png
+%%DATADIR%%/pixmaps/ie.svg
+%%DATADIR%%/pixmaps/installed.png
+%%DATADIR%%/pixmaps/installed.svg
+%%DATADIR%%/pixmaps/microsoft-library.svg
+%%DATADIR%%/pixmaps/mozcontrol.png
+%%DATADIR%%/pixmaps/mozcontrol.svg
+%%DATADIR%%/pixmaps/ms-library.png
+%%DATADIR%%/pixmaps/opera.png
+%%DATADIR%%/pixmaps/prey.png
+%%DATADIR%%/pixmaps/prey.svg
+%%DATADIR%%/pixmaps/quicktime.png
+%%DATADIR%%/pixmaps/quicktime.svg
+%%DATADIR%%/pixmaps/rating.bronze.svg
+%%DATADIR%%/pixmaps/rating.garbage.svg
+%%DATADIR%%/pixmaps/rating.gold.png
+%%DATADIR%%/pixmaps/rating.gold.svg
+%%DATADIR%%/pixmaps/rating.platinum.png
+%%DATADIR%%/pixmaps/rating.platinum.svg
+%%DATADIR%%/pixmaps/rating.silver.svg
+%%DATADIR%%/pixmaps/roguespear.png
+%%DATADIR%%/pixmaps/roguespear.svg
+%%DATADIR%%/pixmaps/tc.png
+%%DATADIR%%/pixmaps/throbber.0.png
+%%DATADIR%%/pixmaps/throbber.0.svg
+%%DATADIR%%/pixmaps/throbber.1.png
+%%DATADIR%%/pixmaps/throbber.1.svg
+%%DATADIR%%/pixmaps/throbber.10.png
+%%DATADIR%%/pixmaps/throbber.10.svg
+%%DATADIR%%/pixmaps/throbber.11.png
+%%DATADIR%%/pixmaps/throbber.11.svg
+%%DATADIR%%/pixmaps/throbber.2.png
+%%DATADIR%%/pixmaps/throbber.2.svg
+%%DATADIR%%/pixmaps/throbber.3.png
+%%DATADIR%%/pixmaps/throbber.3.svg
+%%DATADIR%%/pixmaps/throbber.4.png
+%%DATADIR%%/pixmaps/throbber.4.svg
+%%DATADIR%%/pixmaps/throbber.5.png
+%%DATADIR%%/pixmaps/throbber.5.svg
+%%DATADIR%%/pixmaps/throbber.6.png
+%%DATADIR%%/pixmaps/throbber.6.svg
+%%DATADIR%%/pixmaps/throbber.7.png
+%%DATADIR%%/pixmaps/throbber.7.svg
+%%DATADIR%%/pixmaps/throbber.8.png
+%%DATADIR%%/pixmaps/throbber.8.svg
+%%DATADIR%%/pixmaps/throbber.9.png
+%%DATADIR%%/pixmaps/throbber.9.svg
+%%DATADIR%%/pixmaps/upgrade.svg
+%%DATADIR%%/pixmaps/winamp.png
+%%DATADIR%%/pixmaps/winamp.svg
+%%DATADIR%%/pixmaps/windows-logo.svg
+%%DATADIR%%/pixmaps/wine-doors-0.0.9.svg
+%%DATADIR%%/pixmaps/wine-doors-0.1.svg
+%%DATADIR%%/pixmaps/wine-doors.128.png
+%%DATADIR%%/pixmaps/wine-doors.png
+%%DATADIR%%/pixmaps/wine-doors.svg
+%%DATADIR%%/pixmaps/wine-doors128.svg
+%%DATADIR%%/pixmaps/wine-doors16.gif
+%%DATADIR%%/pixmaps/wine-doors16.png
+%%DATADIR%%/pixmaps/wine-doors16.xpm
+%%DATADIR%%/pixmaps/wmp.png
+%%DATADIR%%/pixmaps/wmp.svg
+%%DATADIR%%/pixmaps/wow.png
+%%DATADIR%%/pixmaps/wow.svg
+@dirrm %%DATADIR%%/pixmaps
+%%DATADIR%%/registry/audio-alsa.reg
+%%DATADIR%%/registry/audio-oss.reg
+%%DATADIR%%/registry/fakeie6.reg
+%%DATADIR%%/registry/winver-current.reg
+%%DATADIR%%/registry/winver-win2k.reg
+%%DATADIR%%/registry/winver-win98.reg
+%%DATADIR%%/registry/winver-winxp.reg
+@dirrm %%DATADIR%%/registry
+%%DATADIR%%/src/application.py
+%%DATADIR%%/src/cedega.svg
+%%DATADIR%%/src/const.py
+%%DATADIR%%/src/create-packs.sh
+%%DATADIR%%/src/create-packs.sh.bak
+%%DATADIR%%/src/crossover.svg
+%%DATADIR%%/src/ctile.py
+%%DATADIR%%/src/log.py
+%%DATADIR%%/src/packlist.py
+%%DATADIR%%/src/preferences.py
+%%DATADIR%%/src/preferences.py.bak
+%%DATADIR%%/src/preferences.pyc
+%%DATADIR%%/src/queue.py
+%%DATADIR%%/src/runlog
+%%DATADIR%%/src/test_import.py
+%%DATADIR%%/src/testcd.py
+%%DATADIR%%/src/ui.py
+%%DATADIR%%/src/utils.py
+%%DATADIR%%/src/wine-doors.128.png
+%%DATADIR%%/src/wine-doors.png
+%%DATADIR%%/src/wine-doors16.png
+%%DATADIR%%/src/wine.py
+%%DATADIR%%/src/winedoors-header.png
+%%DATADIR%%/src/winedoors.glade
+%%DATADIR%%/src/winedoors.gladep
+%%DATADIR%%/src/winedoors.py
+%%DATADIR%%/src/wtparser.py
+@dirrm %%DATADIR%%/src
+@dirrm %%DATADIR%%