mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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@gmx.ch Feature safe: yes
This commit is contained in:
parent
fabb21366b
commit
2ddc73251c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305793
@ -157,6 +157,7 @@
|
||||
SUBDIR += stella
|
||||
SUBDIR += stonx
|
||||
SUBDIR += svr4_base
|
||||
SUBDIR += swine
|
||||
SUBDIR += tiemu2
|
||||
SUBDIR += tiemu3
|
||||
SUBDIR += tilem
|
||||
|
83
emulators/swine/Makefile
Normal file
83
emulators/swine/Makefile
Normal file
@ -0,0 +1,83 @@
|
||||
# Created by: nemysis@gmx.ch
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= swine
|
||||
PORTVERSION= 1.0.2
|
||||
CATEGORIES= emulators deskutils python
|
||||
MASTER_SITES= GH
|
||||
|
||||
MAINTAINER= nemysis@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>
|
2
emulators/swine/distinfo
Normal file
2
emulators/swine/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (swine-1.0.2.tar.gz) = 938aa8f261d6f566da2fd5a75c19685a853d8dec3f1c258746cb4f2ca0b564fc
|
||||
SIZE (swine-1.0.2.tar.gz) = 203558
|
5
emulators/swine/pkg-descr
Normal file
5
emulators/swine/pkg-descr
Normal file
@ -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/
|
14
emulators/swine/pkg-message
Normal file
14
emulators/swine/pkg-message
Normal file
@ -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
|
||||
|
||||
################################################################################
|
84
emulators/swine/pkg-plist
Normal file
84
emulators/swine/pkg-plist
Normal file
@ -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
|
||||
@dirrm %%DATADIR%%/translations
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry share/applications
|
||||
@dirrm lib/swine
|
Loading…
Reference in New Issue
Block a user