freebsd-ports/print/texinfo/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

46 lines
1 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.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= \
--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>