Makefile 970 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.18 2017/04/10 11:46:19 sthen Exp $
  2. COMMENT= city simulation game
  3. DISTNAME= lincity-ng-2.0
  4. REVISION = 6
  5. EXTRACT_SUFX= .tar.bz2
  6. CATEGORIES= games x11
  7. HOMEPAGE= https://fedorahosted.org/LinCity-NG/
  8. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lincity-ng.berlios/}
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB= GL SDL X11 c m pthread pthread-stubs ${LIBCXX} xcb z \
  12. SDL_gfx SDL_image SDL_mixer SDL_ttf physfs xml2
  13. MODULES= devel/gettext
  14. LIB_DEPENDS= devel/sdl-gfx \
  15. devel/sdl-image \
  16. devel/sdl-mixer \
  17. devel/sdl-ttf \
  18. devel/physfs \
  19. textproc/libxml
  20. BUILD_DEPENDS= devel/jam
  21. RUN_DEPENDS= devel/desktop-file-utils
  22. NO_TEST= Yes
  23. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  24. LDFLAGS="-L${LOCALBASE}/lib" \
  25. LIBS="-liconv -pthread"
  26. CONFIGURE_STYLE=gnu
  27. do-build:
  28. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam -dx
  29. do-install:
  30. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ALL_FAKE_FLAGS} jam \
  31. install install_man
  32. .include <bsd.port.mk>