freebsd-ports/databases/postgresql-plv8js/Makefile
Michael Zhilin 771bff02ad databases/postgresql-plv8js: bump to 3.2.0
Unbreak port

There is discrepancies between official distribution and port:
- port uses dynamic library, but official uses static
2023-11-30 19:48:24 +03:00

25 lines
627 B
Makefile

PORTNAME= plv8
PORTVERSION= 3.2.0
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
PKGNAMESUFFIX= js
MAINTAINER= mizhka@FreeBSD.org
COMMENT= PL/v8js procedural language for PostgreSQL database
WWW= https://plv8.github.io/
LICENSE= PostgreSQL
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libv8.so:lang/v8
USES= compiler:c++17-lang gmake pgsql
USE_PERL5= build
USE_GITHUB= yes
PLIST_SUB= PORTVERSION="${PORTVERSION}"
CXXFLAGS+= -std=c++17 -fno-rtti \
-DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1
MAKE_ARGS= CUSTOM_CC=${CXX} CCFLAGS="${CXXFLAGS}"
.include <bsd.port.mk>