- Update to 2.1.0 [1]

- Trim header
- Convert to new options framework
- Remove use of bsd.pre.port.mk

PR:		ports/173099 [1]
Submitted by:	John Chen <johnpupu@gmail.com> [1]
Approved by:	Gea-Suan Lin <gslin@gslin.org> (maintainer)
Feature safe:	yes
This commit is contained in:
Bryan Drewery 2012-11-04 13:51:14 +00:00
parent 7230a27102
commit 386533630c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306966
2 changed files with 9 additions and 12 deletions

View file

@ -1,12 +1,8 @@
# New ports collection makefile for: pecl-memcached # Created by: Gea-Suan Lin <gslin@gslin.org>
# Date created: 2009-01-31
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= memcached PORTNAME= memcached
PORTVERSION= 2.0.1 PORTVERSION= 2.1.0
CATEGORIES= databases CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/ MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl- PKGNAMEPREFIX= pecl-
@ -29,14 +25,15 @@ USE_PHPIZE= yes
USE_PHP_BUILD= yes USE_PHP_BUILD= yes
CONFIGURE_ARGS+=--with-libmemcached-dir=${LOCALBASE} CONFIGURE_ARGS+=--with-libmemcached-dir=${LOCALBASE}
OPTIONS= IGBINARY "Binary serializer support" off OPTIONS_DEFINE= IGBINARY
IGBINARY_DESC= Binary serializer support
.include <bsd.port.pre.mk> .include <bsd.port.options.mk>
.if defined(WITH_IGBINARY) .if ${PORT_OPTIONS:MIGBINARY}
CONFIGURE_ARGS+=--enable-memcached-igbinary CONFIGURE_ARGS+=--enable-memcached-igbinary
BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/igbinary.so:${PORTSDIR}/converters/igbinary
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (PECL/memcached-2.0.1.tgz) = 250779594e846b7b31390c384697eb24a5096123b0d3e2f4a1a0b79d14fb1bff SHA256 (PECL/memcached-2.1.0.tgz) = bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af
SIZE (PECL/memcached-2.0.1.tgz) = 39088 SIZE (PECL/memcached-2.1.0.tgz) = 39095