Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.7 2017/04/10 11:46:18 sthen Exp $
  2. V = 2.1
  3. COMMENT = scrabble game
  4. DISTNAME = eliot-${V}
  5. CATEGORIES = games
  6. REVISION = 0
  7. HOMEPAGE = http://nongnu.org/eliot/
  8. MASTER_SITES = ${MASTER_SITE_SAVANNAH:=eliot/releases/${V}/}
  9. EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
  10. DISTFILES += ${DISTNAME}${EXTRACT_SUFX}
  11. DIST_SUBDIR = eliot
  12. DICTS = danosc eliot-dic-cs eliot-dic-fr lex-fise rak sowpods06 twl06
  13. .for dict in ${DICTS}
  14. DISTFILES+= ${dict}.dawg:0
  15. .endfor
  16. MASTER_SITES0 = ${MASTER_SITE_SAVANNAH:=eliot/dict/}
  17. # GPLv2
  18. PERMIT_PACKAGE_CDROM = Yes
  19. MODULES = x11/qt4 devel/gettext
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
  22. LDFLAGS="-L${X11BASE}/lib -pthread -L${LOCALBASE}/lib -liconv"
  23. USE_GMAKE = Yes
  24. BUILD_DEPENDS = devel/boost \
  25. devel/libexecinfo
  26. RUN_DEPENDS = devel/desktop-file-utils
  27. LIB_DEPENDS = textproc/arabica devel/libconfig
  28. WANTLIB += lib/qt4/QtGui lib/qt4/QtNetwork c m pthread ${LIBCXX}
  29. WANTLIB += arabica config++ expat ncursesw
  30. post-configure:
  31. ${SUBST_CMD} ${WRKSRC}/qt/main_window.cpp
  32. post-install:
  33. ${INSTALL_DATA_DIR} ${PREFIX}/share/eliot
  34. .for dict in ${DICTS}
  35. ${INSTALL_DATA} ${FULLDISTDIR}/${dict}.dawg ${PREFIX}/share/eliot
  36. .endfor
  37. .include <bsd.port.mk>