Makefile 832 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.25 2013/11/09 18:22:02 zhuk Exp $
  2. COMMENT = Tcl/Tk-based manual browser
  3. DISTNAME = tkman-2.2
  4. REVISION = 0
  5. CATEGORIES = misc
  6. HOMEPAGE = http://www.sourceforge.net/projects/tkman
  7. MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
  8. # Artistic License
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tkman/}
  11. MODULES = x11/tk
  12. RUN_DEPENDS = ${MODTK_RUN_DEPENDS} \
  13. textproc/rman \
  14. textproc/glimpse
  15. NO_TEST = Yes
  16. pre-patch:
  17. perl -pi -e 's!\r\n$$!\n!g;' ${WRKSRC}/Makefile
  18. do-install:
  19. @${MODTCL_WISH_ADJ} ${WRKSRC}/tkman ${WRKSRC}/retkman
  20. ${INSTALL_SCRIPT} ${WRKSRC}/tkman ${PREFIX}/bin
  21. ${INSTALL_SCRIPT} ${WRKSRC}/retkman ${PREFIX}/bin
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkman
  23. ${INSTALL_DATA} ${WRKSRC}/manual.html ${PREFIX}/share/doc/tkman
  24. .include <bsd.port.mk>