aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-09-07 20:25:49 +0800
committerrafan <rafan@FreeBSD.org>2006-09-07 20:25:49 +0800
commitb9a6988de37c7bb2fef5a937db393bb1424ca9c2 (patch)
treeeb21245416a850cc140e6fd1b84f30b66d7fcf4a /archivers
parent35c8013323d79ecb0f5ab73659233b8eb0b5790c (diff)
downloadfreebsd-ports-graphics-b9a6988de37c7bb2fef5a937db393bb1424ca9c2.tar.gz
freebsd-ports-graphics-b9a6988de37c7bb2fef5a937db393bb1424ca9c2.tar.zst
freebsd-ports-graphics-b9a6988de37c7bb2fef5a937db393bb1424ca9c2.zip
Add pecl-lzf 1.4, handles LZF de/compression.
PR: ports/102964 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/pecl-lzf/Makefile32
-rw-r--r--archivers/pecl-lzf/distinfo3
-rw-r--r--archivers/pecl-lzf/pkg-descr3
4 files changed, 39 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 7d0f69ca46c..3322a0bca24 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -78,6 +78,7 @@
SUBDIR += pbzip2
SUBDIR += pear-File_Archive
SUBDIR += pecl-bz2
+ SUBDIR += pecl-lzf
SUBDIR += pecl-rar
SUBDIR += pecl-zip
SUBDIR += php4-bz2
diff --git a/archivers/pecl-lzf/Makefile b/archivers/pecl-lzf/Makefile
new file mode 100644
index 00000000000..f98784c2fd2
--- /dev/null
+++ b/archivers/pecl-lzf/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: pecl-lzf
+# Date created: 2006/09/07
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lzf
+PORTVERSION= 1.4
+CATEGORIES= archivers pear
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= Handles LZF de/compression
+
+USE_PHP= yes
+USE_PHPEXT= yes
+
+CONFIGURE_ARGS= --enable-lzf
+WRKSRC= ${WRKDIR}/${DISTNAME:U}
+
+OPTIONS= BETTER_COMPRESSION "Better compression ratio" off
+
+.if defined(WITH_BETTER_COMPRESSION)
+CONFIGURE_ARGS+= --enable-lzf-better-compression
+ @${ECHO_MSG} "--enable-lzf-better-compression"
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/pecl-lzf/distinfo b/archivers/pecl-lzf/distinfo
new file mode 100644
index 00000000000..266482e1671
--- /dev/null
+++ b/archivers/pecl-lzf/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/lzf-1.4.tgz) = f35d75b70bee9741946c4cb9275a74ab
+SHA256 (PECL/lzf-1.4.tgz) = 8d385f9a52c03abd54539733d93cdcc5879410267535573712ccc74ac61a63ee
+SIZE (PECL/lzf-1.4.tgz) = 9494
diff --git a/archivers/pecl-lzf/pkg-descr b/archivers/pecl-lzf/pkg-descr
new file mode 100644
index 00000000000..937167a3d4f
--- /dev/null
+++ b/archivers/pecl-lzf/pkg-descr
@@ -0,0 +1,3 @@
+This package handles LZF de/compression.
+
+WWW: http://pecl.php.net/package/lzf/