Initial import of pecl-lzf:

This package handles LZF de/compression.

From MAINTAINER: Johan Huldtgren
Tweaks by me.
ok sthen@
This commit is contained in:
merdely 2010-10-27 23:08:11 +00:00
parent d1fc80b3fe
commit 4967608efe
6 changed files with 85 additions and 0 deletions

View File

@ -0,0 +1,51 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/27 23:08:11 merdely Exp $
SHARED_ONLY = Yes
COMMENT = PHP support LZF de/compression
DISTNAME = LZF-1.5.2
PKGNAME = pecl-${DISTNAME:L}
CATEGORIES = archivers
MAINTAINER = Johan Huldtgren <jhuldtgren@gmail.com>
HOMEPAGE = http://pecl.php.net/package/lzf/
# PHP License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://pecl.php.net/get/
EXTRACT_SUFX = .tgz
AUTOCONF_VERSION = 2.62
AUTOMAKE_VERSION = 1.9
BUILD_DEPENDS = :pear-*:www/pear \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
RUN_DEPENDS = :php5-core-*:www/php5/core
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
PREFIX = /var/www
DESTDIRNAME = INSTALL_ROOT
REGRESS_TARGET = test
USE_LIBTOOL = Yes
LIBTOOL_FLAGS += --tag=disable-static
pre-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/phpize
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/conf/php5.sample
@echo "extension=lzf.so" > \
${PREFIX}/conf/php5.sample/lzf.ini
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (LZF-1.5.2.tgz) = 0DE9k3g80RyOA4q/zxtPkQ==
RMD160 (LZF-1.5.2.tgz) = xMV5q7C9DAhm9MDwqKZKVQUTfJo=
SHA1 (LZF-1.5.2.tgz) = +cHUtwz9ootGNS/0EPrgWd2ETkE=
SHA256 (LZF-1.5.2.tgz) = spXE7sYrJp2vVxXrzTqVlqVRd071Ey4VllvBQjnPhJU=
SIZE (LZF-1.5.2.tgz) = 11320

View File

@ -0,0 +1 @@
This package handles LZF de/compression.

View File

@ -0,0 +1,10 @@
You can enable this module by creating a symbolic
link from ${PREFIX}/conf/php5.sample/lzf.ini to
${PREFIX}/conf/php5/lzf.ini.
ln -fs ${PREFIX}/conf/php5.sample/lzf.ini \
${PREFIX}/conf/php5/lzf.ini
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,
you should fully stop and then restart the server.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/27 23:08:11 merdely Exp $
@comment conf/php5.sample/
@group bin
conf/php5.sample/lzf.ini
@comment lib/
@comment lib/php/
@comment lib/php/modules/
@owner root
lib/php/modules/lzf.so

View File

@ -0,0 +1,9 @@
You can disable this module by removing the
${PREFIX}/conf/php5/lzf.ini symbolic link by
issuing the following command:
rm -f ${PREFIX}/conf/php5/lzf.ini
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,
you should fully stop and then restart the server.