Makefile 635 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.25 2016/04/05 22:54:46 jca Exp $
  2. COMMENT= shell (clone of plan9 shell)
  3. DISTNAME= rc-1.7.4
  4. REVISION= 0
  5. CATEGORIES= plan9 shells
  6. MASTER_SITES= http://static.tobold.org/rc/
  7. HOMEPAGE= http://tobold.org/article/rc
  8. # zlib license
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c
  11. SEPARATE_BUILD= Yes
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ARGS= --with-history
  14. FLAVORS= readline editline
  15. FLAVOR?=
  16. TEST_TARGET= trip
  17. .if ${FLAVOR} == "readline"
  18. CONFIGURE_ARGS+= --with-edit=readline
  19. WANTLIB+= readline termcap
  20. .elif ${FLAVOR} == "editline"
  21. CONFIGURE_ARGS+= --with-edit=edit
  22. WANTLIB += edit termcap
  23. .endif
  24. .include <bsd.port.mk>