svn commit: r402181 - head/devel/php5-thrift

Antoine Brodin antoine at FreeBSD.org
Sat Nov 21 19:01:14 UTC 2015


Author: antoine
Date: Sat Nov 21 19:01:13 2015
New Revision: 402181
URL: https://svnweb.freebsd.org/changeset/ports/402181

Log:
  Simplify

Modified:
  head/devel/php5-thrift/Makefile

Modified: head/devel/php5-thrift/Makefile
==============================================================================
--- head/devel/php5-thrift/Makefile	Sat Nov 21 18:56:06 2015	(r402180)
+++ head/devel/php5-thrift/Makefile	Sat Nov 21 19:01:13 2015	(r402181)
@@ -4,26 +4,20 @@
 PORTNAME=	thrift
 PORTVERSION=	${THRIFT_PORTVERSION}
 CATEGORIES=	devel
+MASTER_SITES=	APACHE/thrift/${PORTVERSION}
 PKGNAMEPREFIX=	php5-
-DISTFILES=	# empty
 
 MAINTAINER=	webmaster at kibab.com
 COMMENT=	PHP interface to Thrift
 
-FETCH_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract
-
 USE_PHP=	yes
 
 USE_PHPIZE=	yes
 USE_PHPEXT=	yes
 PHP_MODNAME=	thrift_protocol
 
-WRKSRC=		${WRKDIR}/php/src/ext/thrift_protocol
-
-post-extract:
-	${LN} -sfh \
-		`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/php \
-		${WRKDIR}
+DISTINFO_FILE=	${.CURDIR}/../thrift/distinfo
+WRKSRC_SUBDIR=	lib/php/src/ext/thrift_protocol
 
-.include "../thrift/bsd.thrift.mk"
+.include "${.CURDIR}/../thrift/bsd.thrift.mk"
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list