Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 00:43:00 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340970 - head/devel/premake
Message-ID:  <201401250043.s0P0h0RO021017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jan 25 00:43:00 2014
New Revision: 340970
URL: http://svnweb.freebsd.org/changeset/ports/340970
QAT: https://qat.redports.org/buildarchive/r340970/

Log:
  Support stage

Modified:
  head/devel/premake/Makefile

Modified: head/devel/premake/Makefile
==============================================================================
--- head/devel/premake/Makefile	Sat Jan 25 00:41:42 2014	(r340969)
+++ head/devel/premake/Makefile	Sat Jan 25 00:43:00 2014	(r340970)
@@ -7,28 +7,24 @@ PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/Premake/${PORTVERSION}
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	lippe@FreeBSD.org
 COMMENT=	Writes build scripts
 
+OPTIONS_DEFINE=	DOCS
+
 WRKSRC=		${WRKDIR}/Premake-${PORTVERSION}
 
-USE_DOS2UNIX=	yes
-USE_ZIP=	yes
-USE_GMAKE=	yes
+USES=		gmake dos2unix
 
 PLIST_FILES=	bin/premake
 
 PORTDOCS=	CHANGES.txt LICENSE.txt README.txt
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
-	@${INSTALL_PROGRAM} ${WRKSRC}/bin/premake ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/bin/premake ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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