aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-03-09 03:48:41 +0800
committermat <mat@FreeBSD.org>2018-03-09 03:48:41 +0800
commit3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e (patch)
treea942b9de6ec3ced252f123bf8a905b18d685aa72 /ftp
parentbd4297a179c7edf0fe5800bb82c677771f17923c (diff)
downloadfreebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.tar.gz
freebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.tar.zst
freebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.zip
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile5
-rw-r--r--ftp/horde-gollem/Makefile2
-rw-r--r--ftp/php-fastdfs/Makefile (renamed from ftp/php56-fastdfs/Makefile)6
-rw-r--r--ftp/php-fastdfs/distinfo (renamed from ftp/php56-fastdfs/distinfo)0
-rw-r--r--ftp/php-fastdfs/pkg-descr (renamed from ftp/php56-fastdfs/pkg-descr)0
-rw-r--r--ftp/php-fastdfs/pkg-message (renamed from ftp/php56-fastdfs/pkg-message)0
-rw-r--r--ftp/php70-fastdfs/Makefile12
-rw-r--r--ftp/php71-fastdfs/Makefile12
-rw-r--r--ftp/php72-fastdfs/Makefile12
9 files changed, 4 insertions, 45 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index c59645292701..847e63e50640 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -62,17 +62,14 @@
SUBDIR += pavuk
SUBDIR += pear-Net_FTP
SUBDIR += pftpd
+ SUBDIR += php-fastdfs
SUBDIR += php56-curl
- SUBDIR += php56-fastdfs
SUBDIR += php56-ftp
SUBDIR += php70-curl
- SUBDIR += php70-fastdfs
SUBDIR += php70-ftp
SUBDIR += php71-curl
- SUBDIR += php71-fastdfs
SUBDIR += php71-ftp
SUBDIR += php72-curl
- SUBDIR += php72-fastdfs
SUBDIR += php72-ftp
SUBDIR += phpwebftp
SUBDIR += plasma-applet-ftpmonitor
diff --git a/ftp/horde-gollem/Makefile b/ftp/horde-gollem/Makefile
index 24839c7dfa8a..72dc12c262cb 100644
--- a/ftp/horde-gollem/Makefile
+++ b/ftp/horde-gollem/Makefile
@@ -4,7 +4,7 @@
PORTNAME= gollem
PORTVERSION= 3.0.12
CATEGORIES= ftp www pear
-PKGNAMEPREFIX= horde-
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}horde-
MAINTAINER= horde@FreeBSD.org
COMMENT= Horde Web-based File Manager
diff --git a/ftp/php56-fastdfs/Makefile b/ftp/php-fastdfs/Makefile
index ea2e5e097937..82e6c1d7ed92 100644
--- a/ftp/php56-fastdfs/Makefile
+++ b/ftp/php-fastdfs/Makefile
@@ -3,11 +3,10 @@
PORTNAME= fastdfs
DISTVERSION= 5.0.11
CATEGORIES= ftp
-PKGNAMEPREFIX?= php56-
-IGNORE_WITH_PHP?= 70 71 72
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= daniel@blodan.se
-COMMENT?= PHP 5.6 module for accessing a FastDFS cluster
+COMMENT?= PHP module for accessing a FastDFS cluster
LICENSE= GPLv3+
@@ -20,7 +19,6 @@ GH_PROJECT= fastdfs
GH_TAGNAME= 1e50b4f
USES= php:ext
-PHP_VER?= 56
WRKSRC_SUBDIR= php_client
CONFIGURE_ENV= ROOT=${LOCALBASE}
diff --git a/ftp/php56-fastdfs/distinfo b/ftp/php-fastdfs/distinfo
index e6d441229a4b..e6d441229a4b 100644
--- a/ftp/php56-fastdfs/distinfo
+++ b/ftp/php-fastdfs/distinfo
diff --git a/ftp/php56-fastdfs/pkg-descr b/ftp/php-fastdfs/pkg-descr
index d90caa5fc86a..d90caa5fc86a 100644
--- a/ftp/php56-fastdfs/pkg-descr
+++ b/ftp/php-fastdfs/pkg-descr
diff --git a/ftp/php56-fastdfs/pkg-message b/ftp/php-fastdfs/pkg-message
index 993d158f9115..993d158f9115 100644
--- a/ftp/php56-fastdfs/pkg-message
+++ b/ftp/php-fastdfs/pkg-message
diff --git a/ftp/php70-fastdfs/Makefile b/ftp/php70-fastdfs/Makefile
deleted file mode 100644
index 47e7e0bb792b..000000000000
--- a/ftp/php70-fastdfs/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# $FreeBSD$
-
-MASTERDIR= ${.CURDIR}/../php56-fastdfs
-
-PKGNAMEPREFIX= php70-
-
-COMMENT= PHP 7 module for accessing a FastDFS cluster
-
-IGNORE_WITH_PHP= 56 71 72
-PHP_VER= 70
-
-.include "${MASTERDIR}/Makefile"
diff --git a/ftp/php71-fastdfs/Makefile b/ftp/php71-fastdfs/Makefile
deleted file mode 100644
index fd0b7708f285..000000000000
--- a/ftp/php71-fastdfs/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# $FreeBSD$
-
-MASTERDIR= ${.CURDIR}/../php56-fastdfs
-
-PKGNAMEPREFIX= php71-
-
-COMMENT= PHP 7.1 module for accessing a FastDFS cluster
-
-IGNORE_WITH_PHP= 56 70 72
-PHP_VER= 71
-
-.include "${MASTERDIR}/Makefile"
diff --git a/ftp/php72-fastdfs/Makefile b/ftp/php72-fastdfs/Makefile
deleted file mode 100644
index d98e66b5e2f6..000000000000
--- a/ftp/php72-fastdfs/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# $FreeBSD$
-
-MASTERDIR= ${.CURDIR}/../php56-fastdfs
-
-PKGNAMEPREFIX= php72-
-
-COMMENT= PHP 7.2 module for accessing a FastDFS cluster
-
-IGNORE_WITH_PHP= 56 70 71
-PHP_VER= 72
-
-.include "${MASTERDIR}/Makefile"