summaryrefslogtreecommitdiff
path: root/print/texinfo/Makefile
blob: d81d240b3724380854e6f0ef0311d24f326190ff (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
40
41
42
43
44
45
46
47
# New ports collection makefile for:	latest texinfo
# Date created:		Sun May 29 17:32:08 UTC 2005
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	texinfo
PORTVERSION=	4.8
PORTREVISION=	5
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	A typeset documentation system with multiple format output

USE_GETTEXT=	yes

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
INSTALL_TARGET=	install install-tex
PKGDEINSTALL=	${PKGINSTALL}

MAKE_ARGS=	TEXMF=${PREFIX}/${TEXMFLOCAL}
CONFIGURE_ARGS= \
		--infodir=${PREFIX}/${INFO_PATH} \
		--without-included-gettext
CONFIGURE_ENV=	\
		CPPFLAGS="-I${LOCALBASE}/lib" \
		LDFLAGS="-L${LOCALBASE}/lib -lintl"

INFO=		${PORTNAME} info-stnd info
MAN1=		info.1 infokey.1 install-info.1 makeinfo.1 texi2dvi.1 \
		texindex.1
MAN5=		info.5 texinfo.5

PLIST_SUB=	TEXMFLOCAL=${TEXMFLOCAL}

TEXMFLOCAL=	share/texmf-local

post-install:
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
		${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>