Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 16:35:52 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316450 - in head/www: mochiweb mochiweb-basho webmachine
Message-ID:  <201304241635.r3OGZqLb014858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Apr 24 16:35:52 2013
New Revision: 316450
URL: http://svnweb.freebsd.org/changeset/ports/316450

Log:
  - Use bsd.port.options.mk.
  - PORTDOCS should not be conditional.
  
  Noticed by:	jgh

Modified:
  head/www/mochiweb-basho/Makefile
  head/www/mochiweb/Makefile
  head/www/webmachine/Makefile

Modified: head/www/mochiweb-basho/Makefile
==============================================================================
--- head/www/mochiweb-basho/Makefile	Wed Apr 24 16:19:19 2013	(r316449)
+++ head/www/mochiweb-basho/Makefile	Wed Apr 24 16:35:52 2013	(r316450)
@@ -24,11 +24,9 @@ GH_PROJECT=	mochiweb
 GH_COMMIT=	b7c3f8f
 GH_TAGNAME=	${PORTVERSION}
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
-.endif
+
+.include <bsd.port.options.mk>
 
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
@@ -49,4 +47,4 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
 	@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/mochiweb/Makefile
==============================================================================
--- head/www/mochiweb/Makefile	Wed Apr 24 16:19:19 2013	(r316449)
+++ head/www/mochiweb/Makefile	Wed Apr 24 16:35:52 2013	(r316450)
@@ -23,11 +23,9 @@ GH_PROJECT=	mochiweb
 GH_COMMIT=	92b8f5b
 GH_TAGNAME=	v${PORTVERSION}
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
-.endif
+
+.include <bsd.port.options.mk>
 
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
@@ -48,4 +46,4 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include
 	@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/webmachine/Makefile
==============================================================================
--- head/www/webmachine/Makefile	Wed Apr 24 16:19:19 2013	(r316449)
+++ head/www/webmachine/Makefile	Wed Apr 24 16:35:52 2013	(r316450)
@@ -23,11 +23,9 @@ GH_PROJECT=     webmachine
 GH_COMMIT=      d600c0e
 GH_TAGNAME=     ${PORTVERSION}
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
-.endif
+
+.include <bsd.port.options.mk>
 
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
@@ -50,4 +48,4 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/src
 	@cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${PREFIX}/lib/erlang/lib/webmachine-${PORTVERSION}/priv
 
-.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?201304241635.r3OGZqLb014858>