summaryrefslogtreecommitdiff
path: root/games/spellathon
diff options
context:
space:
mode:
Diffstat (limited to 'games/spellathon')
-rw-r--r--games/spellathon/Makefile53
-rw-r--r--games/spellathon/distinfo2
-rw-r--r--games/spellathon/files/patch-src_cl_main.cc15
-rw-r--r--games/spellathon/files/patch-src_gui_mainwindow.cc15
-rw-r--r--games/spellathon/pkg-descr5
-rw-r--r--games/spellathon/pkg-plist6
6 files changed, 0 insertions, 96 deletions
diff --git a/games/spellathon/Makefile b/games/spellathon/Makefile
deleted file mode 100644
index 62fc359e196d..000000000000
--- a/games/spellathon/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# Created by: Girish <girish.rao.dev@gmail.com>
-# $FreeBSD$
-
-PORTNAME= spellathon
-PORTVERSION= 6.0
-PORTREVISION= 5
-CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Word game to test your English vocabulary skills
-
-LICENSE= BSD2CLAUSE
-
-DEPRECATED= Qt4 has been EOL since december 2015
-EXPIRATION_DATE= 2019-03-15
-
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
-LIB_DEPENDS= libpcre.so:devel/pcre \
- libpng.so:graphics/png \
- libfreetype.so:print/freetype2 \
- libexpat.so:textproc/expat2 \
- libfontconfig.so:x11-fonts/fontconfig
-
-CXXFLAGS+= -fPIC
-USES= gettext iconv qmake qt:4
-USE_GNOME= glib20
-USE_QT= corelib gui moc_build rcc_build uic_build
-USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
-USE_LDCONFIG= yes
-
-CONFIGURE_WRKSRC= ${WRKSRC}/src/gui
-
-DESKTOP_ENTRIES="Spellathon" "" "" "${PORTNAME}" "Education;Languages;" true
-
-post-patch:
- @${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-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/spellathon ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/spellathon-cl ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib
- ${LN} -sf libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib/libspellathon.so
- ${LN} -sf libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib/libspellathon.so.0
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${STAGEDIR}${DATADIR}
-
-.include <bsd.port.mk>
diff --git a/games/spellathon/distinfo b/games/spellathon/distinfo
deleted file mode 100644
index 84c0fedb1606..000000000000
--- a/games/spellathon/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spellathon-6.0.tar.gz) = 49653195aca3dcad26d2ef87addb5a0ac1b0775f1d3ac6e139e413fce3d9c6de
-SIZE (spellathon-6.0.tar.gz) = 212056
diff --git a/games/spellathon/files/patch-src_cl_main.cc b/games/spellathon/files/patch-src_cl_main.cc
deleted file mode 100644
index 120010e31f74..000000000000
--- a/games/spellathon/files/patch-src_cl_main.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-main.cc:378:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
- fprintf(stderr, "Spellathon "VERSION" (svn%s) (c)"COPYRIGHT"\n\n"
- ^
-
---- src/cl/main.cc.orig 2018-08-02 06:21:54 UTC
-+++ src/cl/main.cc
-@@ -375,7 +375,7 @@ static void
- help(void)
- {
- const char* svn_version(void);
-- fprintf(stderr, "Spellathon "VERSION" (svn%s) (c)"COPYRIGHT"\n\n"
-+ fprintf(stderr, "Spellathon " VERSION " (svn%s) (c)" COPYRIGHT "\n\n"
- "usage: spellathon <option> [sub-options ...]\n\n"
- "Options:\n"
- " -i -- Game instructions.\n"
diff --git a/games/spellathon/files/patch-src_gui_mainwindow.cc b/games/spellathon/files/patch-src_gui_mainwindow.cc
deleted file mode 100644
index 76a60d7b974e..000000000000
--- a/games/spellathon/files/patch-src_gui_mainwindow.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-mainwindow.cc:351:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
- QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>"VERSION"&nbsp;&nbsp;<font color=\"gray\">(svn%1)</font><br><br>&copy;"COPYRIGHT"<br>").arg(svn_version()));
- ^
-
---- src/gui/mainwindow.cc.orig 2018-08-02 06:22:41 UTC
-+++ src/gui/mainwindow.cc
-@@ -348,7 +348,7 @@ void
- MainWindow::about()
- {
- const char* svn_version();
-- QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>"VERSION"&nbsp;&nbsp;<font color=\"gray\">(svn%1)</font><br><br>&copy;"COPYRIGHT"<br>").arg(svn_version()));
-+ QMessageBox::about(this, "About", QString("<font size=\"+2\">Spellathon </font>" VERSION "&nbsp;&nbsp;<font color=\"gray\">(svn%1)</font><br><br>&copy;" COPYRIGHT "<br>").arg(svn_version()));
- }
-
- void
diff --git a/games/spellathon/pkg-descr b/games/spellathon/pkg-descr
deleted file mode 100644
index 44ba6157a772..000000000000
--- a/games/spellathon/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Spellathon is a word game to test your English vocabulary skills.
-You are given seven letters and you need to find words of length -
-four letters or more that include a central letter.
-
-WWW: https://sourceforge.net/projects/spellathon/
diff --git a/games/spellathon/pkg-plist b/games/spellathon/pkg-plist
deleted file mode 100644
index b1e12ce04465..000000000000
--- a/games/spellathon/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/spellathon
-bin/spellathon-cl
-lib/libspellathon.so
-lib/libspellathon.so.0
-lib/libspellathon.so.0.0
-%%DATADIR%%/words.txt