Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2019 09:16:32 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489449 - in head/textproc/bibutils: . files
Message-ID:  <201901060916.x069GW7b001028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Jan  6 09:16:32 2019
New Revision: 489449
URL: https://svnweb.freebsd.org/changeset/ports/489449

Log:
  textproc/bibutils: Update to 6.6
  
  PR:		230352
  Submitted by:	ndowens@yahoo.com (based on)

Added:
  head/textproc/bibutils/files/patch-test_intlist__test.c   (contents, props changed)
Modified:
  head/textproc/bibutils/Makefile
  head/textproc/bibutils/distinfo

Modified: head/textproc/bibutils/Makefile
==============================================================================
--- head/textproc/bibutils/Makefile	Sun Jan  6 09:12:26 2019	(r489448)
+++ head/textproc/bibutils/Makefile	Sun Jan  6 09:16:32 2019	(r489449)
@@ -1,29 +1,28 @@
 # $FreeBSD$
 
 PORTNAME=	bibutils
-PORTVERSION=	5.0
+PORTVERSION=	6.6
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/
-DISTNAME=	${PORTNAME}_${PORTVERSION}_src
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX=	_src.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program set interconverts between various bibliography formats
 
 LICENSE=	GPLv2
 
-USES=	gmake tar:tgz
+USES=		gmake
 
-WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}
-
 HAS_CONFIGURE=	yes
+TEST_TARGET=	test
 
-test: all
-	cd ${WRKSRC}/test && ${MAKE_CMD} all test
-
-BINARIES=	bib2xml biblatex2xml copac2xml ebi2xml end2xml endx2xml \
-		isi2xml med2xml modsclean ris2xml wordbib2xml xml2ads \
-		xml2bib xml2end xml2isi xml2ris xml2wordbib
-
+BINARIES=	bib2xml bibdiff biblatex2xml copac2xml ebi2xml end2xml endx2xml \
+		isi2xml med2xml modsclean nbib2xml ris2xml wordbib2xml xml2ads \
+		xml2bib xml2end xml2isi xml2nbib xml2ris xml2wordbib
 PLIST_FILES=	${BINARIES:S,^,bin/,}
+
+post-install:
+	cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} ${BINARIES}
 
 .include <bsd.port.mk>

Modified: head/textproc/bibutils/distinfo
==============================================================================
--- head/textproc/bibutils/distinfo	Sun Jan  6 09:12:26 2019	(r489448)
+++ head/textproc/bibutils/distinfo	Sun Jan  6 09:16:32 2019	(r489449)
@@ -1,2 +1,3 @@
-SHA256 (bibutils_5.0_src.tgz) = 0a3f1dfc8f3ee98c2f6507e68358678fe355c5a3b3d0157dcab5d4fa2e6c662b
-SIZE (bibutils_5.0_src.tgz) = 458532
+TIMESTAMP = 1533394345
+SHA256 (bibutils_6.6_src.tgz) = fa9ef12e6ecf756183a7ee0442552d58ceba973067342b6efbd4d967b5841cff
+SIZE (bibutils_6.6_src.tgz) = 579564

Added: head/textproc/bibutils/files/patch-test_intlist__test.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/bibutils/files/patch-test_intlist__test.c	Sun Jan  6 09:16:32 2019	(r489449)
@@ -0,0 +1,11 @@
+--- test/intlist_test.c.orig	2019-01-06 09:13:07 UTC
++++ test/intlist_test.c
+@@ -275,7 +275,7 @@ test_randomize( void )
+ 	check_len( &a, 100 );
+ 	for ( i=0; i<99; ++i ) {
+ 		m = intlist_find( &a, i );
+-		check( (m>=0&&m<99), "intlist_randomize() shouldn't remove values" );
++		check( (m>=0&&m<=99), "intlist_randomize() shouldn't remove values" );
+ 	}
+ 
+ 	intlist_free( &a );



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