Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.8 2017/04/10 11:46:19 sthen Exp $
  2. COMMENT = modernization of the classic DOS game Scorched Earth
  3. DISTNAME = Scorched3D-43.1c-src
  4. PKGNAME = ${DISTNAME:L:S/-src//}
  5. REVISION = 2
  6. CATEGORIES = games x11
  7. HOMEPAGE = http://www.scorched3d.co.uk/
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += GL GLU c expat freetype m pthread ${LIBCXX} z
  11. WANTLIB += SDL SDL_net alut fftw3f jpeg openal png ogg vorbisfile
  12. WANTLIB += wx_base wx_base_net wx_base_odbc wx_base_xml vorbis
  13. WANTLIB += wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_dbgrid
  14. WANTLIB += wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext wx_gtk2_xrc
  15. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=scorched3d/}
  16. BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
  17. ${MODGNU_AUTOMAKE_DEPENDS}
  18. LIB_DEPENDS = audio/openal \
  19. audio/libvorbis \
  20. audio/freealut \
  21. x11/wxWidgets \
  22. math/fftw3,float \
  23. devel/sdl-net \
  24. devel/sdl-mixer
  25. RUN_DEPENDS = devel/xdg-utils
  26. CONFIGURE_STYLE = gnu
  27. CONFIGURE_ARGS = --datarootdir=${PREFIX}/share/scorched3d/
  28. AUTOCONF_VERSION = 2.63
  29. AUTOMAKE_VERSION = 1.11
  30. FAKE_FLAGS+= docdir="${PREFIX}/share/doc/scorched3d/"
  31. CFLAGS += `pkg-config --cflags libpng`
  32. WRKDIST = ${WRKDIR}/scorched
  33. pre-configure:
  34. cd ${WRKSRC}; \
  35. touch NEWS AUTHORS ChangeLog; \
  36. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  37. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  38. autoreconf -fi
  39. .include <bsd.port.mk>