Date: Tue, 26 Nov 2013 19:59:56 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334964 - head/emulators/swine Message-ID: <201311261959.rAQJxuSr014346@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Tue Nov 26 19:59:55 2013 New Revision: 334964 URL: http://svnweb.freebsd.org/changeset/ports/334964 Log: - Update to 1.0.4 - Change Makefile header - Remove master sites, use GitHub=yes - Change maintainer email to @FreeBSD.org - USES gmake instead of USE_GMAKE - Support STAGEDIR - Add DOCS Option - Change REINPLACE_CMD - Change pkg-message Approved by: pawel / wg (mentors, implicit) Modified: head/emulators/swine/Makefile head/emulators/swine/distinfo head/emulators/swine/pkg-message (contents, props changed) head/emulators/swine/pkg-plist Modified: head/emulators/swine/Makefile ============================================================================== --- head/emulators/swine/Makefile Tue Nov 26 18:44:26 2013 (r334963) +++ head/emulators/swine/Makefile Tue Nov 26 19:59:55 2013 (r334964) @@ -1,13 +1,11 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD$ PORTNAME= swine -PORTVERSION= 1.0.3 -PORTREVISION= 3 +PORTVERSION= 1.0.4 CATEGORIES= emulators deskutils python -MASTER_SITES= https://github.com/downloads/dswd/Swine/ -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Qt4 graphical Wine frontend LICENSE= GPLv2 @@ -20,16 +18,22 @@ RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm DATADIRLIB= ${PREFIX}/lib/${PORTNAME} -FETCH_ARGS?= -Fpr +USE_GITHUB= yes +GH_ACCOUNT= dswd +GH_PROJECT= Swine +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 1770c40 + +USES= gmake USE_PYTHON= yes NO_BUILD= yes -USE_GMAKE= yes USE_QT4= linguist_build ONLY_FOR_ARCHS= i386 amd64 PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> .if ${ARCH} == "i386" @@ -38,28 +42,18 @@ RUN_DEPENDS+= wine:${PORTSDIR}/emulators post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/version.sh - @${REINPLACE_CMD} -e 's|/usr/share/swine/images/swine32.png|${PREFIX}/share/pixmaps/swine.png|' ${WRKSRC}/resources/swine.desktop - @${FIND} ${WRKSRC} -name "*.bak" -delete - -do-install: - ${MKDIR} ${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 - ${INSTALL_DATA} ${WRKSRC}/resources/*.desktop ${PREFIX}/share/applications/ - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${REINPLACE_CMD} -e 's|/usr|${PREFIX}| ; \ + s|swine32.png|*|' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr/share/swine/images/swine32.png|swine|' \ + -e 's|^Categories=.*|Categories=Wine;System;Emulator;Utility;Game;|' \ + ${WRKSRC}/resources/swine.desktop + +post-install: + ${LN} -sf ${DATADIR}/images/swine32.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/emulators/swine/distinfo ============================================================================== --- head/emulators/swine/distinfo Tue Nov 26 18:44:26 2013 (r334963) +++ head/emulators/swine/distinfo Tue Nov 26 19:59:55 2013 (r334964) @@ -1,2 +1,2 @@ -SHA256 (swine-1.0.3.tar.gz) = e474a5657b8b7822d5417237044201d72bda41b3402bc5556e497df8eabd9de0 -SIZE (swine-1.0.3.tar.gz) = 172820 +SHA256 (swine-1.0.4.tar.gz) = 3b3efd55af2aff561224e004de845705c2d23a0aa39ed9dda447ae90000eef06 +SIZE (swine-1.0.4.tar.gz) = 214039 Modified: head/emulators/swine/pkg-message ============================================================================== --- head/emulators/swine/pkg-message Tue Nov 26 18:44:26 2013 (r334963) +++ head/emulators/swine/pkg-message Tue Nov 26 19:59:55 2013 (r334964) @@ -1,12 +1,19 @@ ################################################################################ -FreeBSD/amd64 users: -You need to manually install Wine 32bit binary from: -http://www.mediafire.com/wine_fbsd64 +Swine has been installed. + For more info about running wine on FreeBSD please see: + http://wiki.freebsd.org/Wine + +FreeBSD/amd64 users: +You need to manually install Wine 32bit binary from: + +https://wiki.freebsd.org/i386-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: @@ -18,4 +25,7 @@ and then, as root, executing the command mount /proc +Also you need passwordless sudo for mdconfig, mount_cd9660, umount commands for +work with ISO images. + ################################################################################ Modified: head/emulators/swine/pkg-plist ============================================================================== --- head/emulators/swine/pkg-plist Tue Nov 26 18:44:26 2013 (r334963) +++ head/emulators/swine/pkg-plist Tue Nov 26 19:59:55 2013 (r334964) @@ -74,8 +74,12 @@ share/pixmaps/swine.png %%DATADIR%%/translations/de.qm %%DATADIR%%/translations/en.qm %%DATADIR%%/translations/es.qm +%%DATADIR%%/translations/fi.qm %%DATADIR%%/translations/fr.qm %%DATADIR%%/translations/he.qm +%%DATADIR%%/translations/pl.qm +%%DATADIR%%/translations/tr.qm +%%DATADIR%%/translations/vi.qm @dirrm %%DATADIR%%/translations @dirrm %%DATADIR%%/images @dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311261959.rAQJxuSr014346>