Makefile 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # $OpenBSD: Makefile,v 1.31 2015/11/05 19:08:58 jca Exp $
  2. MULTI_PACKAGES= -main -themes
  3. COMMENT-main= tetrinet client
  4. COMMENT-themes= collection of gtetrinet themes
  5. DISTNAME= gtetrinet-0.7.11
  6. PKGNAME-main= ${DISTNAME}
  7. REVISION-main= 20
  8. PKGNAME-themes= gtetrinet-themes-20070623
  9. REVISION-themes=3
  10. CATEGORIES= x11 games
  11. HOMEPAGE= http://gtetrinet.sourceforge.net/
  12. MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtetrinet/0.7/}
  13. MASTER_SITES0= ${HOMEPAGE:=themes/}
  14. DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
  15. EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
  16. # themes from the homepage that are not available as of 2007-06-23:
  17. # chronos edge ffviii gameboy hivis medieval james james-mono tetrinetv2
  18. # win-tetrinet
  19. THEMES= TuxNBlue iconic matrix mmr tux tetrinetlv2 wield
  20. .for THEME in ${THEMES}
  21. DISTFILES+= gtet-theme-${THEME}${EXTRACT_SUFX}:0
  22. .endfor
  23. # GPLv2
  24. PERMIT_PACKAGE_CDROM= Yes
  25. MODULES= textproc/intltool \
  26. devel/gconf2 \
  27. devel/gettext
  28. LIB_DEPENDS-main= ${MODGCONF2_LIB_DEPENDS} \
  29. x11/gnome/libgnome \
  30. x11/gnome/libgnomeui
  31. LIB_DEPENDS-themes=
  32. WANTLIB-themes=
  33. RUN_DEPENDS-main= ${RUN_DEPENDS} \
  34. devel/desktop-file-utils
  35. RUN_DEPENDS-themes= games/gtetrinet
  36. PKG_ARCH-themes= *
  37. WANTLIB-main += ${MODGCONF2_WANTLIB} ${MODGETTEXT_WANTLIB}
  38. WANTLIB-main += ICE ORBit-2 SM X11 Xcomposite Xcursor Xdamage Xext
  39. WANTLIB-main += Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
  40. WANTLIB-main += bonobo-2 bonobo-activation bonoboui-2 c cairo fontconfig
  41. WANTLIB-main += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
  42. WANTLIB-main += gmodule-2.0 gnome-2 gnomecanvas-2 gnomeui-2 gnomevfs-2
  43. WANTLIB-main += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
  44. WANTLIB-main += pangoft2-1.0 popt pthread z
  45. WANTLIB-themes =
  46. MODGCONF2_SCHEMAS_DIR= gtetrinet
  47. MODGCONF2_LIBDEP= No
  48. CONFIGURE_STYLE=gnu
  49. CONFIGURE_ARGS+=--enable-ipv6
  50. CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
  51. LDFLAGS="-L${LOCALBASE}/lib"
  52. FAKE_FLAGS= gamesdir=${PREFIX}/bin \
  53. schemadir=${PREFIX}/share/schemas/gtetrinet
  54. USE_GMAKE= Yes
  55. NO_TEST= Yes
  56. post-install:
  57. .for THEME in ${THEMES}
  58. @tar xzf ${DISTDIR}/gtet-theme-${THEME}${EXTRACT_SUFX} -C \
  59. ${PREFIX}/share/gtetrinet/themes
  60. .endfor
  61. .include <bsd.port.mk>