aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-25 08:43:00 +0800
committerbapt <bapt@FreeBSD.org>2014-01-25 08:43:00 +0800
commit990bb2eb9ea1ebe898cd55d027dc0ceb2d875881 (patch)
tree75d37d6a98c0f20bed0420f21f6df4efbc8582c3
parentd8ace8be3c6d3eab108de2897619a01f12d35995 (diff)
downloadfreebsd-ports-gnome-990bb2eb9ea1ebe898cd55d027dc0ceb2d875881.tar.gz
freebsd-ports-gnome-990bb2eb9ea1ebe898cd55d027dc0ceb2d875881.tar.zst
freebsd-ports-gnome-990bb2eb9ea1ebe898cd55d027dc0ceb2d875881.zip
Support stage
-rw-r--r--devel/premake/Makefile20
1 files 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 <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>