freebsd-ports/misc/pecl-timezonedb/Makefile
2014-11-24 18:28:38 +00:00

26 lines
671 B
Makefile

# Created by: Marcus Alves Grando <mnag@FreeBSD.org>
# $FreeBSD$
PORTNAME= timezonedb
DISTVERSION= 2014.10
CATEGORIES= misc
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Timezone Database to be used with PHP date and time functions
LICENSE= PHP30
CONFIGURE_ARGS= --enable-timezonedb
USE_PHP= yes
USE_PHPEXT= yes
USES= tar:tgz
post-install:
${CHMOD} u+w ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
${CHMOD} u-w ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/${PHP_MODNAME}.so
.include <bsd.port.mk>