svn commit: r456222 - in head/ftp: php56-fastdfs php70-fastdfs php71-fastdfs

Jochen Neumeister joneum at FreeBSD.org
Wed Dec 13 17:22:48 UTC 2017


Author: joneum
Date: Wed Dec 13 17:22:46 2017
New Revision: 456222
URL: https://svnweb.freebsd.org/changeset/ports/456222

Log:
  ftp/php*-fastdfs: Remake to Master/Slave Ports
  
  PR:		223714
  Submitted by:	Daniel Ylitalo <daniel at blodan.se> (maintainer)
  Approved by:	tz (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13454

Deleted:
  head/ftp/php70-fastdfs/distinfo
  head/ftp/php70-fastdfs/pkg-descr
  head/ftp/php70-fastdfs/pkg-message
  head/ftp/php71-fastdfs/distinfo
  head/ftp/php71-fastdfs/pkg-descr
  head/ftp/php71-fastdfs/pkg-message
Modified:
  head/ftp/php56-fastdfs/Makefile
  head/ftp/php70-fastdfs/Makefile
  head/ftp/php71-fastdfs/Makefile

Modified: head/ftp/php56-fastdfs/Makefile
==============================================================================
--- head/ftp/php56-fastdfs/Makefile	Wed Dec 13 16:46:31 2017	(r456221)
+++ head/ftp/php56-fastdfs/Makefile	Wed Dec 13 17:22:46 2017	(r456222)
@@ -1,12 +1,13 @@
 # $FreeBSD$
 
 PORTNAME=	fastdfs
-PORTVERSION=	5.0.11
+DISTVERSION=	5.0.11
 CATEGORIES=	ftp
-PKGNAMEPREFIX=	php56-
+PKGNAMEPREFIX?=	php56-
+IGNORE_WITH_PHP?=	70 71 72
 
 MAINTAINER=	daniel at blodan.se
-COMMENT=	PHP 5.6 module for accessing a FastDFS cluster
+COMMENT?=	PHP 5.6 module for accessing a FastDFS cluster
 
 LICENSE=	GPLv3+
 
@@ -19,7 +20,7 @@ GH_PROJECT=	fastdfs
 GH_TAGNAME=	1e50b4f
 
 USES=			php:ext
-PHP_VER=		56
+PHP_VER?=		56
 
 WRKSRC_SUBDIR=	php_client
 CONFIGURE_ENV=	ROOT=${LOCALBASE}

Modified: head/ftp/php70-fastdfs/Makefile
==============================================================================
--- head/ftp/php70-fastdfs/Makefile	Wed Dec 13 16:46:31 2017	(r456221)
+++ head/ftp/php70-fastdfs/Makefile	Wed Dec 13 17:22:46 2017	(r456222)
@@ -1,29 +1,12 @@
 # $FreeBSD$
 
-PORTNAME=	fastdfs
-PORTVERSION=	5.0.11
-CATEGORIES=	ftp
+MASTERDIR=	${.CURDIR}/../php56-fastdfs
+
 PKGNAMEPREFIX=	php70-
 
-MAINTAINER=	daniel at blodan.se
 COMMENT=	PHP 7 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 71 72
 PHP_VER=		70
 
-WRKSRC_SUBDIR=	php_client
-CONFIGURE_ENV=	ROOT=${LOCALBASE}
-
-PHP_MODNAME=	fastdfs_client
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/ftp/php71-fastdfs/Makefile
==============================================================================
--- head/ftp/php71-fastdfs/Makefile	Wed Dec 13 16:46:31 2017	(r456221)
+++ head/ftp/php71-fastdfs/Makefile	Wed Dec 13 17:22:46 2017	(r456222)
@@ -1,29 +1,12 @@
 # $FreeBSD$
 
-PORTNAME=	fastdfs
-PORTVERSION=	5.0.11
-CATEGORIES=	ftp
+MASTERDIR=	${.CURDIR}/../php56-fastdfs
+
 PKGNAMEPREFIX=	php71-
 
-MAINTAINER=	daniel at 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"


More information about the svn-ports-head mailing list