Date: Tue, 26 Mar 2002 21:58:41 +0100 (CET) From: Oliver Braun <obraun@informatik.unibw-muenchen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ... Message-ID: <20020326205841.672115A548@nemesis.informatik.unibw-muenchen.de>
next in thread | raw e-mail | index | archive | help
>Number: 36345 >Category: ports >Synopsis: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ... >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 13:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Oliver Braun >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 21 12:00:59 CET 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386 >Description: GNU UnRTF is a command-line converter from RTF (Rich Text) to HTML, LaTeX, PostScript, plain text, and text with VT100 codes. This port compiles and works also on yesterdays -current. WWW: http://www.geocities.com/tuorfa/unrtf.html Regards, Olli >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # unrtf # unrtf/Makefile # unrtf/pkg-comment # unrtf/pkg-descr # unrtf/distinfo # unrtf/files # unrtf/files/patch-Makefile # unrtf/files/patch-malloc.c # unrtf/pkg-plist # echo c - unrtf mkdir -p unrtf > /dev/null 2>&1 echo x - unrtf/Makefile sed 's/^X//' >unrtf/Makefile << 'END-of-unrtf/Makefile' X# New ports collection makefile for: unrtf X# Date created: 26 March 2002 X# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de> X# X# $FreeBSD$ X XPORTNAME= unrtf XPORTVERSION= 0.18.1 XCATEGORIES= textproc XMASTER_SITES= ${MASTER_SITE_GNU} XMASTER_SITE_SUBDIR= unrtf X XMAINTAINER= obraun@informatik.unibw-muenchen.de X XWRKSRC= ${WRKDIR}/unrtf X XALL_TARGET= unrtf X XMAN1= unrtf.1 X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/unrtf.1 ${PREFIX}/man/man1/${MAN1} X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/unrtf X ${INSTALL_DATA} ${WRKSRC}/doc/unrtf.html ${PREFIX}/share/doc/unrtf X.endif X X.include <bsd.port.mk> END-of-unrtf/Makefile echo x - unrtf/pkg-comment sed 's/^X//' >unrtf/pkg-comment << 'END-of-unrtf/pkg-comment' XA converter from RTF to several formats, including HTML and LaTeX END-of-unrtf/pkg-comment echo x - unrtf/pkg-descr sed 's/^X//' >unrtf/pkg-descr << 'END-of-unrtf/pkg-descr' XGNU UnRTF is a command-line converter from RTF (Rich Text) to HTML, LaTeX, XPostScript, plain text, and text with VT100 codes. When converting to HTML, it Xsupports tables, fonts, embedded images, hyperlinks, paragraph alignment, and Xmore. All other conversions are "alpha" i.e. being newly developed. X XWWW: http://www.geocities.com/tuorfa/unrtf.html X X-- Oliver Braun Xobraun@informatik.unibw-muenchen.de END-of-unrtf/pkg-descr echo x - unrtf/distinfo sed 's/^X//' >unrtf/distinfo << 'END-of-unrtf/distinfo' XMD5 (unrtf-0.18.1.tar.gz) = c7eb7eb30880c4fb8d089b8a486d255d END-of-unrtf/distinfo echo c - unrtf/files mkdir -p unrtf/files > /dev/null 2>&1 echo x - unrtf/files/patch-Makefile sed 's/^X//' >unrtf/files/patch-Makefile << 'END-of-unrtf/files/patch-Makefile' X--- Makefile.orig Tue Mar 26 19:11:52 2002 X+++ Makefile Tue Mar 26 19:46:29 2002 X@@ -25,7 +25,7 @@ X # X X X-CFLAGS=-g -Wall X+#CFLAGS=-g -Wall X CC=gcc X X OBJS=convert.o word.o error.o main.o hash.o \ X@@ -57,6 +57,6 @@ X rm -f ${OBJS} X X install: ${TARGET} X- cp ${TARGET} /usr/local/bin X+ ${INSTALL} ${TARGET} ${PREFIX}/bin X X END-of-unrtf/files/patch-Makefile echo x - unrtf/files/patch-malloc.c sed 's/^X//' >unrtf/files/patch-malloc.c << 'END-of-unrtf/files/patch-malloc.c' X--- malloc.c.orig Tue Mar 26 21:50:37 2002 X+++ malloc.c Tue Mar 26 21:52:14 2002 X@@ -39,11 +39,7 @@ X #include <stdio.h> X #include <string.h> X X-#if AMIGA X #include <stdlib.h> X-#else X-#include <malloc.h> X-#endif X X #include "error.h" X END-of-unrtf/files/patch-malloc.c echo x - unrtf/pkg-plist sed 's/^X//' >unrtf/pkg-plist << 'END-of-unrtf/pkg-plist' Xbin/unrtf X%%PORTDOCS%%share/doc/unrtf/unrtf.html X%%PORTDOCS%%@dirrm share/doc/unrtf END-of-unrtf/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326205841.672115A548>