diff options
author | ale <ale@FreeBSD.org> | 2004-06-25 14:39:22 +0000 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-06-25 14:39:22 +0000 |
commit | 467fa90929a01bbf8c2813846357436225fdb923 (patch) | |
tree | 641a65a0db6a7ea7ffbfd95ba51c665a95a46be1 /print/pecl-panda | |
parent | bc48d03ff718ad790eceed1333268214481cab96 (diff) | |
download | FreeBSD-ports-467fa90929a01bbf8c2813846357436225fdb923.zip FreeBSD-ports-467fa90929a01bbf8c2813846357436225fdb923.tar.gz |
Add pecl-panda 0.1.0, a PECL extension to create PDF documents.
This is a LGPL alternative to pecl-pdflib.
Diffstat (limited to 'print/pecl-panda')
-rw-r--r-- | print/pecl-panda/Makefile | 34 | ||||
-rw-r--r-- | print/pecl-panda/distinfo | 2 | ||||
-rw-r--r-- | print/pecl-panda/files/patch-config.m4 | 10 | ||||
-rw-r--r-- | print/pecl-panda/pkg-descr | 6 | ||||
-rw-r--r-- | print/pecl-panda/pkg-message | 8 | ||||
-rw-r--r-- | print/pecl-panda/pkg-plist | 2 |
6 files changed, 62 insertions, 0 deletions
diff --git a/print/pecl-panda/Makefile b/print/pecl-panda/Makefile new file mode 100644 index 0000000..4fa03b1 --- /dev/null +++ b/print/pecl-panda/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: pecl-panda +# Date created: 25 Jun 2004 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= panda +PORTVERSION= 0.1.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 documents + +LIB_DEPENDS= panda.0:${PORTSDIR}/print/panda + +USE_PHP= yes +USE_PHPIZE= yes + +CONFIGURE_ARGS= --with-panda=${LOCALBASE} + +do-install: + @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} + @${INSTALL_DATA} ${WRKSRC}/modules/panda.so \ + ${PREFIX}/lib/php/${PHP_EXT_DIR} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/print/pecl-panda/distinfo b/print/pecl-panda/distinfo new file mode 100644 index 0000000..055358a --- /dev/null +++ b/print/pecl-panda/distinfo @@ -0,0 +1,2 @@ +MD5 (PECL/panda-0.1.0.tgz) = a445526024946f67bd510330f9bbcf2a +SIZE (PECL/panda-0.1.0.tgz) = 12435 diff --git a/print/pecl-panda/files/patch-config.m4 b/print/pecl-panda/files/patch-config.m4 new file mode 100644 index 0000000..6075793 --- /dev/null +++ b/print/pecl-panda/files/patch-config.m4 @@ -0,0 +1,10 @@ +--- config.m4.orig Fri Jun 25 16:26:35 2004 ++++ config.m4 Fri Jun 25 16:27:13 2004 +@@ -30,6 +30,7 @@ + PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, + [ + PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $PANDA_DIR/lib, PANDA_SHARED_LIBADD) ++ PHP_ADD_INCLUDE($PANDA_DIR/include) + AC_DEFINE(HAVE_PANDALIB,1,[ ]) + ],[ + AC_MSG_ERROR([wrong panda lib version or lib not found]) diff --git a/print/pecl-panda/pkg-descr b/print/pecl-panda/pkg-descr new file mode 100644 index 0000000..fb2d13a --- /dev/null +++ b/print/pecl-panda/pkg-descr @@ -0,0 +1,6 @@ +Panda is a free PDF library that can be used to create PDF documents. + +WWW: http://pecl.php.net/package/panda/ + +- Alex Dupre +ale@FreeBSD.org diff --git a/print/pecl-panda/pkg-message b/print/pecl-panda/pkg-message new file mode 100644 index 0000000..e531d3b --- /dev/null +++ b/print/pecl-panda/pkg-message @@ -0,0 +1,8 @@ +***************************************************************************** + +To automatically load the installed extension add the following line to +your php.ini configuration file: + +extension="panda.so" + +***************************************************************************** diff --git a/print/pecl-panda/pkg-plist b/print/pecl-panda/pkg-plist new file mode 100644 index 0000000..57f7243 --- /dev/null +++ b/print/pecl-panda/pkg-plist @@ -0,0 +1,2 @@ +lib/php/%%PHP_EXT_DIR%%/panda.so +@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true |