svn commit: r333103 - head/www/cowboy

Jimmy Olgeni olgeni at FreeBSD.org
Thu Nov 7 14:33:58 UTC 2013


Author: olgeni
Date: Thu Nov  7 14:33:57 2013
New Revision: 333103
URL: http://svnweb.freebsd.org/changeset/ports/333103

Log:
  - Switch to USES=gmake.
  - Remove redundant GH master site.
  - Add staging support.

Modified:
  head/www/cowboy/Makefile

Modified: head/www/cowboy/Makefile
==============================================================================
--- head/www/cowboy/Makefile	Thu Nov  7 14:13:14 2013	(r333102)
+++ head/www/cowboy/Makefile	Thu Nov  7 14:33:57 2013	(r333103)
@@ -3,7 +3,6 @@
 PORTNAME=	cowboy
 PORTVERSION=	0.8.6
 CATEGORIES=	www
-MASTER_SITES=	GH
 
 MAINTAINER=	olgeni at FreeBSD.org
 COMMENT=	Small, fast and modular HTTP server written in Erlang
@@ -14,7 +13,7 @@ RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	extend
 GH_PROJECT=	cowboy
@@ -23,22 +22,17 @@ GH_TAGNAME=	${PORTVERSION}
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/guide/* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
-	@${MKDIR} ${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
-	${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
-	${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/guide/* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list