Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 17:38:22 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r511257 - branches/2019Q3/converters/bibtexconv
Message-ID:  <201909051738.x85HcMZV025163@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Thu Sep  5 17:38:22 2019
New Revision: 511257
URL: https://svnweb.freebsd.org/changeset/ports/511257

Log:
  MFH: r511192
  
  converters/bibtexconv: Update to 1.1.17
  
  * Place PLIST_FILES/PORTEXAMPLES entries into pkg-plist to make maintaining
    somewhat easier if new examples are added/removed in the future. [1]
  
  * Let the ports framework take care for the shebang fixes while I'm here.
  
  Notable changes since 1.1.11:
  
  * Switched to CMake for build
  * Various bugfixes and improvements
  * Addition of further examples [1]
  
  PR:		239840
  Submitted by:	dreibh@iem.uni-due.de (maintainer)
  Approved by:	ports-secteam (joneum)

Added:
  branches/2019Q3/converters/bibtexconv/pkg-plist
     - copied unchanged from r511192, head/converters/bibtexconv/pkg-plist
Modified:
  branches/2019Q3/converters/bibtexconv/Makefile
  branches/2019Q3/converters/bibtexconv/distinfo
Directory Properties:
  branches/2019Q3/   (props changed)

Modified: branches/2019Q3/converters/bibtexconv/Makefile
==============================================================================
--- branches/2019Q3/converters/bibtexconv/Makefile	Thu Sep  5 17:26:20 2019	(r511256)
+++ branches/2019Q3/converters/bibtexconv/Makefile	Thu Sep  5 17:38:22 2019	(r511257)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bibtexconv
-PORTVERSION=	1.1.11
+PORTVERSION=	1.1.17
 CATEGORIES=	converters
 MASTER_SITES=	https://www.uni-due.de/~be0001/bibtexconv/download/
 
@@ -10,29 +10,20 @@ MAINTAINER=	dreibh@iem.uni-due.de
 COMMENT=	BibTeX Converter
 
 LICENSE=	GPLv3+
-LICENSE_FILE=	${WRKSRC}/COPYING.GPL
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
-GNU_CONFIGURE=	yes
-USES=		gmake ssl python:3.4+
+USES=		bison cmake ssl python:3.4+ shebangfix tar:xz
 
-PLIST_FILES=	bin/bibtexconv bin/bibtexconv-odt bin/ietf2bibtex \
-		man/man1/bibtexconv.1.gz man/man1/bibtexconv-odt.1.gz \
-		man/man1/ietf2bibtex.1.gz
+SHEBANG_FILES=	src/ietf2bibtex
 
-PORTEXAMPLES=	ExampleReferences.bib ODT-Template.odt odt-example.export \
-		web-example.export text-example.export
+CMAKE_ARGS=	-DCMAKE_INSTALL_DOCDIR=${EXAMPLESDIR} -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man
 
 OPTIONS_DEFINE=	EXAMPLES
 
-pre-configure:
-	@${REINPLACE_CMD} -e 's|install-data-am: install-dist_examplesDATA|install-data-am:|' \
-	${WRKSRC}/src/Makefile.in
-	@${REINPLACE_CMD} -e 's|/usr/bin/python3|${PYTHON_CMD}|' ${WRKSRC}/src/ietf2bibtex
-
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/src/,} ${STAGEDIR}${EXAMPLESDIR}
+# Remove trailing subdir from CMAKE_INSTALL_DOCDIR
+post-patch:
+	@${REINPLACE_CMD} -e 's|/examples||' ${WRKSRC}/src/CMakeLists.txt ${WRKSRC}/src/Images/CMakeLists.txt
 
 .include <bsd.port.mk>

Modified: branches/2019Q3/converters/bibtexconv/distinfo
==============================================================================
--- branches/2019Q3/converters/bibtexconv/distinfo	Thu Sep  5 17:26:20 2019	(r511256)
+++ branches/2019Q3/converters/bibtexconv/distinfo	Thu Sep  5 17:38:22 2019	(r511257)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509634898
-SHA256 (bibtexconv-1.1.11.tar.gz) = 1240c3011718d9ba95c165dbf908eab871153530b70bca0ef74dc2b9664e83f1
-SIZE (bibtexconv-1.1.11.tar.gz) = 344966
+TIMESTAMP = 1566570616
+SHA256 (bibtexconv-1.1.17.tar.xz) = d48961aa40134b7497012edfae87d75d9139f29acb7d2f06552d384e8b730921
+SIZE (bibtexconv-1.1.17.tar.xz) = 175096

Copied: branches/2019Q3/converters/bibtexconv/pkg-plist (from r511192, head/converters/bibtexconv/pkg-plist)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q3/converters/bibtexconv/pkg-plist	Thu Sep  5 17:38:22 2019	(r511257, copy of r511192, head/converters/bibtexconv/pkg-plist)
@@ -0,0 +1,21 @@
+bin/bibtexconv
+bin/bibtexconv-odt
+bin/ietf2bibtex
+man/man1/bibtexconv-odt.1.gz
+man/man1/bibtexconv.1.gz
+man/man1/ietf2bibtex.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/authors-fix.list
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/authors.list
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleReferences.bib
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get-author-url
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Collapsed.dia
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Collapsed.svg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Expanded.dia
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/ListItem-Expanded.svg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Images/make-images
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/odt-example.export
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ODT-Template.odt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/publication-list-treeview.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/text-example.export
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/web-example.export
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaml-example.export



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