c048863b8f
- Use USES=dos2unix - Support STAGEDIR - Reformat pkg-descr
33 lines
657 B
Makefile
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>
|