1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/graphics/pecl-imlib2/Makefile
Alex Dupre 77cb321f55 Mark IGNORE with php 5.4 and set 5.3 as default.
Reported by:	pav
Pointyhat to:	me
2012-05-20 06:42:55 +00:00

35 lines
766 B
Makefile

# New ports collection makefile for: pecl-imlib2
# Date created: 18 September 2006
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= imlib2
PORTVERSION= 0.1.00
PORTREVISION= 4
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
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5
USE_EFL= imlib2
# libImlib2 may or may not depend on X, however,
# imlib2 extension doesn't need X related functions in libImlib2
CFLAGS+= -DX_DISPLAY_MISSING
post-patch:
@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/config.m4
@${REINPLACE_CMD} -e '/Xlib.h/d' ${WRKSRC}/php_imlib2.h
.include <bsd.port.mk>