Remove unnecessary USES=gmake and check for MDOCS.

This commit is contained in:
Jimmy Olgeni 2015-05-05 09:53:18 +00:00
parent 999e618eae
commit fa0ecd33d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385454

View File

@ -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