Makefile 818 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.4 2015/08/25 13:18:25 sthen Exp $
  2. COMMENT = console-based 52-card solitare game
  3. DISTNAME = bluemoon-2.12
  4. CATEGORIES = games
  5. REVISION = 0
  6. HOMEPAGE = http://www.catb.org/~esr/bluemoon/
  7. # BSD
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += c ncurses
  10. MASTER_SITES = http://www.catb.org/~esr/bluemoon/
  11. RUN_DEPENDS = devel/desktop-file-utils
  12. MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
  13. ALL_TARGET = bluemoon
  14. NO_TEST = Yes
  15. do-install:
  16. ${INSTALL_PROGRAM} ${WRKSRC}/bluemoon ${PREFIX}/bin
  17. ${INSTALL_MAN} ${WRKSRC}/bluemoon.6 ${PREFIX}/man/man6
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
  19. ${INSTALL_DATA} ${WRKSRC}/bluemoon.desktop ${PREFIX}/share/applications/
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
  21. ${INSTALL_DATA} ${WRKSRC}/bluemoon.png ${PREFIX}/share/pixmaps
  22. .include <bsd.port.mk>