aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2013-11-07 21:38:45 +0800
committerolgeni <olgeni@FreeBSD.org>2013-11-07 21:38:45 +0800
commit156adf67e7959adff96088ef94b867e9e391a4e9 (patch)
tree9597ed6e76eef86da3c579e11f0e1cbb59d5356b /databases
parent38812376026d5c166fe148e23036109915f65a2b (diff)
downloadfreebsd-ports-gnome-156adf67e7959adff96088ef94b867e9e391a4e9.tar.gz
freebsd-ports-gnome-156adf67e7959adff96088ef94b867e9e391a4e9.tar.zst
freebsd-ports-gnome-156adf67e7959adff96088ef94b867e9e391a4e9.zip
- Switch to USES=gmake.
- Remove redundant GH master site. - Add staging support.
Diffstat (limited to 'databases')
-rw-r--r--databases/epgsql/Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/databases/epgsql/Makefile b/databases/epgsql/Makefile
index 597eb8f652be..9412819b7df8 100644
--- a/databases/epgsql/Makefile
+++ b/databases/epgsql/Makefile
@@ -3,7 +3,6 @@
PORTNAME= epgsql
PORTVERSION= 1.4
CATEGORIES= databases
-MASTER_SITES= GH
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang PostgreSQL Database Client
@@ -15,30 +14,27 @@ RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
+USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= wg
GH_PROJECT= epgsql
GH_COMMIT= 6dd2d26
GH_TAGNAME= ${PORTVERSION}
-USE_GMAKE= yes
ALL_TARGET= app
PORTDOCS= *
-NO_STAGE= yes
.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
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ @${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
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src
+ ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src
.include <bsd.port.mk>