Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 08:30:42 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363026 - in head/devel/premake4: . files
Message-ID:  <201407270830.s6R8Ugun068222@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jul 27 08:30:41 2014
New Revision: 363026
URL: http://svnweb.freebsd.org/changeset/ports/363026
QAT: https://qat.redports.org/buildarchive/r363026/

Log:
  devel/premake4: Upgrade version from 4.3 => 4.4b
  
  It's bad practice to upgrade from a release version to a beta version,
  but according to the maintainer several projects are already requiring
  the 4.4 version of premake, essentially forcing an upgrade.
  
  PR:		192004
  Submitted by:	maintainer (Vitaly Magerya)

Deleted:
  head/devel/premake4/files/
Modified:
  head/devel/premake4/Makefile
  head/devel/premake4/distinfo

Modified: head/devel/premake4/Makefile
==============================================================================
--- head/devel/premake4/Makefile	Sun Jul 27 08:25:20 2014	(r363025)
+++ head/devel/premake4/Makefile	Sun Jul 27 08:30:41 2014	(r363026)
@@ -2,21 +2,21 @@
 # $FreeBSD$
 
 PORTNAME=	premake4
-PORTVERSION=	4.3
+PORTVERSION=	4.4.b5
 CATEGORIES=	devel
-MASTER_SITES=	SF/premake/Premake/${PORTVERSION}
-DISTNAME=	premake-${PORTVERSION}-src
+MASTER_SITES=	SF/premake/Premake/${PORTVERSION:C/.b.+//}
+DISTNAME=	premake-${PORTVERSION:S/.b/-beta/}-src
 
 MAINTAINER=	vmagerya@gmail.com
-COMMENT=	Writes build scripts
+COMMENT=	Build script creation tool
 
 OPTIONS_DEFINE=	DOCS
 
-WRKSRC=		${WRKDIR}/premake-${PORTVERSION}
+WRKSRC=		${WRKDIR}/premake-${PORTVERSION:S/.b/-beta/}
 BUILD_WRKSRC=	${WRKSRC}/build/gmake.unix
 
 USES=		gmake zip
-MAKE_ARGS=	ARCH=""
+MAKE_ARGS=	ARCH="" CC="${CC}" CXX="${CXX}"
 
 PLIST_FILES=	bin/premake4
 
@@ -24,12 +24,18 @@ PORTDOCS=	CHANGES.txt LICENSE.txt README
 
 post-patch:
 	${REINPLACE_CMD} -e 's|-ldl||' ${BUILD_WRKSRC}/Premake4.make
-	${REINPLACE_CMD} -e 's|debug|release|' ${WRKSRC}/tests/test
+	${REINPLACE_CMD} -e 's|debug|release|' \
+		${WRKSRC}/tests/test \
+		${WRKSRC}/tests/base/test_premake_command.lua
+	${REINPLACE_CMD} -e 's|io.open(conf_file)|nil|' \
+		${WRKSRC}/src/base/os.lua \
+		${WRKSRC}/src/host/scripts.c
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} \
+		${WRKSRC}/bin/release/premake4 ${STAGEDIR}${PREFIX}/bin
 
 regression-test: build
 	cd ${WRKSRC}/tests && ./test

Modified: head/devel/premake4/distinfo
==============================================================================
--- head/devel/premake4/distinfo	Sun Jul 27 08:25:20 2014	(r363025)
+++ head/devel/premake4/distinfo	Sun Jul 27 08:30:41 2014	(r363026)
@@ -1,2 +1,2 @@
-SHA256 (premake-4.3-src.zip) = 36536490f8928d8ecde135da80cd8b751ea5bebe50cabba5c0de49cd41cb2780
-SIZE (premake-4.3-src.zip) = 514366
+SHA256 (premake-4.4-beta5-src.zip) = 0fa1ed02c5229d931e87995123cdb11d44fcc8bd99bba8e8bb1bbc0aaa798161
+SIZE (premake-4.4-beta5-src.zip) = 596883



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