Makefile 732 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.3 2015/07/07 10:43:09 ajacoutot Exp $
  2. COMMENT = client-server p9p devdraw
  3. DISTNAME = devdrawserver-20120504
  4. CATEGORIES = plan9
  5. REVISION = 1
  6. MAINTAINER = Gleydson Soares <gsoares@openbsd.org>
  7. # 3-clause BSD
  8. PERMIT_PACKAGE_CDROM = Yes
  9. GH_ACCOUNT = mariusae
  10. GH_PROJECT = devdrawserver
  11. GH_COMMIT = 9a0cae0970bb9d1990a8b997e519b986f84f5571
  12. WANTLIB += c m pthread util
  13. RUN_DEPENDS = plan9/plan9port
  14. BUILD_DEPENDS = plan9/plan9port
  15. NO_TEST = Yes
  16. PLAN9 = ${PREFIX}/plan9
  17. do-build:
  18. cd ${WRKSRC} && 9 mk all
  19. do-install:
  20. ${INSTALL_DATA_DIR} ${PLAN9}/bin
  21. cd ${WRKSRC} && \
  22. for l in o.*; do \
  23. ${INSTALL_PROGRAM} $$l ${PLAN9}/bin/$$(echo $$l | sed 's|o.||g'); \
  24. done
  25. .include <bsd.port.mk>