Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 09:53:19 +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: r385454 - head/databases/epgsql
Message-ID:  <201505050953.t459rJdM078499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue May  5 09:53:18 2015
New Revision: 385454
URL: https://svnweb.freebsd.org/changeset/ports/385454

Log:
  Remove unnecessary USES=gmake and check for MDOCS.

Modified:
  head/databases/epgsql/Makefile

Modified: head/databases/epgsql/Makefile
==============================================================================
--- head/databases/epgsql/Makefile	Tue May  5 09:41:24 2015	(r385453)
+++ head/databases/epgsql/Makefile	Tue May  5 09:53:18 2015	(r385454)
@@ -15,16 +15,19 @@ RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
 
 PLIST_SUB=	VERSION="${PORTVERSION}"
 
-USES=		gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	epgsql
 GH_PROJECT=	epgsql
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 do-install:
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+.endif
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include



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