pkgsrc/converters/latex2rtf/Makefile
seb 66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2002/02/18 15:14:04 seb Exp $
#
DISTNAME= latex2rtf-1.8aa
PKGNAME= latex2rtf-1.8a
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2rtf/}
MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://www.kfa-juelich.de/isr/1/texconv/latex2rtf.html
COMMENT= LaTeX to RTF converter
USE_BUILDLINK_ONLY= # defined
MAKE_FLAGS+= CC="${CC}"
MAKE_FLAGS+= XCFLAGS="${CFLAGS}"
INFO_FILES= latex2rtf.info
INSTALL_TARGET= simple_install simple_cfg_install
post-extract:
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in
${RM} -f ${WRKSRC}/*.o
do-configure:
${SED} < ${WRKSRC}/${MAKEFILE}.in > ${WRKSRC}/${MAKEFILE} \
-e 's:@PREFIX@:${PREFIX}:'
post-install:
for f in ${INFO_FILES}; do ${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info/$$f; done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/latex2rtf
${INSTALL_DATA} ${WRKSRC}/doc/l2r.html ${PREFIX}/share/doc/latex2rtf/latex2rtf.html
${INSTALL_DATA} ${WRKSRC}/doc/l2r.pdf ${PREFIX}/share/doc/latex2rtf/latex2rtf.pdf
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"