aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-05-30 01:09:21 +0800
committermiwi <miwi@FreeBSD.org>2007-05-30 01:09:21 +0800
commitd09415a8efcd9c9720949b217303bbb2d597e4ee (patch)
treefc71265e7dd755b482f8e5c975a619a1b3f99a7e
parent6faddfc1a9517546d9f98efe769bd9b1b3491362 (diff)
downloadfreebsd-ports-gnome-d09415a8efcd9c9720949b217303bbb2d597e4ee.tar.gz
freebsd-ports-gnome-d09415a8efcd9c9720949b217303bbb2d597e4ee.tar.zst
freebsd-ports-gnome-d09415a8efcd9c9720949b217303bbb2d597e4ee.zip
PHP extention to generate postscript by using pslib.
WWW: http://pecl.php.net/package-info.php?package=ps PR: ports/112968 Submitted by: Alan Garfield <alan at fromorbit.com>
-rw-r--r--print/Makefile1
-rw-r--r--print/pecl-ps/Makefile30
-rw-r--r--print/pecl-ps/distinfo3
-rw-r--r--print/pecl-ps/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index b7c99a02d171..bfa8b900c337 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -197,6 +197,7 @@
SUBDIR += pdq
SUBDIR += pear-File_PDF
SUBDIR += pecl-pdflib
+ SUBDIR += pecl-ps
SUBDIR += perlftlib
SUBDIR += pfbtopfa
SUBDIR += phppdflib
diff --git a/print/pecl-ps/Makefile b/print/pecl-ps/Makefile
new file mode 100644
index 000000000000..85ccea5237ed
--- /dev/null
+++ b/print/pecl-ps/Makefile
@@ -0,0 +1,30 @@
+# Ports collection makefile for: pear-ps
+# Date created: 25 May 2007
+# Whom: Alan Garfield <alan@fromorbit.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ps
+PORTVERSION= 1.3.4
+CATEGORIES= print pear
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DISTNAME= ps-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= alan@fromorbit.com
+COMMENT= PHP extension for pslib to generate postscript
+
+LIB_DEPENDS= ps.2:${PORTSDIR}/print/pslib
+
+USE_PHP= yes
+USE_PHPEXT= yes
+DEFAULT_PHP_VER= 5
+PHP_MODNAME= ${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldl|-lintl|g' ${WRKSRC}/config.m4
+
+.include <bsd.port.mk>
diff --git a/print/pecl-ps/distinfo b/print/pecl-ps/distinfo
new file mode 100644
index 000000000000..39f88b8da84f
--- /dev/null
+++ b/print/pecl-ps/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/ps-1.3.4.tgz) = 1fd7838a85c69617416d64ebe32f653a
+SHA256 (PECL/ps-1.3.4.tgz) = af0a003bf3b1f26dab81b4f5f7184675ba5c7f86a48928d7f8bf4077d1e87602
+SIZE (PECL/ps-1.3.4.tgz) = 197802
diff --git a/print/pecl-ps/pkg-descr b/print/pecl-ps/pkg-descr
new file mode 100644
index 000000000000..1d1b350ebd1f
--- /dev/null
+++ b/print/pecl-ps/pkg-descr
@@ -0,0 +1,3 @@
+PHP extention to generate postscript by using pslib.
+
+WWW: http://pecl.php.net/package-info.php?package=ps