From leeym@bsd.caece.net  Thu Jun  8 09:22:31 2000
Return-Path: <leeym@bsd.caece.net>
Received: from bsd.caece.net (bsd.ce.ntu.edu.tw [140.112.13.1])
	by hub.freebsd.org (Postfix) with ESMTP id A9DB837B619
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Jun 2000 09:22:26 -0700 (PDT)
	(envelope-from leeym@bsd.caece.net)
Received: (from leeym@localhost)
	by bsd.caece.net (8.9.3/8.9.0) id AAA29312;
	Fri, 9 Jun 2000 00:22:01 +0800 (CST)
Message-Id: <200006081622.AAA29312@bsd.caece.net>
Date: Fri, 9 Jun 2000 00:22:01 +0800 (CST)
From: leeym@cae.ce.ntu.edu.tw
Sender: leeym@bsd.caece.net
Reply-To: leeym@cae.ce.ntu.edu.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: new port: textproc/antiword
X-Send-Pr-Version: 3.2

>Number:         19126
>Category:       ports
>Synopsis:       new port: textproc/antiword
>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:   Thu Jun 08 09:30:03 PDT 2000
>Closed-Date:    Fri Jun 9 02:17:44 PDT 2000
>Last-Modified:  Fri Jun 09 02:20:35 PDT 2000
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
CAE group, Civil engineering, NTU, Taiwan.
>Environment:

FreeBSD utopia.leeym.yi.org 4.0-STABLE FreeBSD 4.0-STABLE #6: Wed Jun  7 19:36:17 CST 2000     root@utopia.leeym.yi.org:/usr/src/sys/compile/UTOPIA  i386

>Description:

Antiword is an application that can read the binary files from Microsoft Word 
versions 6, 7, 97 and 2000

>How-To-Repeat:

# 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:
#
#	antiword
#	antiword/pkg
#	antiword/pkg/COMMENT
#	antiword/pkg/DESCR
#	antiword/pkg/PLIST
#	antiword/patches
#	antiword/patches/patch-aa
#	antiword/files
#	antiword/files/md5
#	antiword/Makefile
#
echo c - antiword
mkdir -p antiword > /dev/null 2>&1
echo c - antiword/pkg
mkdir -p antiword/pkg > /dev/null 2>&1
echo x - antiword/pkg/COMMENT
sed 's/^X//' >antiword/pkg/COMMENT << 'END-of-antiword/pkg/COMMENT'
XAntiWord is an application to display Microsoft(tm) Word files
END-of-antiword/pkg/COMMENT
echo x - antiword/pkg/DESCR
sed 's/^X//' >antiword/pkg/DESCR << 'END-of-antiword/pkg/DESCR'
XAntiword is an application that can read the binary files from Microsoft Word
Xversions 6, 7, 97 and 2000
END-of-antiword/pkg/DESCR
echo x - antiword/pkg/PLIST
sed 's/^X//' >antiword/pkg/PLIST << 'END-of-antiword/pkg/PLIST'
Xbin/antiword
Xshare/doc/antiword/COPYING
Xshare/doc/antiword/Changes
Xshare/doc/antiword/History
Xshare/doc/antiword/QandA
Xshare/doc/antiword/ReadMe
X@dirrm share/doc/antiword
END-of-antiword/pkg/PLIST
echo c - antiword/patches
mkdir -p antiword/patches > /dev/null 2>&1
echo x - antiword/patches/patch-aa
sed 's/^X//' >antiword/patches/patch-aa << 'END-of-antiword/patches/patch-aa'
X--- Makefile.orig	Tue Nov  2 03:21:36 1999
X+++ Makefile	Thu Jun  8 23:57:47 2000
X@@ -22,12 +22,12 @@
X PROGS =\
X 	antiword
X 
X-INSTALL_DIR = $(HOME)/bin
X+INSTALL_DIR = $(PREFIX)/bin
X 
X all:		$(PROGS)
X 
X install:	all
X-		cp -pf $(PROGS) $(INSTALL_DIR)
X+		$(BSD_INSTALL_PROGRAM) $(PROGS) $(INSTALL_DIR)
X 
X clean:
X 		rm -f $(OBJS)
END-of-antiword/patches/patch-aa
echo c - antiword/files
mkdir -p antiword/files > /dev/null 2>&1
echo x - antiword/files/md5
sed 's/^X//' >antiword/files/md5 << 'END-of-antiword/files/md5'
XMD5 (antiword.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a
END-of-antiword/files/md5
echo x - antiword/Makefile
sed 's/^X//' >antiword/Makefile << 'END-of-antiword/Makefile'
X# New ports collection makefile for:	antiword
X# Date created:				8 June 2000
X# Whom:	      				Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	antiword
XPORTVERSION=	0.30
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.winfield.demon.nl/linux/
XDISTNAME=	$(PORTNAME)
X
XMAINTAINER=	leeym@cae.ce.ntu.edu.tw
X
XWRKSRC=		${WRKDIR}/${PORTNAME}.${PORTVERSION}
XMAN1=		antiword.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/Unix-only/antiword.1 ${MANPREFIX}/man/man1
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/antiword
X.for file in COPYING Changes History QandA ReadMe
X	${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-antiword/Makefile
exit



>Fix:
	
I have learned to use portlint this time. I think it's OK now.
but I'm not sure which category is better: textproc ? converters ? misc ?

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Fri Jun 9 02:17:44 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

This time you have significantly improved your porting skills, I almost didn't 
change anything. Good work! 

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