Makefile 975 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.3 2017/02/19 14:23:28 naddy Exp $
  2. COMMENT = instant terminal sharing based on tmux
  3. GH_ACCOUNT = tmate-io
  4. GH_PROJECT = tmate
  5. GH_TAGNAME = 2.2.1
  6. REVISION = 0
  7. CATEGORIES = sysutils
  8. MAINTAINER = Wesley MOUEDINE ASSABY <milo974@gmail.com>
  9. # BSD
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += c event_core event_extra msgpackc ncurses ssh util
  12. LIB_DEPENDS = devel/libevent2 \
  13. devel/msgpack \
  14. security/libssh
  15. CONFIGURE_STYLE = gnu
  16. CONFIGURE_ARGS += --disable-debug
  17. AUTOCONF_VERSION= 2.69
  18. AUTOMAKE_VERSION= 1.15
  19. BUILD_DEPENDS += ${MODGNU_AUTOMAKE_DEPENDS} \
  20. ${MODGNU_AUTOCONF_DEPENDS}
  21. pre-configure:
  22. cd ${WRKSRC} && AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  23. AUTOCONF_VERSION=${AUTOCONF_VERSION} ./autogen.sh
  24. # Fixup any stragglers that would pickup libevent1 from base
  25. sed -i 's,<event.h>,<event2/event.h>,' ${WRKSRC}/*.[ch]
  26. do-install:
  27. ${INSTALL_PROGRAM} ${WRKSRC}/tmate ${PREFIX}/bin/
  28. .include <bsd.port.mk>