Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 17:27:40 GMT
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160006: [new port] devel/premake4: cross-platform build script generator
Message-ID:  <201108221727.p7MHReaa042942@red.freebsd.org>
Resent-Message-ID: <201108221730.p7MHUBbT040812@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160006
>Category:       ports
>Synopsis:       [new port] devel/premake4: cross-platform build script generator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 17:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Vitaly Magerya
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
>Description:
This is a port for Premake4 [1], which is a cross-platform build
script generator.

We already have a port for 3.x version in devel/premake, but since
4.x version installs a new binary (premake4 vs premake), and judging
by the changelog [2] has an incompatible syntax, I submit this as
a separate port, not as an update.

Finally, I welcome the current maintainer of devel/premake to take
over maintainership of this port too if he chooses to do so.

[1] http://industriousone.com/premake
[2] http://industriousone.com/post/premake-40
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:	premake4
X# Date created:		2011-08-21
X# Whom:			Vitaly Magerya <vmagerya@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	premake4
XPORTVERSION=	4.3
XCATEGORIES=	devel
XMASTER_SITES=	SF/premake/Premake/${PORTVERSION}
XDISTNAME=	premake-${PORTVERSION}-src
X
XMAINTAINER=	vmagerya@gmail.com
XCOMMENT=	Writes build scripts
X
XWRKSRC=		${WRKDIR}/premake-${PORTVERSION}
XBUILD_WRKSRC=	${WRKSRC}/build/gmake.unix
X
XUSE_ZIP=	yes
XUSE_GMAKE=	yes
XMAKE_ARGS=	ARCH=""
X
XPLIST_FILES=	bin/premake4
X
XPORTDOCS=	CHANGES.txt LICENSE.txt README.txt
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|-ldl||' ${BUILD_WRKSRC}/Premake4.make
X
Xdo-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
X.endif
X	@${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 ${PREFIX}/bin
X
X.include <bsd.port.post.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XSHA256 (premake-4.3-src.zip) = 36536490f8928d8ecde135da80cd8b751ea5bebe50cabba5c0de49cd41cb2780
XSIZE (premake-4.3-src.zip) = 514366
57677d168a5ec21bdf22c9501f075a8f
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XDescribe your software project with a full-featured scripting
Xlanguage and let Premake write the build scripts for you. With one
Xfile your project can support both IDE-addicted Windows coders and
XLinux command-line junkies!
X
XWWW: http://industriousone.com/premake
7f9555c3c1089940396b503dd37f3979
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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