openbsd-ports/archivers/pecl-lzf/Makefile
merdely 4967608efe Initial import of pecl-lzf:
This package handles LZF de/compression.

From MAINTAINER: Johan Huldtgren
Tweaks by me.
ok sthen@
2010-10-27 23:08:11 +00:00

52 lines
1.1 KiB
Makefile

# $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>