mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
aef5a66670
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
29 lines
662 B
Makefile
29 lines
662 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haru
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= print pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PECL extension to Haru PDF functions
|
|
|
|
LICENSE= PHP301
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:print/libharu
|
|
RUN_DEPENDS:= ${LOCALBASE}/include/hpdf.h:print/libharu
|
|
|
|
USES= php:ext tar:tgz
|
|
IGNORE_WITH_PHP= 70
|
|
|
|
CONFIGURE_ARGS+= --with-haru=${LOCALBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|