freebsd-ports/games/spellathon/Makefile
Niclas Zeising 92ea0d614b 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 14:37:02 +00:00

52 lines
1.6 KiB
Makefile

# Created by: Girish <girish.rao.dev@gmail.com>
# $FreeBSD$
PORTNAME= spellathon
PORTVERSION= 6.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Word game to test your English vocabulary skills
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
CXXFLAGS+= -fPIC
USES= gettext iconv
USE_GNOME= glib20
USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES="Spellathon" "${COMMENT}" "" "${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-configure:
@(cd ${WRKSRC}/src/gui && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
do-install:
${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}
.include <bsd.port.mk>