summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-20 18:15:37 +0000
committerjlam <jlam>2006-03-20 18:15:37 +0000
commitba56a6d962bf14bb906ae2ad6fbe36b11088e35f (patch)
tree0f05903ff61fcd859ec72aa544fa1e5eda653bf6 /converters
parentcd12b581e049b51b7dda38fa3ff87b479c78aec2 (diff)
downloadpkgsrc-ba56a6d962bf14bb906ae2ad6fbe36b11088e35f.tar.gz
* Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead. * Properly account for split info files during installation. * Move info file listings directly into the package PLISTs. This fixes info-file-related PLIST problems.
Diffstat (limited to 'converters')
-rw-r--r--converters/latex2rtf/Makefile12
-rw-r--r--converters/latex2rtf/PLIST3
2 files changed, 10 insertions, 5 deletions
diff --git a/converters/latex2rtf/Makefile b/converters/latex2rtf/Makefile
index d6e51f10f98..3c116be8cf7 100644
--- a/converters/latex2rtf/Makefile
+++ b/converters/latex2rtf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/12/05 20:49:55 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2006/03/20 18:15:37 jlam Exp $
#
DISTNAME= latex2rtf-1.9.16a
@@ -12,10 +12,14 @@ COMMENT= LaTeX to RTF converter
USE_TOOLS+= perl
MAKE_FLAGS+= XCFLAGS=${CFLAGS:M*:Q}
-INFO_FILES= latex2rtf.info
-INSTALLATION_DIRS= share/doc/latex2rtf ${INFO_DIR}
+INFO_FILES= # PLIST
+
+INSTALLATION_DIRS= share/doc/latex2rtf ${PKGINFODIR}
post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/latex2rtf.info ${PREFIX}/${INFO_DIR}/latex2rtf.info
+ cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_MAN} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/latex2rtf/PLIST b/converters/latex2rtf/PLIST
index bf97869db2c..64ab9ca8d21 100644
--- a/converters/latex2rtf/PLIST
+++ b/converters/latex2rtf/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2005/11/09 07:17:04 reed Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/20 18:15:37 jlam Exp $
bin/latex2png
bin/latex2rtf
+info/latex2rtf.info
man/man1/latex2png.1
man/man1/latex2rtf.1
share/latex2rtf/cfg/afrikaans.cfg