Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.2 2014/10/22 13:55:07 jasper Exp $
  2. COMMENT = enhanced version the PrBoom Doom engine
  3. DISTNAME = prboom-plus-2.5.1.3
  4. REVISION = 0
  5. CATEGORIES = games x11
  6. HOMEPAGE = http://prboom-plus.sourceforge.net/
  7. MAINTAINER = Ryan Freeman <ryan@slipgate.org>
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. BUILD_DEPENDS = archivers/unzip \
  11. ${MODGNU_AUTOCONF_DEPENDS}
  12. WANTLIB += SDL c m pthread GL GLU SDL_mixer SDL_net
  13. LIB_DEPENDS = devel/sdl-mixer \
  14. devel/sdl-net
  15. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=prboom-plus/}
  16. CONFIGURE_STYLE = autoconf automake
  17. AUTOCONF_VERSION = 2.65
  18. AUTOMAKE_VERSION = 1.9
  19. CONFIGURE_ARGS += --disable-cpu-opt \
  20. --with-waddir=${TRUEPREFIX}/share/doom
  21. CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include"
  22. MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools
  23. FAKE_FLAGS += gamesdir=${PREFIX}/bin \
  24. docdir=${PREFIX}/share/doc/prboom-plus
  25. post-extract:
  26. @perl -MExtUtils::Command -e dos2unix ${WRKSRC}/*
  27. @cd ${WRKSRC} && \
  28. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  29. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  30. sh bootstrap && chmod 0755 ./configure
  31. .include <bsd.port.mk>