freebsd-ports/databases/pecl-memcache/Makefile
Sunpoet Po-Chuan Hsieh 07e43b3858 - Fix build with lang/php5 (PHP 5.4)
- Convert to new options framework
- Cosmetic change
- Take maintainership

Obtained from:	http://svn.php.net/viewvc?view=revision&revision=319585
2012-07-11 20:11:48 +00:00

36 lines
706 B
Makefile

# New ports collection makefile for: pecl-memcache
# Date created: 10 August 2004
# Whom: Gerrit Beine <tux@pinguru.net>
#
# $FreeBSD$
#
PORTNAME= memcache
PORTVERSION= 3.0.6
CATEGORIES= databases
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Memcached extension
OPTIONS_DEFINE= EXAMPLES
CONFIGURE_ARGS= --with-zlib-dir=/usr
USE_DOS2UNIX= yes
USE_PHP= zlib session
USE_PHP_BUILD= yes
USE_PHPEXT= yes
USE_PHPIZE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>