Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 1999 12:50:55 +0100 (MET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9945: new port: bzip2
Message-ID:  <199902071150.MAA28310@saturn.hb.north.de>

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

>Number:         9945
>Category:       ports
>Synopsis:       new port: bzip2
>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:   Sun Feb  7 04:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
me? organized?
>Environment:

	

>Description:

	(Sorry for sending this again, i forgot a file, patches/patch-aa.)

	I'm trying to port GNU-WIN32 as a cross-compiler and its distfile
	comes compressed with bzip2.  so here is a port:

>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:
#
#	Makefile
#	files/md5
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/PLIST
#	patches/patch-aa
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:    bzip2
X# Version required:     0.9.0c
X# Date created:         Sun Feb  7 12:15:29 MET 1999
X# Whom:                 Juergen Lock <nox@jelal.kn-bremen.de>
X#
X# $Id: Makefile,v 1.1 1999/02/07 12:15:29 nox Exp $
X#
X
XDISTNAME=	bzip2-0.9.0c
XCATEGORIES=	archivers
XMASTER_SITES=	http://www.muraroa.demon.co.uk/
X
XMAINTAINER=	nox@jelal.kn-bremen.de
X
XMAN1=		bzip2.1 bunzip2.1 bzip2recover.1 bzcat.1
X
Xdo-install:
X	${RM} -f ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
X	${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin/bzip2
X	${INSTALL_PROGRAM} ${WRKSRC}/bzip2recover ${PREFIX}/bin/bzip2recover
X	ln -fs bzip2 ${PREFIX}/bin/bunzip2
X	ln -fs bzip2 ${PREFIX}/bin/bzcat
X	${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1/bzip2.1
X	${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1/bzip2recover.1
X	${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1/bunzip2.1
X	${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1/bzcat.1
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
XMD5 (bzip2-0.9.0c.tar.gz) = 29993af5282e817fafc5a76b4e0c98fa
END-of-files/md5
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XA block-sorting file compressor.
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XThis is bzip2, a block-sorting file compressor, version
X0.9.0.  This version is fully compatible with the previous public
Xrelease, bzip2-0.1pl2.
X
Xbzip2-0.9.0 is distributed under a BSD-style license.  For details,
Xsee the file LICENSE.
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
Xbin/bzip2
Xbin/bzip2recover
Xbin/bunzip2
Xbin/bzcat
END-of-pkg/PLIST
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
XIndex: Makefile
X@@ -20,6 +20,7 @@
X lib: $(OBJS)
X 	rm -f libbz2.a
X 	ar clq libbz2.a $(OBJS)
X+	ranlib libbz2.a
X 
X test: bzip2
X 	@cat words1
X@@ -38,8 +39,8 @@
X clean: 
X 	rm -f *.o libbz2.a bzip2 bzip2recover sample1.rb2 sample2.rb2 sample1.tst sample2.tst
X 
X-.c.o: $*.o bzlib.h bzlib_private.h
X-	$(CC) $(CFLAGS) -c $*.c -o $*.o
X+#.c.o: $*.o bzlib.h bzlib_private.h
X+#	$(CC) $(CFLAGS) -c $*.c -o $*.o
X 
X tarfile:
X 	tar cvf interim.tar *.c *.h Makefile manual.texi manual.ps LICENSE bzip2.1 bzip2.1.preformatted bzip2.txt words1 words2 words3 sample1.ref sample2.ref sample1.bz2 sample2.bz2 *.html README CHANGES libbz2.def libbz2.dsp dlltest.dsp 
END-of-patches/patch-aa
exit

>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?199902071150.MAA28310>