blob: 13ab76424428b05f330c2872072cc0cfb4f505f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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= joneum@bsdproject.de
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>
|