From 990bb2eb9ea1ebe898cd55d027dc0ceb2d875881 Mon Sep 17 00:00:00 2001 From: bapt Date: Sat, 25 Jan 2014 00:43:00 +0000 Subject: Support stage --- devel/premake/Makefile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/devel/premake/Makefile b/devel/premake/Makefile index e0550d8f25d2..fe069ac3093e 100644 --- a/devel/premake/Makefile +++ b/devel/premake/Makefile @@ -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 - 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 +.include -- cgit