pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/davical davical: Fix GITLAB_* misuse.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c7779728f8b
branches:  trunk
changeset: 381054:1c7779728f8b
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 27 06:49:51 2022 +0000

description:
davical: Fix GITLAB_* misuse.

diffstat:

 www/davical/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r b0c8ec5c8831 -r 1c7779728f8b www/davical/Makefile
--- a/www/davical/Makefile      Mon Jun 27 06:32:44 2022 +0000
+++ b/www/davical/Makefile      Mon Jun 27 06:49:51 2022 +0000
@@ -1,19 +1,24 @@
-# $NetBSD: Makefile,v 1.48 2021/05/24 19:55:13 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2022/06/27 06:49:51 nia Exp $
+
+DAVICAL_VERSION=       1.1.10
 
 DISTNAME=      davical-${DAVICAL_VERSION}
 PKGNAME=       ${PHP_PKG_PREFIX}-davical-${DAVICAL_VERSION}
 PKGREVISION=   1
 CATEGORIES=    www
-MASTER_SITES=  -https://gitlab.com/davical-project/davical/repository/archive.tar.gz?ref=${GITLAB_TAG}
+# Remove DIST_SUBDIR on next update!
+DIST_SUBDIR=   davical-${DAVICAL_VERSION}
+MASTER_SITES=  ${MASTER_SITE_GITLAB:=davical-project/}
+GITLAB_PROJECT=        davical
+GITLAB_TAG=    r${DAVICAL_VERSION}
+GITLAB_REV=    9da21ad116a2913bf788bd4b0b8c58c0de83d9da
 
 MAINTAINER=    jym%NetBSD.org@localhost
 HOMEPAGE=      https://www.davical.org/
 COMMENT=       Simple CalDAV server using a PostgreSQL backend
 LICENSE=       gnu-gpl-v2 AND gnu-gpl-v3
 
-DAVICAL_VERSION=       1.1.10
-GITLAB_TAG=            r${DAVICAL_VERSION}
-GITLAB_REV=            9da21ad116a2913bf788bd4b0b8c58c0de83d9da
+WRKSRC=                ${WRKDIR}/davical-${GITLAB_TAG}
 
 DAVICALDIR=    ${PREFIX}/share/davical
 EGDIR=         ${PREFIX}/share/examples/davical
@@ -104,7 +109,6 @@
 SUBST_MESSAGE.postgres=        Fixing PostgreSQL variables.
 
 pre-patch:
-       ${MV} ${WRKDIR}/davical-${GITLAB_TAG}-${GITLAB_REV} ${WRKSRC}
        ${CP} ${FILESDIR}/davical.conf ${WRKSRC}/davical.conf
 
 pre-install:



Home | Main Index | Thread Index | Old Index