1d7e0541a4
After testing every pecl-* port with PHP 5.6, 7.0, 7.1 and 7.2 i set the IGNORE_WITH_PHP accordingly to the fallout. PR: 222165 Reported by: brnd Approved by: portmgr (blanket) Differential Revision: https://reviews.freebsd.org/D13476
27 lines
602 B
Makefile
27 lines
602 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haru
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= print pear
|
|
|
|
MAINTAINER= joneum@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:pecl
|
|
IGNORE_WITH_PHP= 70 71 72
|
|
|
|
CONFIGURE_ARGS+= --with-haru=${LOCALBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|