Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # $OpenBSD: Makefile,v 1.19 2016/03/18 23:12:18 naddy Exp $
  2. COMMENT = XMPP client with whiteboard
  3. REVISION = 4
  4. DISTNAME = Coccinella-0.96.20Binfree
  5. PKGNAME = ${DISTNAME:S/Binfree$//:L}
  6. CATEGORIES = net
  7. HOMEPAGE = http://www.coccinella.im
  8. MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=coccinella/}
  12. MODULES = x11/tk
  13. RUN_DEPENDS = audio/snack \
  14. devel/itcl \
  15. graphics/tkpng \
  16. graphics/tkimg \
  17. misc/memchan \
  18. net/tcludp \
  19. security/tcltls \
  20. telephony/iaxclient,-tcl \
  21. x11/tkdnd \
  22. x11/tkhtml \
  23. x11/tktray \
  24. x11/tktreectrl
  25. NO_BUILD = Yes
  26. NO_TEST = Yes
  27. SEPARATE_BUILD = Yes
  28. COCCINELLALIB = ${LOCALBASE}/lib/coccinella
  29. SUBST_VARS = COCCINELLALIB
  30. pre-configure:
  31. ${MODTCL_WISH_ADJ} ${WRKSRC}/Coccinella.tcl
  32. ${SUBST_CMD} ${WRKSRC}/Coccinella.tcl \
  33. ${WRKSRC}/lib/Init.tcl
  34. do-install:
  35. ${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/coccinella
  36. cd ${WRKSRC} && find TclXML [c-z]* -type d -exec ${INSTALL_DATA_DIR} \
  37. ${PREFIX}/lib/coccinella/{} \; && \
  38. find TclXML [c-z]* ! -type d -exec ${INSTALL_DATA} {} \
  39. ${PREFIX}/lib/coccinella/{} \; && \
  40. ${INSTALL_DATA} pkgIndex.tcl ${PREFIX}/lib/coccinella
  41. rm ${PREFIX}/lib/coccinella/lib/Init.tcl.* \
  42. ${PREFIX}/lib/coccinella/show_own_jid.patch
  43. ${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${PREFIX}/lib/coccinella
  44. ${SUBST_PROGRAM} ${FILESDIR}/coccinella \
  45. ${PREFIX}/bin/coccinella
  46. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coccinella
  47. cd ${WRKSRC} && ${INSTALL_DATA} README.txt READMEs/README-xmpp \
  48. READMEs/README-sounds \
  49. ${PREFIX}/share/doc/coccinella/
  50. .include <bsd.port.mk>