summaryrefslogtreecommitdiff
path: root/textproc/xindy/Makefile
blob: 6c0088da7d2184eb4b18d1f3ca31cd2c0c49bb3d (plain)
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
# $NetBSD: Makefile,v 1.7 2020/05/10 03:56:40 markd Exp $

.include "../../print/texlive/Makefile.common"

PKGNAME=	xindy-2.5.1
PKGREVISION=	4
CATEGORIES=	print

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.tug.org/texlive/
COMMENT=	xindy runtime required by the tex-xindy package
LICENSE=	gnu-gpl-v2

EXTRACT_ELEMENTS+=	${DISTNAME}/utils/xindy

USE_TOOLS+=	gmake perl
WRKSRC=		${WRKDIR}/${DISTNAME}/utils/xindy
INSTALL_DIRS=	xindy-src/src xindy-src/tex2xindy

CONFIGURE_ARGS+=	--disable-xindy-docs
CONFIGURE_ARGS+=	--disable-xindy-rules
CONFIGURE_ARGS+=	--with-clisp-runtime=default

INSTALLATION_DIRS+=	bin

post-install:
	cd ${WRKSRC} && ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
		${MAKE_PROGRAM} install-exec-hook
	# man page conflicts with tex-xindy-doc
	${RM} -f -r ${DESTDIR}${PREFIX}/${PKGMANDIR}

.include "../../devel/libffcall/buildlink3.mk"
.include "../../devel/libsigsegv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
BUILDLINK_DEPMETHOD.clisp=	build
.include "../../lang/clisp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"