Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile,v 1.31 2017/05/02 23:26:32 espie Exp $
  2. #
  3. PORTROACH_COMMENT = 2.02r2 is newer than 2.02
  4. PORTROACH = skipv:2.02
  5. COMMENT= side-view, fast-action, kill everything type of game
  6. V= 2.02r2
  7. DISTNAME= xevilsrc${V}
  8. PKGNAME= xevil-${V}
  9. REVISION = 2
  10. CATEGORIES= games
  11. HOMEPAGE= http://www.xevil.com/
  12. MASTER_SITES= ${HOMEPAGE}download/stable/
  13. EXTRACT_SUFX= .zip
  14. # GPLv2
  15. PERMIT_PACKAGE_CDROM= Yes
  16. WANTLIB= X11 Xpm c m pthread-stubs ${LIBCXX} xcb
  17. USE_GMAKE= Yes
  18. WRKDIST= ${WRKDIR}
  19. MAKE_FILE= makefile
  20. ALL_TARGET= openbsd
  21. MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" HOSTTYPE=openbsd
  22. NO_TEST= Yes
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xevil/html
  25. ${INSTALL_PROGRAM} ${WRKBUILD}/x11/OPENBSD/xevil \
  26. ${PREFIX}/bin/xevil
  27. ${INSTALL_DATA} ${WRKSRC}/x11/app-defaults/XEvil.* \
  28. $(PREFIX)/lib/X11/app-defaults/
  29. ${INSTALL_DATA} ${WRKSRC}/instructions/* \
  30. ${PREFIX}/share/doc/xevil/html
  31. .include <bsd.port.mk>
  32. # WAY too many warnings from xpm files otherwise!!!
  33. .if ${PROPERTIES:Mclang}
  34. CXXFLAGS += -Wno-c++11-compat-deprecated-writable-strings
  35. .endif