file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
30 lines
707 B
Makefile
30 lines
707 B
Makefile
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= imlib2
|
|
PORTVERSION= 0.1.00
|
|
PORTREVISION= 7
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
COMMENT= PECL extension if imlib2
|
|
|
|
LICENSE= PHP202
|
|
|
|
LIB_DEPENDS= libImlib2.so:graphics/imlib2
|
|
|
|
USES= php:ext tar:tgz
|
|
IGNORE_WITH_PHP= 70
|
|
|
|
# libImlib2 may or may not depend on X, however,
|
|
# imlib2 extension doesn't need X related functions in libImlib2
|
|
CFLAGS+= -DX_DISPLAY_MISSING -Wno-deprecated
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/config.m4
|
|
@${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' ${WRKSRC}/imlib2.c
|
|
|
|
.include <bsd.port.mk>
|