summaryrefslogtreecommitdiff
path: root/databases/pgactive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pgactive/Makefile')
-rw-r--r--databases/pgactive/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/pgactive/Makefile b/databases/pgactive/Makefile
new file mode 100644
index 000000000000..c05907cdd25b
--- /dev/null
+++ b/databases/pgactive/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= pgactive
+PORTVERSION= 2.1.6
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+
+MAINTAINER= vanilla@FreeBSD.org
+COMMENT= Active-active replication extension for PostgreSQL
+WWW= http://github.com/aws/pgactive
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake pgsql
+WANT_PGSQL= client server
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= aws
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgactive_dump
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgactive_init_copy
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pgactive.so
+
+.include <bsd.port.mk>