textproc/rarian: Download official release tarball

Download the official release tarball instead of using USE_GITLAB.

The release tarball eliminites the need for autoreconf.

Use DISTVERSION instead of PORTVERSION for consistency with Porters
Handbook.

Remove stray USES=gnome.

Reported by:	Daniel Engberg <daniel.engberg.lists_at_pyret.net>
This commit is contained in:
Don Lewis 2024-01-01 19:05:42 -08:00
parent f47e590a6d
commit 24e79b9a66
3 changed files with 17 additions and 8 deletions

View File

@ -1,7 +1,8 @@
PORTNAME= rarian
PORTVERSION= 0.8.5
DISTVERSION= 0.8.5
PORTREVISION= 6
CATEGORIES= textproc gnome
MASTER_SITES= https://gitlab.freedesktop.org/${PORTNAME}/${PORTNAME}/-/releases/${DISTVERSION}/downloads/assets/
MAINTAINER= truckman@FreeBSD.org
COMMENT= OMF help system based on the Freedesktop specification
@ -25,10 +26,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/getopt:misc/getopt \
docbook-xml>0:textproc/docbook-xml \
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
USES= autoreconf gmake gnome libtool localbase pathfix pkgconfig tar:bzip2
USE_GITLAB= yes
GL_SITE= https://gitlab.freedesktop.org
GL_TAGNAME= 0.8.5
USES= gmake libtool localbase pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1704136985
SHA256 (rarian-0.8.5.tar.bz2) = 93cf05e6bf51af169d0b32a2dc03f9a0f7895cae4e58b1a9b75777c040e9be0f
SIZE (rarian-0.8.5.tar.bz2) = 91098
TIMESTAMP = 1704155820
SHA256 (rarian-0.8.5.tar.bz2) = 8ead8a0e70cbf080176effa6f288de55747f649c9bae9809aa967a81c7e987ed
SIZE (rarian-0.8.5.tar.bz2) = 408968

View File

@ -0,0 +1,11 @@
--- util/Makefile.in.orig 2023-12-09 03:21:05 UTC
+++ util/Makefile.in
@@ -987,7 +987,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIP
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-rebuild scrollkeeper-rebuilddb
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-install scrollkeeper-uninstall
@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @cd $(DESTDIR)$(bindir); ln -s rarian-sk-update scrollkeeper-update
-@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @mkdir -p $(DESTDIR)/$(localstatedir)/lib/rarian
+@ENABLE_INSTALL_TRUE@@ENABLE_SK_COMPAT_TRUE@ @mkdir -p $(DESTDIR)/$(localstatedir)/db/rarian
@ENABLE_INSTALL_TRUE@@ENABLE_SKDB_UPDATE_TRUE@@ENABLE_SK_COMPAT_TRUE@ @echo "Translating current database"
@ENABLE_INSTALL_TRUE@@ENABLE_SKDB_UPDATE_TRUE@@ENABLE_SK_COMPAT_TRUE@ @$(DESTDIR)$(bindir)/rarian-sk-update