freebsd-ports/textproc/linuxdoc-tools/Makefile
Felix Palmen efbf64ff8c textproc/linuxdoc-tools: Fix build with DOCS
DOCS_USES was declared twice after update for the USES=tex change.
While here, sort DOCS_USE.

Approved by:	tcberner (mentor, implicit)
2022-12-21 17:08:50 +01:00

38 lines
1.1 KiB
Makefile

PORTNAME= linuxdoc-tools
PORTVERSION= 0.9.82
CATEGORIES= textproc
# USE_GITLAB requires a commit hash, so construct MASTER_SITES manually
MASTER_SITES= https://gitlab.com/agmartin/${PORTNAME}/-/archive/${PORTVERSION}/
MAINTAINER= zirias@FreeBSD.org
COMMENT= Fork of SGML-tools specially tailored for linuxdoc SGMLs
WWW= https://gitlab.com/agmartin/linuxdoc-tools
LICENSE= GPLv3 LinuxdocTools
LICENSE_COMB= multi
LICENSE_NAME_LinuxdocTools= The linuxdoc-tools license
LICENSE_FILE_LinuxdocTools= ${WRKSRC}/COPYING
LICENSE_PERMS_LinuxdocTools= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= gawk:lang/gawk \
nsgmls:textproc/jade \
sgmlsasp:textproc/sgmls
RUN_DEPENDS= gawk:lang/gawk \
nsgmls:textproc/jade \
sgmlsasp:textproc/sgmls
GNU_CONFIGURE= yes
USES= gmake groff:both perl5 tar:bzip2
CONFIGURE_ARGS= --with-installed-sgmlsasp
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= bash:shells/bash
DOCS_USES= makeinfo tex
DOCS_USE= TEX=dvipsk:build,latex:build,pdftex:build
DOCS_CONFIGURE_ENABLE= docs
.include <bsd.port.mk>