1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add pecl-panda 0.1.0, a PECL extension to create PDF documents.

This is a LGPL alternative to pecl-pdflib.
This commit is contained in:
Alex Dupre 2004-06-25 14:39:22 +00:00
parent db2c514e2c
commit a85854b8a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112244
7 changed files with 63 additions and 0 deletions

View File

@ -160,6 +160,7 @@
SUBDIR += pdflib-perl
SUBDIR += pdftk
SUBDIR += pdq
SUBDIR += pecl-panda
SUBDIR += pecl-pdflib
SUBDIR += perlftlib
SUBDIR += pfbtopfa

34
print/pecl-panda/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (PECL/panda-0.1.0.tgz) = a445526024946f67bd510330f9bbcf2a
SIZE (PECL/panda-0.1.0.tgz) = 12435

View File

@ -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])

View File

@ -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

View File

@ -0,0 +1,8 @@
*****************************************************************************
To automatically load the installed extension add the following line to
your php.ini configuration file:
extension="panda.so"
*****************************************************************************

View File

@ -0,0 +1,2 @@
lib/php/%%PHP_EXT_DIR%%/panda.so
@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true