svn commit: r305793 - in head/emulators: . swine
Pawel Pekala
pawel at FreeBSD.org
Fri Oct 12 21:56:10 UTC 2012
Author: pawel
Date: Fri Oct 12 21:56:09 2012
New Revision: 305793
URL: http://svn.freebsd.org/changeset/ports/305793
Log:
Swine is a graphical wine frontend, that makes it easy to install and run
Windows software on Linux systems. Swine uses a modern QT4 interface to offer
most of the Wine command-line tools to users.
WWW: http://www.swine-tool.de/
PR: ports/172142
Submitted by: nemysis at gmx.ch
Feature safe: yes
Added:
head/emulators/swine/
head/emulators/swine/Makefile (contents, props changed)
head/emulators/swine/distinfo (contents, props changed)
head/emulators/swine/pkg-descr (contents, props changed)
head/emulators/swine/pkg-message (contents, props changed)
head/emulators/swine/pkg-plist (contents, props changed)
Modified:
head/emulators/Makefile
Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile Fri Oct 12 19:45:38 2012 (r305792)
+++ head/emulators/Makefile Fri Oct 12 21:56:09 2012 (r305793)
@@ -157,6 +157,7 @@
SUBDIR += stella
SUBDIR += stonx
SUBDIR += svr4_base
+ SUBDIR += swine
SUBDIR += tiemu2
SUBDIR += tiemu3
SUBDIR += tilem
Added: head/emulators/swine/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/swine/Makefile Fri Oct 12 21:56:09 2012 (r305793)
@@ -0,0 +1,83 @@
+# Created by: nemysis at gmx.ch
+# $FreeBSD$
+
+PORTNAME= swine
+PORTVERSION= 1.0.2
+CATEGORIES= emulators deskutils python
+MASTER_SITES= GH
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= QT4 Graphical Wine frontend
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= pyrcc4:${PORTSDIR}/textproc/py-qt4-xml
+RUN_DEPENDS= wine:${PORTSDIR}/emulators/wine-devel \
+ xterm:${PORTSDIR}/x11/xterm \
+ cabextract:${PORTSDIR}/archivers/cabextract \
+ icotool:${PORTSDIR}/graphics/icoutils \
+ ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core \
+ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT4_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui
+
+DATADIRLIB= ${PREFIX}/lib/${PORTNAME}
+
+USE_GITHUB= yes
+GH_ACCOUNT= dswd
+GH_PROJECT= Swine
+GH_TAGNAME= master
+GH_COMMIT= d14b9f0
+
+USE_PYTHON= yes
+USE_GMAKE= yes
+USE_QT4= linguist_build
+
+PORTDOCS= README
+
+.include "../../devel/py-sip/files/bsd.pyqt.mk"
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh
+
+pre-build:
+.if !exists(${LOCALBASE}/bin/wine) && ${ARCH} != "i386"
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Depends on Wine Port which is only available for i386"
+ @${ECHO_MSG}
+ @${ECHO_MSG} " http://wiki.freebsd.org/Wine"
+ @${ECHO_MSG}
+ @${ECHO_MSG} "FreeBSD/amd64 works with Wine 32bit binary from"
+ @${ECHO_MSG}
+ @${ECHO_MSG} " http://www.mediafire.com/wine_fbsd64"
+ @${ECHO_MSG}
+ exit 1
+.endif
+
+do-build:
+ @(cd ${WRKSRC} ; ${GMAKE})
+
+do-install:
+ ${MKDIR} ${DATADIRLIB}
+ ${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIRLIB}
+ ${LN} -sf ${DATADIRLIB}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
+ ${LN} -sf ${DATADIRLIB}/${PORTNAME}cli.py ${PREFIX}/bin/${PORTNAME}cli
+ ${LN} -sf ${DATADIRLIB}/${PORTNAME}run.py ${PREFIX}/bin/${PORTNAME}run
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "translations images" ${DATADIR})
+
+ ${LN} -sf ${DATADIR}/images/swine32.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/resources/*.desktop ${PREFIX}/share/applications/
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>
Added: head/emulators/swine/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/swine/distinfo Fri Oct 12 21:56:09 2012 (r305793)
@@ -0,0 +1,2 @@
+SHA256 (swine-1.0.2.tar.gz) = 938aa8f261d6f566da2fd5a75c19685a853d8dec3f1c258746cb4f2ca0b564fc
+SIZE (swine-1.0.2.tar.gz) = 203558
Added: head/emulators/swine/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/swine/pkg-descr Fri Oct 12 21:56:09 2012 (r305793)
@@ -0,0 +1,5 @@
+Swine is a graphical wine frontend, that makes it easy to install and run
+Windows software on Linux systems. Swine uses a modern QT4 interface to offer
+most of the Wine command-line tools to users.
+
+WWW: http://www.swine-tool.de/
Added: head/emulators/swine/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/swine/pkg-message Fri Oct 12 21:56:09 2012 (r305793)
@@ -0,0 +1,14 @@
+################################################################################
+
+This programm will attempt to obtain some system information by accessing files
+in procfs. You must mount procfs filesystem for this to work correctly.
+This can be accomplished by adding the following line to your /etc/fstab file:
+
+# Device Mountpoint FStype Options Dump Pass#
+proc /proc procfs rw 0 0
+
+and then, as root, executing the command:
+
+mount /proc
+
+################################################################################
Added: head/emulators/swine/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/swine/pkg-plist Fri Oct 12 21:56:09 2012 (r305793)
@@ -0,0 +1,84 @@
+bin/swine
+bin/swinecli
+bin/swinerun
+lib/swine/AboutDialog.py
+lib/swine/IconDialog.py
+lib/swine/MainWindow.py
+lib/swine/ProgramDialog.py
+lib/swine/RunnerDialog.py
+lib/swine/Settings.py
+lib/swine/ShortcutImport.py
+lib/swine/SlotSettings.py
+lib/swine/config.py
+lib/swine/icolib.py
+lib/swine/resources.qrc
+lib/swine/resources_rc.py
+lib/swine/shortcutlib.py
+lib/swine/swine.py
+lib/swine/swinecli.py
+lib/swine/swinelib.py
+lib/swine/swinerun.py
+lib/swine/winetricks.py
+share/applications/swine-extensions.desktop
+share/applications/swine.desktop
+share/pixmaps/swine.png
+%%DATADIR%%/images/add.png
+%%DATADIR%%/images/application.png
+%%DATADIR%%/images/application_add.png
+%%DATADIR%%/images/application_delete.png
+%%DATADIR%%/images/application_edit.png
+%%DATADIR%%/images/application_form_magnify.png
+%%DATADIR%%/images/application_lightning.png
+%%DATADIR%%/images/application_xp_terminal.png
+%%DATADIR%%/images/arrow_divide.png
+%%DATADIR%%/images/arrow_refresh.png
+%%DATADIR%%/images/cog.png
+%%DATADIR%%/images/computer.png
+%%DATADIR%%/images/computer_edit.png
+%%DATADIR%%/images/cross.png
+%%DATADIR%%/images/document-open-folder.png
+%%DATADIR%%/images/document-open.png
+%%DATADIR%%/images/drive_add.png
+%%DATADIR%%/images/drive_cd.png
+%%DATADIR%%/images/drive_delete.png
+%%DATADIR%%/images/drive_magnify.png
+%%DATADIR%%/images/drive_rename.png
+%%DATADIR%%/images/film.png
+%%DATADIR%%/images/film_add.png
+%%DATADIR%%/images/find.png
+%%DATADIR%%/images/folder.png
+%%DATADIR%%/images/folder_explore.png
+%%DATADIR%%/images/folder_grey.png
+%%DATADIR%%/images/font.png
+%%DATADIR%%/images/font_add.png
+%%DATADIR%%/images/information.png
+%%DATADIR%%/images/lightning_add.png
+%%DATADIR%%/images/lightning_delete.png
+%%DATADIR%%/images/package_add.png
+%%DATADIR%%/images/package_go.png
+%%DATADIR%%/images/pencil.png
+%%DATADIR%%/images/pencil_add.png
+%%DATADIR%%/images/plugin.png
+%%DATADIR%%/images/plugin_add.png
+%%DATADIR%%/images/script_gear.png
+%%DATADIR%%/images/script_save.png
+%%DATADIR%%/images/shape_flip_vertical.png
+%%DATADIR%%/images/swine32.png
+%%DATADIR%%/images/textfield_rename.png
+%%DATADIR%%/images/wabi.png
+%%DATADIR%%/images/wine.png
+%%DATADIR%%/images/world.png
+%%DATADIR%%/images/world_add.png
+%%DATADIR%%/images/world_go.png
+%%DATADIR%%/images/wrench.png
+%%DATADIR%%/images/wrench_orange.png
+%%DATADIR%%/translations/de.qm
+%%DATADIR%%/translations/en.qm
+%%DATADIR%%/translations/es.qm
+%%DATADIR%%/translations/fr.qm
+%%DATADIR%%/translations/he.qm
+ at dirrm %%DATADIR%%/translations
+ at dirrm %%DATADIR%%/images
+ at dirrm %%DATADIR%%
+ at dirrmtry share/applications
+ at dirrm lib/swine
More information about the svn-ports-head
mailing list