diff --git a/archivers/pecl-lzf/Makefile b/archivers/pecl-lzf/Makefile new file mode 100644 index 00000000000..4eadcac6b7e --- /dev/null +++ b/archivers/pecl-lzf/Makefile @@ -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 + +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 diff --git a/archivers/pecl-lzf/distinfo b/archivers/pecl-lzf/distinfo new file mode 100644 index 00000000000..d8760be955b --- /dev/null +++ b/archivers/pecl-lzf/distinfo @@ -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 diff --git a/archivers/pecl-lzf/pkg/DESCR b/archivers/pecl-lzf/pkg/DESCR new file mode 100644 index 00000000000..db398cc8b45 --- /dev/null +++ b/archivers/pecl-lzf/pkg/DESCR @@ -0,0 +1 @@ +This package handles LZF de/compression. diff --git a/archivers/pecl-lzf/pkg/MESSAGE b/archivers/pecl-lzf/pkg/MESSAGE new file mode 100644 index 00000000000..004ae102350 --- /dev/null +++ b/archivers/pecl-lzf/pkg/MESSAGE @@ -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. diff --git a/archivers/pecl-lzf/pkg/PLIST b/archivers/pecl-lzf/pkg/PLIST new file mode 100644 index 00000000000..88b9d10fb1e --- /dev/null +++ b/archivers/pecl-lzf/pkg/PLIST @@ -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 diff --git a/archivers/pecl-lzf/pkg/UNMESSAGE b/archivers/pecl-lzf/pkg/UNMESSAGE new file mode 100644 index 00000000000..ca1131b16cb --- /dev/null +++ b/archivers/pecl-lzf/pkg/UNMESSAGE @@ -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.