aboutsummaryrefslogtreecommitdiff
path: root/databases/pg_hashids/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2021-03-11 13:06:35 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2021-03-11 13:06:35 +0000
commit25b10db00018f2a795c27c404debf4203234a33f (patch)
treef01ddb47fdad269a8ece06d1d3bc4ec63de11519 /databases/pg_hashids/Makefile
parent59815b06049f92f35b2ed0c92e43dce1b2da9922 (diff)
downloadports-25b10db00018f2a795c27c404debf4203234a33f.tar.gz
ports-25b10db00018f2a795c27c404debf4203234a33f.zip
Add pg_hashids 1.3, postgreSQL extension for generates short, unique,
non-sequential ids from numbers. PR: 254180 Submitted by: dmitry.wagin@ya.ru
Notes
Notes: svn path=/head/; revision=568089
Diffstat (limited to 'databases/pg_hashids/Makefile')
-rw-r--r--databases/pg_hashids/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/databases/pg_hashids/Makefile b/databases/pg_hashids/Makefile
new file mode 100644
index 000000000000..b92ac428cad3
--- /dev/null
+++ b/databases/pg_hashids/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= pg_hashids
+PORTVERSION= 1.3
+CATEGORIES= databases
+
+MAINTAINER= dmitry.wagin@ya.ru
+COMMENT= PostgreSQL extension for generates short, unique, non-sequential ids from numbers
+
+LICENSE= MIT
+
+USES= gmake pgsql:9.6+
+WANT_PGSQL= server
+
+USE_GITHUB= yes
+GH_ACCOUNT= iCyberon
+GH_TAGNAME= 83398bcb
+
+LLD_UNSAFE= yes
+
+PLIST_FILES= lib/postgresql/${PORTNAME}.so \
+ share/postgresql/extension/${PORTNAME}--${PORTVERSION}.sql \
+ share/postgresql/extension/${PORTNAME}--1.0--1.1.sql \
+ share/postgresql/extension/${PORTNAME}--1.1--1.2.sql \
+ share/postgresql/extension/${PORTNAME}--1.2--${PORTVERSION}.sql \
+ share/postgresql/extension/${PORTNAME}--1.2.1--${PORTVERSION}.sql \
+ share/postgresql/extension/${PORTNAME}.control
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/${PORTNAME}.so
+
+.include <bsd.port.mk>