pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-timescaledb postgresql-timescaled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13e1b5739a32
branches:  trunk
changeset: 441141:13e1b5739a32
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 27 12:12:09 2020 +0000

description:
postgresql-timescaledb: switch to USE_CMAKE; limit supported PostgreSQL versions

diffstat:

 databases/postgresql-timescaledb/Makefile |  29 +++++++----------------------
 1 files changed, 7 insertions(+), 22 deletions(-)

diffs (49 lines):

diff -r 7381c272390f -r 13e1b5739a32 databases/postgresql-timescaledb/Makefile
--- a/databases/postgresql-timescaledb/Makefile Tue Oct 27 10:25:43 2020 +0000
+++ b/databases/postgresql-timescaledb/Makefile Tue Oct 27 12:12:09 2020 +0000
@@ -1,38 +1,23 @@
-# $NetBSD: Makefile,v 1.2 2020/10/10 11:20:10 mef Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/27 12:12:09 adam Exp $
 
-GITHUB_PROJECT=        timescaledb
 DISTNAME=      timescaledb-1.7.4
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=timescale/}
+GITHUB_PROJECT=        timescaledb
 
 MAINTAINER=    otis%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/timescale/timescaledb/
+HOMEPAGE=      https://github.com/timescale/timescaledb
 COMMENT=       The timescaledb extension for PostgreSQL
 LICENSE=       apache-2.0
 
 DEPENDS+=      postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
 
-USE_TOOLS+=    cmake gmake bash
-
-CONFIGURE_ARGS+=       -DUSE_OPENSSL=0
-CONFIGURE_ARGS+=       -DREGRESS_CHECKS=OFF
-
-.include "../../mk/bsd.prefs.mk"
+USE_CMAKE=     yes
+CMAKE_ARGS+=   -DUSE_OPENSSL=OFF
+CMAKE_ARGS+=   -DREGRESS_CHECKS=OFF
 
-do-configure:
-       cd ${WRKSRC} && \
-          ${SETENV} ${CONFIGURE_ENV} ./bootstrap ${CONFIGURE_ARGS}
-
-do-build:
-       cd ${WRKSRC}/build && \
-          ${SETENV} ${MAKE_ENV} \
-          ${MAKE} DESTDIR=${DESTDIR} PREFIX=${PREFIX}
-
-do-install:
-       cd ${WRKSRC}/build && \
-          ${SETENV} ${INSTALL_ENV} \
-          ${MAKE} DESTDIR=${DESTDIR} PREFIX=${PREFIX} install
+PGSQL_VERSIONS_ACCEPTED=       12 11 10 96
 
 .include "../../mk/pgsql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index