c89828902e
PHP session storage and now does locking which helps some apps. MAINTAINER change and diff ok alek@ jasper@
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2010/04/06 02:08:45 william Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= PHP interface to memcached
|
|
|
|
DISTNAME= memcache-3.0.4
|
|
PKGNAME= pecl-${DISTNAME}
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://pecl.php.net/package/memcache
|
|
|
|
MAINTAINER= William Yodlowsky <william@openbsd.org>
|
|
|
|
# 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.59
|
|
AUTOMAKE_VERSION= 1.4
|
|
|
|
BUILD_DEPENDS= :pear-*:www/pear \
|
|
${MODGNU_AUTOCONF_DEPENDS} \
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
|
RUN_DEPENDS= :php5-core-*:www/php5/core
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --with-zlib-dir=/usr
|
|
CONFIGURE_ENV= AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION}
|
|
|
|
PREFIX= /var/www
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/phpize
|
|
|
|
post-configure:
|
|
@perl -pi -e 's,(finish_cmds=").*,\1" #,g' ${WRKSRC}/libtool
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pecl-memcache
|
|
@${INSTALL_DATA} ${WRKSRC}/example.php \
|
|
${PREFIX}/share/examples/pecl-memcache
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/conf/php5.sample
|
|
@echo "extension=memcache.so" > \
|
|
${PREFIX}/conf/php5.sample/memcache.ini
|
|
|
|
.include <bsd.port.mk>
|