aboutsummaryrefslogtreecommitdiff
path: root/textproc/linuxdoc-tools/Makefile
blob: 4b292a450a2a6dc274d2dfa5438428ef23733472 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Felix Palmen <felix@palmen-it.de>

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=	felix@palmen-it.de
COMMENT=	Fork of SGML-tools specially tailored for linuxdoc SGMLs

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_USE=		tex=latex:build tex=pdftex:build tex=dvipsk:build
DOCS_USES=		makeinfo
DOCS_CONFIGURE_ENABLE=	docs

.include <bsd.port.mk>