summaryrefslogtreecommitdiff
path: root/databases/pg-safeupdate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pg-safeupdate/Makefile')
-rw-r--r--databases/pg-safeupdate/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/pg-safeupdate/Makefile b/databases/pg-safeupdate/Makefile
new file mode 100644
index 000000000000..9227fd7ce1e9
--- /dev/null
+++ b/databases/pg-safeupdate/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pg-safeupdate
+PORTVERSION= 1.5
+CATEGORIES= databases
+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
+
+MAINTAINER= lukas.engelhardt@gmx.de
+COMMENT= PostgreSQL extension to block unconditional UPDATE/DELETE
+
+LICENSE= PostgreSQL
+
+USES= gmake pgsql
+WANT_PGSQL= server
+
+USE_GITHUB= yes
+GH_ACCOUNT= eradman
+
+PLIST_FILES= lib/postgresql/safeupdate.so
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/safeupdate.so
+
+.include <bsd.port.mk>