Makefile 720 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.3 2017/04/10 11:45:28 sthen Exp $
  2. COMMENT= clone of the Mastermind game
  3. DISTNAME= braincurses-0.5b
  4. CATEGORIES= games
  5. HOMEPAGE= http://sourceforge.net/projects/braincurses/
  6. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=braincurses/}
  10. WANTLIB= c m ncurses ${LIBCXX}
  11. do-build:
  12. cd ${WRKBUILD} && ${CXX} ${CXXFLAGS} -o braincurses \
  13. curses/windows.cpp braincurses.cpp -lncurses
  14. do-install:
  15. ${INSTALL_PROGRAM} ${WRKBUILD}/braincurses ${PREFIX}/bin
  16. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/braincurses
  17. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/braincurses
  18. NO_TEST= Yes
  19. .include <bsd.port.mk>