mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
8d6597e0bb
With hat: portmgr Sponsored by: Absolight
30 lines
666 B
Makefile
30 lines
666 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haru
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= print pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
|
|
MAINTAINER= miwi@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= tar:tgz
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
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>
|