summaryrefslogtreecommitdiff
path: root/textproc/xindy/Makefile
blob: 72b8ccab21458911f2c277f8d441941859f1af1a (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.4 2019/05/09 09:47:37 adam Exp $

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

PKGNAME=	xindy-2.5.1
PKGREVISION=	2
CATEGORIES=	print

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://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"