diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-05-05 17:53:18 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-05-05 17:53:18 +0800 |
commit | 2c6b875ba2c1c0f0fd06ed4b0294c8a01a694bf1 (patch) | |
tree | 429d57678fde9e7368e7a4bbb36a66300d99346b /databases | |
parent | 6254f71f09f8e08629e2bba8a4b7d66a3f59ed91 (diff) | |
download | freebsd-ports-gnome-2c6b875ba2c1c0f0fd06ed4b0294c8a01a694bf1.tar.gz freebsd-ports-gnome-2c6b875ba2c1c0f0fd06ed4b0294c8a01a694bf1.tar.zst freebsd-ports-gnome-2c6b875ba2c1c0f0fd06ed4b0294c8a01a694bf1.zip |
Remove unnecessary USES=gmake and check for MDOCS.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/epgsql/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/epgsql/Makefile b/databases/epgsql/Makefile index c91586494ef0..76b6623f80f2 100644 --- a/databases/epgsql/Makefile +++ b/databases/epgsql/Makefile @@ -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 |