aboutsummaryrefslogtreecommitdiffstats
path: root/print/pecl-pdflib
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-19 15:23:20 +0800
committerale <ale@FreeBSD.org>2004-07-19 15:23:20 +0800
commit03bdef8fb9fafdb95450255c8755f3167230d9f8 (patch)
tree34ad001f1e177aaa906eb5bad6092bf5ff155b7e /print/pecl-pdflib
parent1ae1859e9781d4694c0762743282e57c5a106866 (diff)
downloadfreebsd-ports-gnome-03bdef8fb9fafdb95450255c8755f3167230d9f8.tar.gz
freebsd-ports-gnome-03bdef8fb9fafdb95450255c8755f3167230d9f8.tar.zst
freebsd-ports-gnome-03bdef8fb9fafdb95450255c8755f3167230d9f8.zip
Use the new PHP infrastructure.
Diffstat (limited to 'print/pecl-pdflib')
-rw-r--r--print/pecl-pdflib/Makefile15
-rw-r--r--print/pecl-pdflib/pkg-message8
-rw-r--r--print/pecl-pdflib/pkg-plist2
3 files changed, 5 insertions, 20 deletions
diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile
index c0a2c9094931..54ec889fd588 100644
--- a/print/pecl-pdflib/Makefile
+++ b/print/pecl-pdflib/Makefile
@@ -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>
diff --git a/print/pecl-pdflib/pkg-message b/print/pecl-pdflib/pkg-message
deleted file mode 100644
index 0e8cd931fe91..000000000000
--- a/print/pecl-pdflib/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-*****************************************************************************
-
-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
deleted file mode 100644
index e353e45ff43f..000000000000
--- a/print/pecl-pdflib/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-lib/php/%%PHP_EXT_DIR%%/pdf.so
-@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true