Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 19:01:13 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402181 - head/devel/php5-thrift
Message-ID:  <201511211901.tALJ1D01034917@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511211901.tALJ1D01034917>