diff options
author | miwi <miwi@FreeBSD.org> | 2008-11-24 02:12:48 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-11-24 02:12:48 +0800 |
commit | 9a0024af1839b5980b728ab72b4f45e2e2407a96 (patch) | |
tree | 7751a2b8d9363028c17362b022b79341f6ff68d7 | |
parent | 42715faf61f01f577810f587c621c7159a61807d (diff) | |
download | freebsd-ports-gnome-9a0024af1839b5980b728ab72b4f45e2e2407a96.tar.gz freebsd-ports-gnome-9a0024af1839b5980b728ab72b4f45e2e2407a96.tar.zst freebsd-ports-gnome-9a0024af1839b5980b728ab72b4f45e2e2407a96.zip |
The PECL-haru extension provides bindings to the
libHaru library. libHaru is a free, cross platform,
and Open Source library for generating PDF files.
WWW: http://pecl.php.net/package/haru/
PR: ports/129033
Submitted by: Wen Heping <wenheping at gmail.com>
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/pecl-haru/Makefile | 30 | ||||
-rw-r--r-- | print/pecl-haru/distinfo | 3 | ||||
-rw-r--r-- | print/pecl-haru/pkg-descr | 5 |
4 files changed, 39 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 2dec73a94aa3..a92be3704072 100644 --- a/print/Makefile +++ b/print/Makefile @@ -214,6 +214,7 @@ SUBDIR += pdftk SUBDIR += pdq SUBDIR += pear-File_PDF + SUBDIR += pecl-haru SUBDIR += pecl-pdflib SUBDIR += pecl-ps SUBDIR += perlftlib diff --git a/print/pecl-haru/Makefile b/print/pecl-haru/Makefile new file mode 100644 index 000000000000..399b7796f404 --- /dev/null +++ b/print/pecl-haru/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: pecl-haru +# Date created: 20 Nov 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= haru +PORTVERSION= 1.0.0 +CATEGORIES= print pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +#DIST_SUBDIR= PECL + +MAINTAINER= wenheping@gmail.com +COMMENT= A PECL extension to Haru PDF functions + +BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu +RUN_DEPENDS= ${BUILD_DEPENDS} + +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> diff --git a/print/pecl-haru/distinfo b/print/pecl-haru/distinfo new file mode 100644 index 000000000000..756a8718cdc9 --- /dev/null +++ b/print/pecl-haru/distinfo @@ -0,0 +1,3 @@ +MD5 (haru-1.0.0.tgz) = 967b9cf8394432547ce850ef6a3fb375 +SHA256 (haru-1.0.0.tgz) = 90180684438ce6ad4ac8f1c2ac496d6c132d2345590f11ce230ed7cc1e26b5a5 +SIZE (haru-1.0.0.tgz) = 23336 diff --git a/print/pecl-haru/pkg-descr b/print/pecl-haru/pkg-descr new file mode 100644 index 000000000000..bb22e506b2be --- /dev/null +++ b/print/pecl-haru/pkg-descr @@ -0,0 +1,5 @@ +The PECL-haru extension provides bindings to the +libHaru library. libHaru is a free, cross platform, +and Open Source library for generating PDF files. + +WWW: http://pecl.php.net/package/haru/ |