HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/databases/pg_hashids/Makefile
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
LDFLAGS+=-fuse-ld=bfd

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>