Makefile 913 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.2 2015/12/03 21:24:31 sthen Exp $
  2. COMMENT= command-line tools to work with RFCs and Internet Drafts
  3. DISTNAME= ietf-cli-1.14
  4. CATEGORIES= misc net books
  5. HOMEPAGE= https://trac.tools.ietf.org/tools/ietf-cli/
  6. # WTFPL
  7. PERMIT_PACKAGE_CDROM= Yes
  8. # packaged from http://svn.tools.ietf.org/svn/tools/ietf-cli/ r32
  9. MASTER_SITES= https://spacehopper.org/mirrors/
  10. MODULES= lang/python
  11. MODPY_BUILDDEP= No
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. RUN_DEPENDS= net/rsync \
  15. devel/xdg-utils
  16. PKG_ARCH= *
  17. MODPY_ADJ_FILES= ietf
  18. post-extract:
  19. perl -pi -e 's/\r$$//g' ${WRKSRC}/README
  20. do-configure:
  21. ${SUBST_CMD} ${WRKSRC}/ietf{,.config}
  22. do-install:
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/ietf
  24. ${INSTALL_SCRIPT} ${WRKSRC}/ietf ${PREFIX}/bin
  25. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ietf
  26. ${INSTALL_DATA} ${WRKSRC}/ietf.config ${PREFIX}/share/examples/ietf
  27. .include <bsd.port.mk>