Date: Wed, 31 Oct 2012 21:42:04 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306766 - head/games/spellathon Message-ID: <201210312142.q9VLg4d6037912@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed Oct 31 21:42:03 2012 New Revision: 306766 URL: http://svn.freebsd.org/changeset/ports/306766 Log: - Update to version 6.0 [1] - Add LICENSE [1] - Add missing deps - Install desktop entry PR: ports/172005 [1] Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1] Feature safe: yes Modified: head/games/spellathon/Makefile head/games/spellathon/distinfo head/games/spellathon/pkg-plist Modified: head/games/spellathon/Makefile ============================================================================== --- head/games/spellathon/Makefile Wed Oct 31 21:03:25 2012 (r306765) +++ head/games/spellathon/Makefile Wed Oct 31 21:42:03 2012 (r306766) @@ -2,24 +2,50 @@ # $FreeBSD$ PORTNAME= spellathon -PORTVERSION= 5.79 -PORTREVISION= 1 +PORTVERSION= 6.0 CATEGORIES= games -MASTER_SITES= SF +MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Word game to test your English vocabulary skills -USE_QT4= gui moc_build qmake_build rcc_build uic_build +LICENSE= BSD + +LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \ + pcre:${PORTSDIR}/devel/pcre \ + png15:${PORTSDIR}/graphics/png \ + freetype:${PORTSDIR}/print/freetype2 \ + expat:${PORTSDIR}/textproc/expat2 \ + fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ + xcb:${PORTSDIR}/x11/libxcb + +USE_GETTEXT= yes +USE_ICONV= yes +USE_GNOME= glib20 +USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build +USE_XORG= ice sm x11 xau xdmcp xext xrender +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +DESKTOP_ENTRIES="Spellathon" "${COMMENT}" "" "${PORTNAME}" "" "true" post-patch: - @${REINPLACE_CMD} 's|qmake|qmake-qt4|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} 's|dict/words.txt|${DATADIR}/words.txt|' \ - ${WRKSRC}/src/logic/defines.h + @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|$${CC}|$${CXX}|g ; \ + s|$${CFLAGS}|$${CXXFLAGS}|g ; \ + s|qmake-qt4|${TRUE}|' + @${REINPLACE_CMD} \ + 's|dict/words.txt|${DATADIR}/words.txt|' ${WRKSRC}/src/logic/defines.h + +do-configure: + @(cd ${WRKSRC}/src/gui && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}) do-install: - ${INSTALL} ${WRKSRC}/spellathon ${PREFIX}/bin - ${INSTALL} ${WRKSRC}/spellathon-cl ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/spellathon ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/spellathon-cl ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libspellathon.so.0.0 ${PREFIX}/lib + ${LN} -sf libspellathon.so.0.0 ${PREFIX}/lib/libspellathon.so + ${LN} -sf libspellathon.so.0.0 ${PREFIX}/lib/libspellathon.so.0 @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${DATADIR} Modified: head/games/spellathon/distinfo ============================================================================== --- head/games/spellathon/distinfo Wed Oct 31 21:03:25 2012 (r306765) +++ head/games/spellathon/distinfo Wed Oct 31 21:42:03 2012 (r306766) @@ -1,2 +1,2 @@ -SHA256 (spellathon-5.79.tar.gz) = 4abf0c03fb003b40c505ebddbc94bf0869b99458ac1fe6266963c241d2800554 -SIZE (spellathon-5.79.tar.gz) = 206249 +SHA256 (spellathon-6.0.tar.gz) = 49653195aca3dcad26d2ef87addb5a0ac1b0775f1d3ac6e139e413fce3d9c6de +SIZE (spellathon-6.0.tar.gz) = 212056 Modified: head/games/spellathon/pkg-plist ============================================================================== --- head/games/spellathon/pkg-plist Wed Oct 31 21:03:25 2012 (r306765) +++ head/games/spellathon/pkg-plist Wed Oct 31 21:42:03 2012 (r306766) @@ -1,4 +1,7 @@ bin/spellathon bin/spellathon-cl +lib/libspellathon.so +lib/libspellathon.so.0 +lib/libspellathon.so.0.0 %%DATADIR%%/words.txt @dirrmtry %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210312142.q9VLg4d6037912>