diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-06-25 11:31:41 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-06-25 11:31:41 +0000 |
commit | 148d791a16474d7f2a8bc3adec71305e1af31aeb (patch) | |
tree | 56307a37638d8b3b331e3b41a0579183c2727c2c | |
parent | 132e5da898cf1c69f357139eb0bd03a13e8515ee (diff) | |
download | ports-148d791a16474d7f2a8bc3adec71305e1af31aeb.tar.gz ports-148d791a16474d7f2a8bc3adec71305e1af31aeb.zip |
Add pecl-pdflib 2.0, a PECL extension to create PDF on the fly.
This is the new PDFLIB extension for PHP, compatible with PDFlib 6.x.
Notes
Notes:
svn path=/head/; revision=112227
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/pecl-pdflib/Makefile | 34 | ||||
-rw-r--r-- | print/pecl-pdflib/distinfo | 2 | ||||
-rw-r--r-- | print/pecl-pdflib/pkg-descr | 7 | ||||
-rw-r--r-- | print/pecl-pdflib/pkg-message | 8 | ||||
-rw-r--r-- | print/pecl-pdflib/pkg-plist | 2 |
6 files changed, 54 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 88884b0584c7..4b431a70a2cd 100644 --- a/print/Makefile +++ b/print/Makefile @@ -160,6 +160,7 @@ SUBDIR += pdflib-perl SUBDIR += pdftk SUBDIR += pdq + SUBDIR += pecl-pdflib SUBDIR += perlftlib SUBDIR += pfbtopfa SUBDIR += phppdflib diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile new file mode 100644 index 000000000000..c0a2c9094931 --- /dev/null +++ b/print/pecl-pdflib/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: pecl-pdflib +# Date created: 25 Jun 2004 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pdflib +PORTVERSION= 2.0 +CATEGORIES= print pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL + +MAINTAINER= ale@FreeBSD.org +COMMENT= A PECL extension to create PDF on the fly + +LIB_DEPENDS= pdf.7:${PORTSDIR}/print/pdflib + +USE_PHP= yes +USE_PHPIZE= yes + +CONFIGURE_ARGS= --with-pdflib=${LOCALBASE} + +do-install: + @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} + @${INSTALL_DATA} ${WRKSRC}/modules/pdf.so \ + ${PREFIX}/lib/php/${PHP_EXT_DIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/print/pecl-pdflib/distinfo b/print/pecl-pdflib/distinfo new file mode 100644 index 000000000000..c459a66f01a5 --- /dev/null +++ b/print/pecl-pdflib/distinfo @@ -0,0 +1,2 @@ +MD5 (PECL/pdflib-2.0.tgz) = 77bb758b24827eecda521dfacf0ccd87 +SIZE (PECL/pdflib-2.0.tgz) = 22841 diff --git a/print/pecl-pdflib/pkg-descr b/print/pecl-pdflib/pkg-descr new file mode 100644 index 000000000000..3502d2c6ec89 --- /dev/null +++ b/print/pecl-pdflib/pkg-descr @@ -0,0 +1,7 @@ +This extension wraps the PDFlib programming library +for processing PDF on the fly, created by Thomas Merz. + +WWW: http://pecl.php.net/package/pdflib/ + +- Alex Dupre +ale@FreeBSD.org diff --git a/print/pecl-pdflib/pkg-message b/print/pecl-pdflib/pkg-message new file mode 100644 index 000000000000..0e8cd931fe91 --- /dev/null +++ b/print/pecl-pdflib/pkg-message @@ -0,0 +1,8 @@ +***************************************************************************** + +To automatically load the installed extension add the following line to +your php.ini configuration file: + +extension="pdf.so" + +***************************************************************************** diff --git a/print/pecl-pdflib/pkg-plist b/print/pecl-pdflib/pkg-plist new file mode 100644 index 000000000000..e353e45ff43f --- /dev/null +++ b/print/pecl-pdflib/pkg-plist @@ -0,0 +1,2 @@ +lib/php/%%PHP_EXT_DIR%%/pdf.so +@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true |