From mark@aeris.kyne.com.au  Thu Apr 12 19:15:58 2001
Return-Path: <mark@aeris.kyne.com.au>
Received: from hamster.kyne.com.au (kyneso.lnk.telstra.net [139.130.137.83])
	by hub.freebsd.org (Postfix) with ESMTP id BE8AA37B423
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Apr 2001 19:15:53 -0700 (PDT)
	(envelope-from mark@aeris.kyne.com.au)
Received: from aeris.kyne.com.au (root@aeris.kyne.com.au [203.38.180.166])
	by hamster.kyne.com.au (8.9.3/8.9.3) with ESMTP id LAA06179
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 13 Apr 2001 11:45:49 +0930
Received: (from mark@localhost)
	by aeris.kyne.com.au (8.11.1/8.11.1) id f3D2JsO97051;
	Fri, 13 Apr 2001 11:49:54 +0930 (CST)
	(envelope-from mark)
Message-Id: <200104130219.f3D2JsO97051@aeris.kyne.com.au>
Date: Fri, 13 Apr 2001 11:49:54 +0930 (CST)
From: mark@kyne.com.au
Reply-To: mark@kyne.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: archivers/xdms: An Amiga DMS archiver unpacker
X-Send-Pr-Version: 3.2

>Number:         26524
>Category:       ports
>Synopsis:       New port: archivers/xdms: An Amiga DMS archiver unpacker
>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 Apr 12 19:20:01 PDT 2001
>Closed-Date:    Tue Apr 17 11:01:19 PDT 2001
>Last-Modified:  Tue Apr 17 11:01:38 PDT 2001
>Originator:     Mark Pulford
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
none
>Environment:

>Description:

xDMS is an archiver unpacker for the Amiga DMS file format. It supports
decompression of files compressed using all known DMS compression modes,
including old and obsolete ones, and also encrypted files, for 100%
compatibility.

>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:
#
#	xdms
#	xdms/Makefile
#	xdms/pkg-descr
#	xdms/distinfo
#	xdms/files
#	xdms/files/patch-Makefile
#	xdms/pkg-comment
#	xdms/pkg-plist
#
echo c - xdms
mkdir -p xdms > /dev/null 2>&1
echo x - xdms/Makefile
sed 's/^X//' >xdms/Makefile << 'END-of-xdms/Makefile'
X# New ports collection makefile for:	xdms
X# Date created:			Apr 13, 2001
X# Whom:				Mark Pulford <mark@kyne.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xdms
XPORTVERSION=	1.3
XCATEGORIES=	archivers
XMASTER_SITES=	http://www.ee.tut.fi/~o159219/xdms/
XDISTNAME=	xdms
X
XMAINTAINER=	mark@kyne.com.au
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/xdms/src
XALL_TARGET=	xdms
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/xdms ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/xdms
X	${INSTALL_DATA} ${WRKDIR}/xdms/xdms.txt ${PREFIX}/share/doc/xdms
X.endif
X
X.include <bsd.port.mk>
END-of-xdms/Makefile
echo x - xdms/pkg-descr
sed 's/^X//' >xdms/pkg-descr << 'END-of-xdms/pkg-descr'
XxDMS is an archiver unpacker for the Amiga DMS file format. It supports
Xdecompression of files compressed using all known DMS compression modes,
Xincluding old and obsolete ones, and also encrypted files, for 100%
Xcompatibility.
X
XWWW: http://www.ee.tut.fi/~o159219/xdms/
END-of-xdms/pkg-descr
echo x - xdms/distinfo
sed 's/^X//' >xdms/distinfo << 'END-of-xdms/distinfo'
XMD5 (xdms.zip) = a4ae4e20293723cd7e575381a9160e36
END-of-xdms/distinfo
echo c - xdms/files
mkdir -p xdms/files > /dev/null 2>&1
echo x - xdms/files/patch-Makefile
sed 's/^X//' >xdms/files/patch-Makefile << 'END-of-xdms/files/patch-Makefile'
X--- Makefile.orig	Fri Apr 13 11:35:01 2001
X+++ Makefile	Fri Apr 13 11:35:17 2001
X@@ -4,13 +4,11 @@
X 
X 
X # If you use another compiler change the following line:
X-CC = gcc
X 
X 
X OBJS= u_heavy.o xdms.o u_deep.o u_init.o u_quick.o u_medium.o u_rle.o \
X       tables.o pfile.o maketbl.o getbits.o crc_csum.o
X 
X-CFLAGS = -O3 -Wall
X LFLAGS = -s
X 
X xdms: $(OBJS)
END-of-xdms/files/patch-Makefile
echo x - xdms/pkg-comment
sed 's/^X//' >xdms/pkg-comment << 'END-of-xdms/pkg-comment'
XAn Amiga DMS archiver unpacker
END-of-xdms/pkg-comment
echo x - xdms/pkg-plist
sed 's/^X//' >xdms/pkg-plist << 'END-of-xdms/pkg-plist'
Xbin/xdms
X%%PORTDOCS%%share/doc/xdms/xdms.txt
X%%PORTDOCS%%@dirrm share/doc/xdms
END-of-xdms/pkg-plist
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Tue Apr 17 11:01:19 PDT 2001 
State-Changed-Why:  
Committed, thanks.  I replaced your patch with a regex. 

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