summaryrefslogtreecommitdiff
path: root/databases/pgsql-http/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pgsql-http/Makefile')
-rw-r--r--databases/pgsql-http/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/pgsql-http/Makefile b/databases/pgsql-http/Makefile
new file mode 100644
index 000000000000..e8217f1cc228
--- /dev/null
+++ b/databases/pgsql-http/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= pgsql-http
+PORTVERSION= 1.7.0
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
+
+MAINTAINER= lukas.engelhardt@gmx.de
+COMMENT= PostgreSQL extension to trigger web services
+WWW= https://github.com/pramsey/pgsql-http
+
+LICENSE= MIT
+
+BUILD_DEPENDS= curl:ftp/curl
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USES= gmake pgsql
+WANT_PGSQL= server
+
+USE_GITHUB= yes
+GH_ACCOUNT= pramsey
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/http.so
+
+.include <bsd.port.mk>