openbsd-ports/games/eliot/Makefile
landry 5d259ed12b Import eliot 1.14.
Eliot is a Scrabble game, it offers 3 different game modes:
The free game mode is the standard one, ideal for having fun with your
friends or family. You can play the game against a friend so that you
can test your skills.

In the duplicate mode, all the players are faced with the same board and
letters at the same time. It is mainly used in clubs and competitions
since it takes away the chance (and tactics) component(s) of the game.

The training mode allows to play alone and make progress for the
duplicate.  It gives more freedom than the multiplayer modes.

Feedback/ok sthen@
2012-03-05 18:05:35 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/03/05 18:05:35 landry Exp $
COMMENT = scrabble game
DISTNAME = eliot-1.14
CATEGORIES = games
HOMEPAGE = http://nongnu.org/eliot/
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=eliot/releases/}
EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
DISTFILES += ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR = eliot
DICTS = danosc eliot-dic-cs eliot-dic-fr lex-fise rak sowpods06 twl06
.for dict in ${DICTS}
DISTFILES+= ${dict}.dawg:0
.endfor
MASTER_SITES0 = ${MASTER_SITE_SAVANNAH:=eliot/dict/}
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = x11/qt4 devel/gettext
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -pthread -L${LOCALBASE}/lib -liconv"
USE_GMAKE = Yes
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = textproc/arabica devel/libconfig
WANTLIB += QtGui c m pthread stdc++
WANTLIB += arabica config++ expat ncursesw
post-configure:
${SUBST_CMD} ${WRKSRC}/qt/main_window.cpp
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/eliot
.for dict in ${DICTS}
${INSTALL_DATA} ${FULLDISTDIR}/${dict}.dawg ${PREFIX}/share/eliot
.endfor
.include <bsd.port.mk>