1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Use the new PHP infrastructure.

This commit is contained in:
Alex Dupre 2004-07-19 07:23:20 +00:00
parent 993768b304
commit b124da0367
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113968
6 changed files with 7 additions and 39 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= panda
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= print pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -19,16 +20,8 @@ COMMENT= A PECL extension to create PDF documents
LIB_DEPENDS= panda.0:${PORTSDIR}/print/panda
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= 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

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

View File

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

View File

@ -7,6 +7,7 @@
PORTNAME= pdflib
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= print pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -18,17 +19,11 @@ COMMENT= A PECL extension to create PDF on the fly
LIB_DEPENDS= pdf.7:${PORTSDIR}/print/pdflib
USE_PHP= yes
USE_PHPIZE= yes
USE_PHP= gd
USE_PHP_BUILD= yes
USE_PHPEXT= yes
PHP_MODNAME= pdf
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>

View File

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

View File

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