pkgsrc/converters/latex2rtf/Makefile
wiz ec375734b2 Initial import of latex2rtf, based on pkg/9563 by
Brook Milligan <brook@biology.nmsu.edu>
2000-03-08 00:20:16 +00:00

30 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2000/03/08 00:20:16 wiz 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
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/bsd.pkg.mk"