diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2009-02-09 20:21:08 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2009-02-09 20:21:08 +0000 |
commit | 74babd48c3c053e4f9e7e870588a8391c586a3ed (patch) | |
tree | d5f673dcbeb114423dc45fa47f3ae43149ce3c8c /archivers/lbzip2 | |
parent | 31ccfeecc093d2f1c2295160eb49150d9a8620ba (diff) |
Notes
Diffstat (limited to 'archivers/lbzip2')
-rw-r--r-- | archivers/lbzip2/Makefile | 20 | ||||
-rw-r--r-- | archivers/lbzip2/distinfo | 3 | ||||
-rw-r--r-- | archivers/lbzip2/files/patch-Makefile | 21 | ||||
-rw-r--r-- | archivers/lbzip2/pkg-descr | 4 |
4 files changed, 48 insertions, 0 deletions
diff --git a/archivers/lbzip2/Makefile b/archivers/lbzip2/Makefile new file mode 100644 index 000000000000..8b081b6d231e --- /dev/null +++ b/archivers/lbzip2/Makefile @@ -0,0 +1,20 @@ +# New ports collection Makefile for: archivers/lbzip2 +# Date created: 7 Feb 2009 +# Whom: Gabor Kovesdan <gabor@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= lbzip2 +PORTVERSION= 0.13 +CATEGORIES= archivers +MASTER_SITES= http://lacos.web.elte.hu/pub/lbzip2/ + +MAINTAINER= gabor@FreeBSD.org +COMMENT= A multi-threaded bzip2/bunzip2 filter + +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_FILES= bin/lbzip2 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${PREFIX}/bin/lbzip2 + +.include <bsd.port.mk> diff --git a/archivers/lbzip2/distinfo b/archivers/lbzip2/distinfo new file mode 100644 index 000000000000..288516980c0c --- /dev/null +++ b/archivers/lbzip2/distinfo @@ -0,0 +1,3 @@ +MD5 (lbzip2-0.13.tar.gz) = d0e136e40de76066f5cde89daa3e373a +SHA256 (lbzip2-0.13.tar.gz) = 12db87e77da94c5446202bf67e3b13247254776fc02840fa7e21008533eac7a9 +SIZE (lbzip2-0.13.tar.gz) = 60912 diff --git a/archivers/lbzip2/files/patch-Makefile b/archivers/lbzip2/files/patch-Makefile new file mode 100644 index 000000000000..e3937a991238 --- /dev/null +++ b/archivers/lbzip2/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile.orig 2009-01-25 18:27:52.000000000 +0100 ++++ Makefile 2009-02-07 18:56:15.000000000 +0100 +@@ -1,15 +1,10 @@ + # Makefile,v 1.8 2009-01-25 17:27:52 lacos Exp + .POSIX: + +-CC=gcc +-CFLAGS=$$($(SHELL) lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi -pedantic \ +- -O3 ++LDFLAGS+= -s ++LIBS+= -l pthread -l bz2 + +- +- +- +-LDFLAGS=-s $$($(SHELL) lfs.sh LDFLAGS) +-LIBS=-l pthread -l bz2 $$($(SHELL) lfs.sh LIBS) ++all: lbzip2 + + lbzip2: main.o lbzip2.o lbunzip2.o lbunzip2_single.o lacos_rbtree.o + $(CC) -o lbzip2 $(LDFLAGS) main.o lbzip2.o lbunzip2.o \ diff --git a/archivers/lbzip2/pkg-descr b/archivers/lbzip2/pkg-descr new file mode 100644 index 000000000000..20e74ca0208d --- /dev/null +++ b/archivers/lbzip2/pkg-descr @@ -0,0 +1,4 @@ +A multi-threaded bzip2/bunzip2 filter that doesn't depend on the lseek() +system call and so isn't restricted to regular files. + +WWW: http://phptest11.atw.hu/ |