2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
2006-11-01 16:32:46 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= imlib2
|
|
|
|
PORTVERSION= 0.1.00
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 4
|
2006-11-01 16:32:46 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
|
|
PKGNAMEPREFIX= pecl-
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= PECL
|
|
|
|
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
|
|
COMMENT= A PECL extension if imlib2
|
|
|
|
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHPEXT= yes
|
2012-05-20 08:42:55 +02:00
|
|
|
DEFAULT_PHP_VER=53
|
|
|
|
IGNORE_WITH_PHP=5
|
2008-03-11 22:13:53 +01:00
|
|
|
USE_EFL= imlib2
|
2006-11-01 16:32:46 +01:00
|
|
|
|
|
|
|
# libImlib2 may or may not depend on X, however,
|
|
|
|
# imlib2 extension doesn't need X related functions in libImlib2
|
|
|
|
CFLAGS+= -DX_DISPLAY_MISSING
|
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2006-11-01 16:32:46 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/config.m4
|
|
|
|
@${REINPLACE_CMD} -e '/Xlib.h/d' ${WRKSRC}/php_imlib2.h
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|