diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-10-22 14:51:53 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-10-22 14:51:53 +0000 |
commit | 8d305c3927b141db21c34fc3f4a23e0332b7af3c (patch) | |
tree | 329ee05233b091bd05ddc88ccd88b1b52cf58d2d /emulators | |
parent | 235baab34756a9e168a8a30d32e626e028cf8a5c (diff) |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/swine/Makefile | 24 | ||||
-rw-r--r-- | emulators/swine/pkg-message | 9 |
2 files changed, 15 insertions, 18 deletions
diff --git a/emulators/swine/Makefile b/emulators/swine/Makefile index 8f62204f1931..fa46b13abd6a 100644 --- a/emulators/swine/Makefile +++ b/emulators/swine/Makefile @@ -3,7 +3,7 @@ PORTNAME= swine PORTVERSION= 1.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators deskutils python MASTER_SITES= GH @@ -13,8 +13,7 @@ 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 \ +RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm \ cabextract:${PORTSDIR}/archivers/cabextract \ icotool:${PORTSDIR}/graphics/icoutils \ ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui @@ -30,29 +29,20 @@ GH_COMMIT= d14b9f0 USE_PYTHON= yes USE_GMAKE= yes USE_QT4= linguist_build +ONLY_FOR_ARCHS= i386 amd64 PORTDOCS= README .include <bsd.port.options.mk> +.if ${ARCH} == "i386" +RUN_DEPENDS+= wine:${PORTSDIR}/emulators/wine-devel +.endif + 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-install: ${MKDIR} ${DATADIRLIB} ${INSTALL_DATA} ${WRKSRC}/resources.qrc ${DATADIRLIB} diff --git a/emulators/swine/pkg-message b/emulators/swine/pkg-message index ab648151e3b5..bc05af93637f 100644 --- a/emulators/swine/pkg-message +++ b/emulators/swine/pkg-message @@ -1,6 +1,13 @@ ################################################################################ -This programm will attempt to obtain some system information by accessing files +FreeBSD/amd64 users: +You need to manually install Wine 32bit binary from: +http://www.mediafire.com/wine_fbsd64 + +For more info about running wine on FreeBSD please see: +http://wiki.freebsd.org/Wine + +This program 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: |