Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2020 20:16:36 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551816 - in head/textproc/rarian: . files
Message-ID:  <202010092016.099KGa6Q030205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Fri Oct  9 20:16:36 2020
New Revision: 551816
URL: https://svnweb.freebsd.org/changeset/ports/551816

Log:
  Switch MASTER_SITES to a repository, which contains FreeBSD patches
  
  I've created a repository, which incorporates our patches into the build
  system of Rarian so that we could use CONFIGURE_ARGS instead of patches and
  REINPLACE_CMD's.
  
  Also, while here, drop the patch replacing LINK with CXXLINK in the build
  system of the port. It's just not needed anymore.
  
  I'm leaving the patch modifying --version behavior as it is. It's probably
  a bad idea that we decided to modify upstream behavior in the first place
  but at this point it probably makes little sense to change the behavior
  after so many years.

Deleted:
  head/textproc/rarian/files/patch-docs_Makefile.in
  head/textproc/rarian/files/patch-librarian_rarian-main.c
  head/textproc/rarian/files/patch-util_Makefile.in
Modified:
  head/textproc/rarian/Makefile
  head/textproc/rarian/distinfo

Modified: head/textproc/rarian/Makefile
==============================================================================
--- head/textproc/rarian/Makefile	Fri Oct  9 20:10:19 2020	(r551815)
+++ head/textproc/rarian/Makefile	Fri Oct  9 20:16:36 2020	(r551816)
@@ -4,9 +4,8 @@
 
 PORTNAME=	rarian
 PORTVERSION=	0.8.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc gnome
-MASTER_SITES=	GNOME
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	OMF help system based on the Freedesktop specification
@@ -26,26 +25,21 @@ RUN_DEPENDS=	${LOCALBASE}/bin/getopt:misc/getopt \
 		docbook-xml>0:textproc/docbook-xml
 
 USES=		gmake gnome libtool localbase pathfix python tar:bzip2
+USE_GITHUB=	yes
+GH_ACCOUNT=	0mp
+GH_TAGNAME=	00fa779
 USE_GNOME=	libxslt
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var \
-		--with-convert-dir=${LOCALBASE}/share/omf
+		--with-convert-dir=${LOCALBASE}/share/omf \
+		--with-default-data-dirs="${LOCALBASE}/share:/usr/share" \
+		--with-default-infopath="${LOCALBASE}/info:${LOCALBASE}/share/info" \
+		--with-default-manpath="/usr/share/man:${LOCALBASE}/share/man:${LOCALBASE}/man" \
+		--with-gnu-getopt=${LOCALBASE}/bin/getopt \
+		--with-localstate-subdir=db/rarian \
+		--with-metadata-dir=${DOCSDIR}
 
 INSTALL_TARGET=	install-strip
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|/lib/rarian|/db/rarian|' \
-		${WRKSRC}/util/Makefile.in
-	@${REINPLACE_CMD} -e 's|@localstatedir@/lib/rarian|@localstatedir@/db/rarian|g ; \
-		s|getopt|${LOCALBASE}/bin/getopt|' \
-		${WRKSRC}/util/rarian-sk-config.in \
-		${WRKSRC}/util/rarian-sk-extract.in \
-		${WRKSRC}/util/rarian-sk-rebuild.in \
-		${WRKSRC}/util/rarian-sk-update.in
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
-		${WRKSRC}/librarian/rarian-main.c \
-		${WRKSRC}/librarian/rarian-man.c \
-		${WRKSRC}/librarian/rarian-info.c
 
 .include <bsd.port.mk>

Modified: head/textproc/rarian/distinfo
==============================================================================
--- head/textproc/rarian/distinfo	Fri Oct  9 20:10:19 2020	(r551815)
+++ head/textproc/rarian/distinfo	Fri Oct  9 20:16:36 2020	(r551816)
@@ -1,2 +1,3 @@
-SHA256 (rarian-0.8.1.tar.bz2) = aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577
-SIZE (rarian-0.8.1.tar.bz2) = 324441
+TIMESTAMP = 1602273811
+SHA256 (0mp-rarian-0.8.1-00fa779_GH0.tar.gz) = 533e4553815a0e6f87847cc312aabd459fe0d922a423f59e84242f74659fdb28
+SIZE (0mp-rarian-0.8.1-00fa779_GH0.tar.gz) = 506710



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010092016.099KGa6Q030205>