Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 00:22:01 +0800 (CST)
From:      leeym@cae.ce.ntu.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19126: new port: textproc/antiword
Message-ID:  <200006081622.AAA29312@bsd.caece.net>

next in thread | raw e-mail | index | archive | help

>Number:         19126
>Category:       ports
>Synopsis:       new port: textproc/antiword
>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:   Thu Jun 08 09:30:03 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>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?200006081622.AAA29312>