1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/databases/epgsql/Makefile

44 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= epgsql
PORTVERSION= 1.4
CATEGORIES= databases
MASTER_SITES= GH
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang PostgreSQL Database Client
LICENSE= BSD
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= wg
GH_PROJECT= epgsql
GH_COMMIT= 6dd2d26
GH_TAGNAME= ${PORTVERSION}
USE_GMAKE= yes
ALL_TARGET= app
PORTDOCS= *
.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}
@${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin
@${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include
@${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include
${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src
.include <bsd.port.mk>