diff options
Diffstat (limited to 'sysutils/flashrom/Makefile')
-rw-r--r-- | sysutils/flashrom/Makefile | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/sysutils/flashrom/Makefile b/sysutils/flashrom/Makefile index 608e241cffc0..ccc9e29dbb4f 100644 --- a/sysutils/flashrom/Makefile +++ b/sysutils/flashrom/Makefile @@ -1,7 +1,7 @@ PORTNAME= flashrom -PORTVERSION= 1.3.0 +PORTVERSION= 1.6.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://download.flashrom.org/releases/ @@ -15,29 +15,38 @@ LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= riscv64 NOT_FOR_ARCHS_REASON= Unable to determine endianness. -BUILD_DEPENDS+= cmocka>=0:sysutils/cmocka +BUILD_DEPENDS= cmocka>=0:sysutils/cmocka LIB_DEPENDS= libpci.so:devel/libpci -USES= meson pkgconfig tar:bzip2 +USES= meson pkgconfig ssl tar:xz +USE_LDCONFIG= yes PORTDOCS= * -OPTIONS_DEFINE= DOCS FTDI +OPTIONS_DEFINE= DOCS FTDI MANPAGES OPTIONS_DEFINE_amd64= DMIDECODE OPTIONS_DEFINE_i386= DMIDECODE +OPTIONS_DEFAULT= MANPAGES OPTIONS_DEFAULT_amd64= DMIDECODE OPTIONS_DEFAULT_i386= DMIDECODE +OPTIONS_SUB= yes DMIDECODE_DESC= Use dmidecode to gather DMI information FTDI_DESC= Enable external FT2232SPI flasher support DMIDECODE_RUN_DEPENDS= dmidecode:sysutils/dmidecode +DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx +DOCS_MESON_ENABLED= documentation +DOCS_MESON_DISABLED= generate_authors_list + FTDI_LIB_DEPENDS= libftdi1.so:devel/libftdi1 -post-install: +MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx +MANPAGES_MESON_ENABLED= man-pages + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/Documentation && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |