Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 14:16:00 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345654 - head/www/phalcon
Message-ID:  <201402221416.s1MEG0f8083706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb 22 14:15:59 2014
New Revision: 345654
URL: http://svnweb.freebsd.org/changeset/ports/345654
QAT: https://qat.redports.org/buildarchive/r345654/

Log:
  - Update to 1.2.6
  - While I'm here:
    - Update LICENSE
    - Simplify WRKSRC
    - Use ONLY_FOR_ARCHS
  
  Changes:	https://github.com/phalcon/cphalcon/releases
  PR:		ports/186940
  Submitted by:	Gasol Wu <gasol.wu@gmail.com>
  Approved by:	Daniel Lin <linpct@gmail.com> (maintainer)

Modified:
  head/www/phalcon/Makefile
  head/www/phalcon/distinfo

Modified: head/www/phalcon/Makefile
==============================================================================
--- head/www/phalcon/Makefile	Sat Feb 22 14:12:27 2014	(r345653)
+++ head/www/phalcon/Makefile	Sat Feb 22 14:15:59 2014	(r345654)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	phalcon
-PORTVERSION=	1.2.4
+PORTVERSION=	1.2.6
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/phalcon/cphalcon/archive/v${PORTVERSION}/
 DISTNAME=	${PORTNAME}-v${PORTVERSION}
@@ -10,27 +10,18 @@ DISTNAME=	${PORTNAME}-v${PORTVERSION}
 MAINTAINER=	linpct@gmail.com
 COMMENT=	Phalcon PHP Framework written in C-language
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
-WRKSRC=		${WRKDIR}/c${PORTNAME}-${PORTVERSION}/build/
+WRKSRC=		${WRKDIR}/c${PORTNAME}-${PORTVERSION}/build/${ARCH:S/amd64/64/:S/i386/32/}bits
 
 CFLAGS+=	-I${LOCALBASE}/include
 CONFIGURE_ARGS=	--enable-phalcon --prefix=${PREFIX} \
 		--with-php-config=${LOCALBASE}/bin/php-config
+ONLY_FOR_ARCHS=	amd64 i386
 
 USE_PHP=	pdo
 USE_PHPEXT=	yes
 USE_PHPIZE=	yes
 USE_PHP_BUILD=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-WRKSRC:=	${WRKSRC}/64bits
-.elif ${ARCH} == "i386"
-WRKSRC:=	${WRKSRC}/32bits
-.else
-BROKEN=		Only support on amd64 or i386
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/phalcon/distinfo
==============================================================================
--- head/www/phalcon/distinfo	Sat Feb 22 14:12:27 2014	(r345653)
+++ head/www/phalcon/distinfo	Sat Feb 22 14:15:59 2014	(r345654)
@@ -1,2 +1,2 @@
-SHA256 (phalcon-v1.2.4.tar.gz) = ad4132b5e74206015be473a25b169fe8c774b82c87ffc4e7dc388a97692f616f
-SIZE (phalcon-v1.2.4.tar.gz) = 2608470
+SHA256 (phalcon-v1.2.6.tar.gz) = 63006071e641f956b6ee524b38d3a6b9b0801176e6753aa0ecda225dd98e3513
+SIZE (phalcon-v1.2.6.tar.gz) = 2584664



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