svn commit: r551816 - in head/textproc/rarian: . files

Mateusz Piotrowski 0mp at FreeBSD.org
Fri Oct 9 20:16:37 UTC 2020


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 at 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


More information about the svn-ports-all mailing list