mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
b2df185b95
Corporate takeovers and mergers have led to the original website being lost. Choose the most appropriate replacement from the new site. Changes: https://github.com/2ndQuadrant/pglogical/releases/tag/REL2_4_7 Reported by: portscout
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
PORTNAME= pglogical
|
|
DISTVERSIONPREFIX= REL
|
|
DISTVERSION= 2_4_7
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= matthew@FreeBSD.org
|
|
COMMENT= Logical replication system as a PostgreSQL extension
|
|
WWW= https://www.enterprisedb.com/docs/supported-open-source/pglogical2/
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
USES= compiler:c11 cpe gettext-runtime gmake pgsql
|
|
CPE_VENDOR= 2ndquadrant
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= 2ndQuadrant
|
|
GH_PROJECT= pglogical pglogical_dump:dump
|
|
GH_TAGNAME= f66606d:dump
|
|
GH_SUBDIR= pglogical_dump:dump
|
|
|
|
WANT_PGSQL= client server
|
|
MAKE_ARGS= USE_PGXS=1
|
|
LLD_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_PORTDOCS= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# FFI
|
|
#TEST_DEPENDS= pg_regress:databases/postgresql${PGSQL_VER_NODOT}-pg_regress
|
|
#TEST_TARGET= do-test
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pglogical_create_subscriber
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical.so
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pglogical_output.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
|
|
|
|
#do-test:
|
|
# ${MAKE} ${MAKE_ARGS} check
|
|
|
|
.include <bsd.port.post.mk>
|