2013-02-04 02:30:46 +00:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2008-11-23 18:12:48 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= haru
|
2013-02-04 02:30:46 +00:00
|
|
|
PORTVERSION= 1.0.4
|
2008-11-23 18:12:48 +00:00
|
|
|
CATEGORIES= print pear
|
|
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
|
|
PKGNAMEPREFIX= pecl-
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2009-08-22 21:32:00 +00:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2008-11-23 18:12:48 +00:00
|
|
|
COMMENT= A PECL extension to Haru PDF functions
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu
|
2012-05-17 15:15:22 +00:00
|
|
|
RUN_DEPENDS:= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu
|
2008-11-23 18:12:48 +00:00
|
|
|
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHPEXT= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-haru=${LOCALBASE}
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|