mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# 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.11
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A typeset documentation system with multiple format output
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALL_TARGET= install install-tex
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
|
|
|
MAKE_ARGS= TEXMF=${PREFIX}/${TEXMFLOCAL}
|
|
CONFIGURE_ARGS= \
|
|
--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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
post-patch:
|
|
${CHMOD} 755 ${WRKSRC}/build-aux/install-sh
|
|
|
|
post-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} ${SH} \
|
|
${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|