1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

add unrtf 0.18.1

A converter from RTF to several formats, including HTML and LaTeX

PR:		36345
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
This commit is contained in:
Ying-Chieh Liao 2002-06-25 09:18:40 +00:00
parent 9aa75968e4
commit dd943e7784
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61929
8 changed files with 76 additions and 0 deletions

View File

@ -324,6 +324,7 @@
SUBDIR += txt2man
SUBDIR += ua-ispell
SUBDIR += unroff
SUBDIR += unrtf
SUBDIR += urlview
SUBDIR += wdiff
SUBDIR += word2x

28
textproc/unrtf/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: unrtf
# Date created: 26 March 2002
# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
#
# $FreeBSD$
PORTNAME= unrtf
PORTVERSION= 0.18.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= obraun@informatik.unibw-muenchen.de
WRKSRC= ${WRKDIR}/unrtf
ALL_TARGET= unrtf
MAN1= unrtf.1
post-install:
${INSTALL_MAN} ${WRKSRC}/unrtf.1 ${PREFIX}/man/man1/${MAN1}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/unrtf.html ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
textproc/unrtf/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (unrtf-0.18.1.tar.gz) = c7eb7eb30880c4fb8d089b8a486d255d

View File

@ -0,0 +1,19 @@
--- Makefile.orig Tue Mar 26 19:11:52 2002
+++ Makefile Tue Mar 26 19:46:29 2002
@@ -25,7 +25,7 @@
#
-CFLAGS=-g -Wall
+#CFLAGS=-g -Wall
CC=gcc
OBJS=convert.o word.o error.o main.o hash.o \
@@ -57,6 +57,6 @@
rm -f ${OBJS}
install: ${TARGET}
- cp ${TARGET} /usr/local/bin
+ ${INSTALL} ${TARGET} ${PREFIX}/bin

View File

@ -0,0 +1,14 @@
--- malloc.c.orig Tue Mar 26 21:50:37 2002
+++ malloc.c Tue Mar 26 21:52:14 2002
@@ -39,11 +39,7 @@
#include <stdio.h>
#include <string.h>
-#if AMIGA
#include <stdlib.h>
-#else
-#include <malloc.h>
-#endif
#include "error.h"

View File

@ -0,0 +1 @@
A converter from RTF to several formats, including HTML and LaTeX

9
textproc/unrtf/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
UnRTF is a command-line converter from RTF (Rich Text) to HTML, LaTeX,
PostScript, plain text, and text with VT100 codes. When converting to HTML, it
supports tables, fonts, embedded images, hyperlinks, paragraph alignment, and
more. All other conversions are "alpha" i.e. being newly developed.
WWW: http://www.geocities.com/tuorfa/unrtf.html
-- Oliver Braun
obraun@informatik.unibw-muenchen.de

3
textproc/unrtf/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/unrtf
%%PORTDOCS%%share/doc/unrtf/unrtf.html
%%PORTDOCS%%@dirrm share/doc/unrtf