Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.4 2017/04/10 11:46:19 sthen Exp $
  2. COMMENT = Tetris and Pong played simultaneously on one playing field
  3. DISTNAME = tong-1.3
  4. CATEGORIES = games x11
  5. REVISION = 0
  6. HOMEPAGE = http://www.nongnu.org/tong/
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += SDL SDL_image SDL_mixer c m pthread ${LIBCXX}
  10. MASTER_SITES = http://www.nongnu.org/tong/
  11. LIB_DEPENDS = devel/sdl-image \
  12. devel/sdl-mixer
  13. USE_GMAKE = Yes
  14. MAKE_FLAGS = CC="${CXX} ${CXXFLAGS}" \
  15. GAME_DATA_DIR="${TRUEPREFIX}/share/tong"
  16. NO_TEST = Yes
  17. WRKDIST = ${WRKDIR}/tong
  18. do-install:
  19. ${INSTALL_PROGRAM} ${WRKSRC}/tong ${PREFIX}/bin
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tong
  21. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tong
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
  23. ${INSTALL_DATA} ${WRKSRC}/media/tong.png ${PREFIX}/share/pixmaps
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/tong
  25. ${INSTALL_DATA} ${WRKSRC}/*.png ${PREFIX}/share/tong
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/tong/media
  27. ${INSTALL_DATA} ${WRKSRC}/media/*.{png,xcf,ogg,ico} ${PREFIX}/share/tong/media
  28. .include <bsd.port.mk>