aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/php71-fastdfs
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-12-14 01:22:46 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:08:10 +0800
commite388459695937af563fc37c2fb672b77ca388322 (patch)
treeade21395395488e1bc63b83fe286489f1a291ddf /ftp/php71-fastdfs
parent3bc1cd125f7c572832fb684ce8c3efc9edf22b90 (diff)
downloadfreebsd-ports-gnome-e388459695937af563fc37c2fb672b77ca388322.tar.gz
freebsd-ports-gnome-e388459695937af563fc37c2fb672b77ca388322.tar.zst
freebsd-ports-gnome-e388459695937af563fc37c2fb672b77ca388322.zip
ftp/php*-fastdfs: Remake to Master/Slave Ports
PR: 223714 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer) Approved by: tz (mentor) Differential Revision: https://reviews.freebsd.org/D13454
Diffstat (limited to 'ftp/php71-fastdfs')
-rw-r--r--ftp/php71-fastdfs/Makefile25
-rw-r--r--ftp/php71-fastdfs/distinfo3
-rw-r--r--ftp/php71-fastdfs/pkg-descr3
-rw-r--r--ftp/php71-fastdfs/pkg-message15
4 files changed, 4 insertions, 42 deletions
diff --git a/ftp/php71-fastdfs/Makefile b/ftp/php71-fastdfs/Makefile
index feee1ee711a2..fd0b7708f285 100644
--- a/ftp/php71-fastdfs/Makefile
+++ b/ftp/php71-fastdfs/Makefile
@@ -1,29 +1,12 @@
# $FreeBSD$
-PORTNAME= fastdfs
-PORTVERSION= 5.0.11
-CATEGORIES= ftp
+MASTERDIR= ${.CURDIR}/../php56-fastdfs
+
PKGNAMEPREFIX= php71-
-MAINTAINER= daniel@blodan.se
COMMENT= PHP 7.1 module for accessing a FastDFS cluster
-LICENSE= GPLv3+
-
-LIB_DEPENDS= libfastcommon.so:devel/libfastcommon \
- libfdfsclient.so:ftp/fastdfs
-
-USE_GITHUB= yes
-GH_ACCOUNT= happyfish100
-GH_PROJECT= fastdfs
-GH_TAGNAME= 1e50b4f
-
-USES= php:ext
+IGNORE_WITH_PHP= 56 70 72
PHP_VER= 71
-WRKSRC_SUBDIR= php_client
-CONFIGURE_ENV= ROOT=${LOCALBASE}
-
-PHP_MODNAME= fastdfs_client
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/ftp/php71-fastdfs/distinfo b/ftp/php71-fastdfs/distinfo
deleted file mode 100644
index a238a2ad4cb4..000000000000
--- a/ftp/php71-fastdfs/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1502819531
-SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9
-SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996
diff --git a/ftp/php71-fastdfs/pkg-descr b/ftp/php71-fastdfs/pkg-descr
deleted file mode 100644
index d90caa5fc86a..000000000000
--- a/ftp/php71-fastdfs/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-PHP module for accessing a FastDFS cluster
-
-WWW: https://github.com/happyfish100/fastdfs
diff --git a/ftp/php71-fastdfs/pkg-message b/ftp/php71-fastdfs/pkg-message
deleted file mode 100644
index 993d158f9115..000000000000
--- a/ftp/php71-fastdfs/pkg-message
+++ /dev/null
@@ -1,15 +0,0 @@
-Before you can start using this module;
-- Make sure you have configured client.conf to point to your FastDFS cluster
- and that you see the cluster with fdfs_monitor
-- Add this to your php.ini file
-==================================================================
-fastdfs_client.base_path = /var/tmp
-fastdfs_client.connect_timeout = 2
-fastdfs_client.network_timeout = 60
-fastdfs_client.log_level = info
-fastdfs_client.log_filename =
-fastdfs_client.http.anti_steal_secret_key =
-fastdfs_client.tracker_group_count = 1
-fastdfs_client.tracker_group0 = /usr/local/etc/fdfs/client.conf
-fastdfs_client.use_connection_pool = false
-fastdfs_client.connection_pool_max_idle_time = 3600