Makefile 816 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.20 2017/04/10 11:46:19 sthen Exp $
  2. COMMENT= sdl shoot 'em up; stop evil army from getting your oil
  3. DISTNAME= OilWar-1.2.1
  4. PKGNAME= ${DISTNAME:L}
  5. REVISION = 4
  6. CATEGORIES= games x11
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= SDL c m pthread ${LIBCXX} SDL_image SDL_mixer
  10. NO_TEST= Yes
  11. LIB_DEPENDS= devel/sdl-image \
  12. devel/sdl-mixer
  13. CONFIGURE_STYLE=gnu
  14. do-install:
  15. ${INSTALL_DATA_DIR} ${PREFIX}/bin
  16. ${INSTALL_DATA_DIR} ${PREFIX}/share/{doc/oilwar,oilwar}
  17. ${INSTALL_PROGRAM} ${WRKSRC}/oilwar ${PREFIX}/bin
  18. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/oilwar
  19. ${INSTALL_DATA} ${WRKSRC}/*.{png,wav} ${PREFIX}/share/oilwar
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oilwar/
  21. ${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/oilwar/oilwar.scores
  22. .include <bsd.port.mk>