Changeset View
Changeset View
Standalone View
Standalone View
devel/pecl-bbcode/Makefile
# Created by: Ditesh Shashikant Gathani <ditesh@gathani.org> | # Created by: Ditesh Shashikant Gathani <ditesh@gathani.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= bbcode | PORTNAME= bbcode | ||||
PORTVERSION= 1.0.2 | PORTVERSION= 1.0.2 | ||||
CATEGORIES= devel pear | CATEGORIES= devel pear | ||||
MASTER_SITES= http://pecl.php.net/get/ | MASTER_SITES= http://pecl.php.net/get/ | ||||
PKGNAMEPREFIX= pecl- | PKGNAMEPREFIX= pecl- | ||||
DIST_SUBDIR= PECL | DIST_SUBDIR= PECL | ||||
MAINTAINER= miwi@FreeBSD.org | MAINTAINER= miwi@FreeBSD.org | ||||
COMMENT= PECL extension which allows quick and efficient BBCode Parsing | COMMENT= PECL extension which allows quick and efficient BBCode Parsing | ||||
LICENSE= PHP301 BSD3CLAUSE | LICENSE= PHP301 BSD3CLAUSE | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
USES= tar:tgz | USES= php:ext tar:tgz | ||||
USE_PHP= yes | |||||
USE_PHP_BUILD= yes | |||||
USE_PHPEXT= yes | |||||
IGNORE_WITH_PHP= 56 70 | IGNORE_WITH_PHP= 56 70 | ||||
CONFIGURE_ARGS= --enable-bbcode | CONFIGURE_ARGS= --enable-bbcode | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's/#include <malloc.h>/\/\/#include <malloc.h>/g' ${WRKSRC}/lib/bbcode2.c | @${REINPLACE_CMD} -e 's/#include <malloc.h>/\/\/#include <malloc.h>/g' ${WRKSRC}/lib/bbcode2.c | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |