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:
parent
d1fc80b3fe
commit
4967608efe
51
archivers/pecl-lzf/Makefile
Normal file
51
archivers/pecl-lzf/Makefile
Normal 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>
|
5
archivers/pecl-lzf/distinfo
Normal file
5
archivers/pecl-lzf/distinfo
Normal 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
|
1
archivers/pecl-lzf/pkg/DESCR
Normal file
1
archivers/pecl-lzf/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
This package handles LZF de/compression.
|
10
archivers/pecl-lzf/pkg/MESSAGE
Normal file
10
archivers/pecl-lzf/pkg/MESSAGE
Normal 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.
|
9
archivers/pecl-lzf/pkg/PLIST
Normal file
9
archivers/pecl-lzf/pkg/PLIST
Normal 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
|
9
archivers/pecl-lzf/pkg/UNMESSAGE
Normal file
9
archivers/pecl-lzf/pkg/UNMESSAGE
Normal 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.
|
Loading…
Reference in New Issue
Block a user