# New ports collection makefile for: pecl-phar # Date created: 6 Aug 2007 # Whom: Ditesh Shashikant Gathani # # $FreeBSD$ # PORTNAME= phar DISTVERSION= 2.0.0RC2 CATEGORIES= archivers pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- EXTRACT_SUFX= .tgz DIST_SUBDIR= PECL MAINTAINER= miwi@FreeBSD.org COMMENT= A PECL extension which allows running applications out of .phar files FORBIDDEN= Vulnerable since 2011-01-13, http://portaudit.freebsd.org/da3d381b-0ee6-11e0-becc-0022156e8794.html EXPIRATION_DATE= 2011-10-14 LICENSE= PHP301 USE_PHP= hash spl pcre USE_PHP_BUILD= yes USE_PHPEXT= yes CFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" IGNORE_WITH_PHP=4 OPTIONS= BZ2 "Enable bz2 compression support" off \ ZLIB "Enable gzip compression support" off .include .if defined(WITH_BZ2) && !defined(WITHOUT_BZ2) USE_PHP+= bz2 .endif .if defined(WITH_ZLIB) && !defined(WITHOUT_ZLIB) USE_PHP+= zlib .endif CONFIGURE_ARGS= --enable-phar .include