summaryrefslogtreecommitdiff
path: root/net/php-ftp
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek>2004-10-31 19:30:29 +0000
commit6c803e23b4734f72875cd236fad2ef1e49791770 (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /net/php-ftp
parent43d39f7ea20ff84e080d74bfb7d3b0d3e773cb8c (diff)
downloadpkgsrc-6c803e23b4734f72875cd236fad2ef1e49791770.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'net/php-ftp')
-rw-r--r--net/php-ftp/DESCR2
-rw-r--r--net/php-ftp/Makefile18
2 files changed, 20 insertions, 0 deletions
diff --git a/net/php-ftp/DESCR b/net/php-ftp/DESCR
new file mode 100644
index 00000000000..14c70f9402e
--- /dev/null
+++ b/net/php-ftp/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to FTP sites through a FTP library.
diff --git a/net/php-ftp/Makefile b/net/php-ftp/Makefile
new file mode 100644
index 00000000000..5d59dcc4956
--- /dev/null
+++ b/net/php-ftp/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= ftp
+PKGREVISION= # empty
+CATEGORIES+= net
+COMMENT= PHP extension for FTP access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+
+# adjust so that the pkg gets built with SSL support
+LIBS+= -lssl -lcrypto
+CFLAGS+= -DHAVE_OPENSSL_EXT
+
+.include "../../lang/php/ext.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"