You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=mandoc
  3. PKG_VERSION:=1.14.6
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://mandoc.bsd.lv/snapshots/
  7. PKG_HASH:=8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c
  8. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  9. PKG_LICENSE:=BSD-3-Clause BSD-2-Clause
  10. PKG_LICENSE_FILES:=LICENSE
  11. PKG_INSTALL:=1
  12. PKG_BUILD_PARALLEL:=1
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/mandoc
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. TITLE:=mandoc document formatting system
  18. DEPENDS:=+zlib
  19. URL:=https://mandoc.bsd.lv/
  20. endef
  21. define Package/sed/description
  22. mandoc is a suite of tools compiling mdoc, the roff macro language
  23. of choice for BSD manual pages, and man, the predominant historical
  24. language for UNIX manuals. It is small, ISO C, ISC-licensed, and quite
  25. fast. The main component of the toolset is the mandoc utility program,
  26. based on the libmandoc validating compiler, to format output for UTF-8
  27. and ASCII UNIX terminals, HTML 5, PostScript, and PDF.
  28. endef
  29. CONFIGURE_VARS=\
  30. CC=$(CC) \
  31. HAVE_FTS=0 \
  32. HAVE_REALLOCARRAY=0 \
  33. define Package/mandoc/install
  34. $(INSTALL_DIR) $(1)/usr/bin/
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mandoc $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,mandoc))