Remove unnecessary USES=gmake and check for MDOCS.
This commit is contained in:
parent
999e618eae
commit
fa0ecd33d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385454
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user