From lizard@informatik.unibw-muenchen.de  Tue Mar 26 13:00:09 2002
Return-Path: <lizard@informatik.unibw-muenchen.de>
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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <obraun@informatik.unibw-muenchen.de>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 26 13:10:00 PST 2002
>Closed-Date:    Tue Jun 25 02:18:54 PDT 2002
>Last-Modified:  Tue Jun 25 02:18:54 PDT 2002
>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:

From: Alan Eldridge <alane@geeksrus.net>
To: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Cc: FreeBSD Bugs <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
Date: Tue, 26 Mar 2002 17:28:15 -0500

 On Tue, Mar 26, 2002 at 09:58:41PM +0100, Oliver Braun wrote:
 >
 >>Number:         36345
 >>Category:       ports
 >>Synopsis:       New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
 
 >GNU UnRTF is a command-line converter from RTF (Rich Text) to HTML,
 >LaTeX, PostScript, plain text, and text with VT100 codes.
 
 He's using the GNU name without permission, it looks like. I'd suggest
 that we not perpetuate that mistake.
 
 -- 
 AlanE
 "When the going gets weird, the weird turn pro." - HST
 

From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
To: Alan Eldridge <alane@geeksrus.net>
Cc: FreeBSD Bugs <freebsd-gnats-submit@freebsd.org>
Subject: Re: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
Date: Tue, 26 Mar 2002 23:48:21 +0100

 > He's using the GNU name without permission, it looks like. I'd suggest
 > that we not perpetuate that mistake.
 
 Yes, I think you are right. I have simply overlooked that. Should it be
 enough to change the pkg-descr or should we throw away this port?
 
 Apologies, Olli
 -- 
 Department of Computing Science
 Federal Armed Forces University Munich
 http://ist.unibw-muenchen.de/People/obraun/

From: Alan Eldridge <alane@geeksrus.net>
To: Oliver Braun <obraun@informatik.unibw-muenchen.de>,
	FreeBSD Bugs <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
Date: Tue, 26 Mar 2002 18:16:33 -0500

 On Tue, Mar 26, 2002 at 11:48:21PM +0100, Oliver Braun wrote:
 >> He's using the GNU name without permission, it looks like. I'd suggest
 >> that we not perpetuate that mistake.
 >
 >Yes, I think you are right. I have simply overlooked that. Should it be
 >enough to change the pkg-descr or should we throw away this port?
 
 No, just change the description. What *we* say is our problem. What he
 says on his website is *his* problem.
 
 -- 
 AlanE
 "When the going gets weird, the weird turn pro." - HST
 

From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/36345: New port: unrtf - converter from RTF to HTML, LaTeX, PS, ...
Date: Wed, 27 Mar 2002 00:34:27 +0100

 Committer,
 
 please delete 'GNU' in the pkg-descr.
 
 Regards,
          Olli
 -- 
 Department of Computing Science
 Federal Armed Forces University Munich
 http://ist.unibw-muenchen.de/People/obraun/
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Tue Jun 25 02:18:44 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36345 
>Unformatted:
