From owner-freebsd-ports Tue Mar 26 13:10:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1818D37B41F for ; Tue, 26 Mar 2002 13:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2QLA1a73690; Tue, 26 Mar 2002 13:10:01 -0800 (PST) (envelope-from gnats) Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 122ED37B422 for ; Tue, 26 Mar 2002 13:00:04 -0800 (PST) Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g2QKwha17760 for ; Tue, 26 Mar 2002 21:58:43 +0100 (MET) Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1]) by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP id 6C7465A545 for ; Tue, 26 Mar 2002 21:58:42 +0100 (CET) Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001) id 672115A548; Tue, 26 Mar 2002 21:58:41 +0100 (CET) Message-Id: <20020326205841.672115A548@nemesis.informatik.unibw-muenchen.de> Date: Tue, 26 Mar 2002 21:58:41 +0100 (CET) From: Oliver Braun To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ... Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 X #include X X-#if AMIGA X #include X-#else X-#include 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