2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2005/04/11 21:45:08 tv Exp $
|
2000-03-08 01:20:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= latex2rtf-1.8aa
|
|
|
|
PKGNAME= latex2rtf-1.8a
|
|
|
|
CATEGORIES= print
|
2004-11-19 16:05:12 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2rtf/} \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=latex2rtf/}
|
2000-03-08 01:20:16 +01:00
|
|
|
|
|
|
|
MAINTAINER= brook@nmsu.edu
|
2004-11-19 16:05:12 +01:00
|
|
|
HOMEPAGE= http://latex2rtf.sourceforge.net/
|
2001-02-16 14:51:27 +01:00
|
|
|
COMMENT= LaTeX to RTF converter
|
2000-03-08 01:20:16 +01:00
|
|
|
|
2002-11-15 00:39:09 +01:00
|
|
|
MAKE_FLAGS+= XCFLAGS="${CFLAGS}"
|
2001-08-20 06:06:48 +02:00
|
|
|
|
2000-03-08 01:20:16 +01:00
|
|
|
INFO_FILES= latex2rtf.info
|
2003-09-22 11:06:35 +02:00
|
|
|
SUPPORT_FILES= direct.cfg fonts.cfg ignore.cfg english.cfg german.cfg \
|
|
|
|
spanish.cfg
|
2000-03-08 01:20:16 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in
|
|
|
|
${RM} -f ${WRKSRC}/*.o
|
|
|
|
|
|
|
|
do-configure:
|
2004-11-30 09:06:01 +01:00
|
|
|
${SED} < ${WRKSRC}/Makefile.in > ${WRKSRC}/Makefile \
|
2000-03-08 01:20:16 +01:00
|
|
|
-e 's:@PREFIX@:${PREFIX}:'
|
|
|
|
|
2003-09-22 11:06:35 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/latex2rtf ${PREFIX}/bin/latex2rtf
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/latex2rtf.1 ${PREFIX}/man/man1/latex2rtf.1
|
2004-05-08 00:08:56 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/latex2rtf.info ${PREFIX}/${INFO_DIR}/latex2rtf.info
|
2000-03-08 01:20:16 +01:00
|
|
|
${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
|
2003-09-22 11:06:35 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/latex2rtf
|
|
|
|
.for FILE in ${SUPPORT_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cfg/${FILE} ${PREFIX}/share/latex2rtf/${FILE}
|
|
|
|
.endfor
|
2000-03-08 01:20:16 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|