2012-09-23 17:38:58 +02:00
|
|
|
# Created by: Girish <girish.rao.dev@gmail.com>
|
2009-05-21 20:59:06 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= spellathon
|
2012-10-31 22:42:03 +01:00
|
|
|
PORTVERSION= 6.0
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 2
|
2009-05-21 20:59:06 +02:00
|
|
|
CATEGORIES= games
|
2012-10-31 22:42:03 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION}
|
2009-05-21 20:59:06 +02:00
|
|
|
|
2012-09-22 17:57:57 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-05-21 20:59:06 +02:00
|
|
|
COMMENT= Word game to test your English vocabulary skills
|
|
|
|
|
2012-10-31 22:42:03 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2013-10-13 15:03:03 +02:00
|
|
|
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
|
|
|
|
libpcre.so:${PORTSDIR}/devel/pcre \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
|
|
libexpat.so:${PORTSDIR}/textproc/expat2 \
|
|
|
|
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
|
2012-10-31 22:42:03 +01:00
|
|
|
|
2012-11-08 09:39:12 +01:00
|
|
|
CXXFLAGS+= -fPIC
|
2013-10-13 15:03:03 +02:00
|
|
|
USES= gettext iconv qmake
|
2012-10-31 22:42:03 +01:00
|
|
|
USE_GNOME= glib20
|
2013-11-21 17:09:47 +01:00
|
|
|
USE_QT4= corelib gui moc_build rcc_build uic_build
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
|
2012-10-31 22:42:03 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2013-10-13 15:03:03 +02:00
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/src/gui
|
|
|
|
|
2013-01-07 03:07:26 +01:00
|
|
|
DESKTOP_ENTRIES="Spellathon" "${COMMENT}" "" "${PORTNAME}" "Education;Languages;" "true"
|
2009-05-21 20:59:06 +02:00
|
|
|
|
|
|
|
post-patch:
|
2012-10-31 22:42:03 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|$${CC}|$${CXX}|g ; \
|
2013-10-13 15:03:03 +02:00
|
|
|
s|$${CFLAGS}|$${CXXFLAGS}|g ; \
|
|
|
|
s|qmake-qt4|${TRUE}|'
|
2012-10-31 22:42:03 +01:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
's|dict/words.txt|${DATADIR}/words.txt|' ${WRKSRC}/src/logic/defines.h
|
|
|
|
|
2009-05-21 20:59:06 +02:00
|
|
|
do-install:
|
2013-10-13 15:03:03 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spellathon ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spellathon-cl ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${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}
|
2009-05-21 20:59:06 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|