freebsd-ports/databases/pecl-memcache/Makefile
Sunpoet Po-Chuan Hsieh c048863b8f - Add LICENSE
- Use USES=dos2unix
- Support STAGEDIR
- Reformat pkg-descr
2013-11-18 19:22:13 +00:00

33 lines
657 B
Makefile

# Created by: Gerrit Beine <tux@pinguru.net>
# $FreeBSD$
PORTNAME= memcache
PORTVERSION= 3.0.8
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_CSTD= gnu89
USE_PHP= zlib session
USE_PHP_BUILD= yes
USE_PHPEXT= yes
USE_PHPIZE= yes
USES= dos2unix
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>