Makefile 734 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.4 2015/08/25 13:18:26 sthen Exp $
  2. COMMENT = open source, classic overhead run-and-gun game
  3. DISTNAME = cdogs-sdl-0.5.5.1
  4. CATEGORIES = games x11
  5. REVISION = 1
  6. HOMEPAGE = http://cxong.github.io/cdogs-sdl/
  7. # GPLv2+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += SDL SDL_image SDL_mixer SDL_net c m pthread
  10. MASTER_SITES = http://mirrors.nycbug.org/pub/distfiles/
  11. MODULES = devel/cmake
  12. LIB_DEPENDS = devel/sdl-image \
  13. devel/sdl-mixer \
  14. devel/sdl-net
  15. RUN_DEPENDS = devel/desktop-file-utils
  16. pre-configure:
  17. ${SUBST_CMD} ${WRKSRC}/src/cdogs/sys_config.h
  18. post-build:
  19. @cp ${WRKBUILD}/src/cdogs-sdl ${WRKSRC}/src/cdogs-sdl
  20. @cp ${WRKBUILD}/src/cdogs-sdl-editor ${WRKSRC}/src/cdogs-sdl-editor
  21. .include <bsd.port.mk>